Skip to content

Instantly share code, notes, and snippets.

@TheMode
Last active July 7, 2024 19:20
Show Gist options
  • Save TheMode/0ceedeefbb5d907ed4350fbca49d4d14 to your computer and use it in GitHub Desktop.
Save TheMode/0ceedeefbb5d907ed4350fbca49d4d14 to your computer and use it in GitHub Desktop.
Minestom lib/scratch update

Breaking changes

  • Entity.Pose becomes EntityPose
  • Player.Hand becomes PlayerHand
  • PacketUtils has been broken down into PacketViewableUtils and PacketSendingUtils (grouped packets)
  • Range has been reworked with all the number impl as subclasses (used for the command range argument)
  • RelativeVec has been made record, and package moved to coordinate
  • ChunkUtils has been broken down into CoordConversionUtils and ChunkRangeUtils
  • BinaryReader/Writer have been deleted, unused in the repo but NetworkBuffer is a proper replacement for the few who depended on them

New utils

  • EntityStatuses listing... entity statuses. As listed there: https://wiki.vg/Entity_statuses
  • MetadataDef listing metadata access points. Differentiate itself from the current metadata API as it does not handle storage.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment