-
Notifications
You must be signed in to change notification settings - Fork 83
API breakages
UnknownShadow200 edited this page Feb 26, 2022
·
22 revisions
Although I try to minimise API breakages, complete API stability is not guaranteed.
Listed here are the known API breakages with each MCGalaxy release:
- Removed
p.SendMessage()
,Player.SendMessage()
,Player.Message()
methods fromMCGalaxy.Player
class (just usep.Message()
) -
MCGalaxy.Events.ModAction.TargetName
property removed
-
MCGalaxy.Player.Extensions
field is no longer public -
MCGalaxy.Player.ValidName
method removed -
MCGalaxy.Formatter.CheckFilenameOnly
method renamed toValidFilename
-
MCGalaxy.Command.all.Add/Remove/FindByName
methods removed (obsolete) -
MCGalaxy.Player.leftGame
method removed (obsolete)
-
MCGalaxy.Block.CpeCount
renamed toCPE_COUNT
(binary compatibility unaffected) -
MCGalaxy.Network.Heartbeat
class redesigned -
MCGalaxy.Block.ConvertCPE
method removed -
MCGalaxy.Server.CalcMppass
method now requires additionalsalt
parameter -
MCGalaxy.Scripting.IScripting.LoadCommands
method redesigned -
MCGalaxy.Scripting.ICompiler
class redesigned -
MCGalaxy.Player.SendPos(ushort,ushort,ushort)
method removed
-
MCGalaxy.Network.IPUtil.IsLocal
method removed -
MCGalaxy.Eco.Awards
class moved toMCGalaxy.Modules.Awards.AwardsList
andMCGalaxy.Modules.Awards.PlayerAwards
-
MCGalaxy.Generator.Foliage.TreeOutput
delegate hadblock
parameter changed frombyte
toushort
-
MCGalaxy.Config.JsonSerialisers
class removed (obsolete) -
MCGalaxy.Maths.Vec3F32.Normalise
method now returns a zero instead of NaN vector when given a zero vector
- Plugins now load after main level has been loaded
-
MCGalaxy.Games.RoundsGame
class now handles callingPicker.HandlesMessage
-
LevelInfo.GetConfig(map, out lvl)
method replaced withLevelInfo.GetConfig(map)
-
MCGalaxy.FileIO
class renamed toMCGalaxy.AtomicIO
-
MCGalaxy.Scripting.ICompiler
removedLanguageName
property, replaced withShortName
andFullName