Releases: GeyserMC/MCProtocolLib
Releases · GeyserMC/MCProtocolLib
1.18-2
1.17.1-2
- Update adventure and add legacy hover event serializer to default serializer
- Update to latest MCAuthLib commit
- Fix two incorrect (swapped) packet IDs for ClientCraftingBookStatePacket & ClientDisplayedRecipePacket (#656)
- Remove unused ServerSetCompressionPacket (#657)
- Throw specific error when encryption could not be initialized
- Use Mojang mapped name for UnexpectedEncryptionException
- Update to Adventure 4.9.3
- Project formatting style changes (#663)
- Use identifiers for all Effect classes; don't use MagicValues
- Updated Lombok to fix broken compilation when using Java 16 (#665)
- Added missing Generic Statistics (#668)
1.18-1
- Added support for 1.18
- Massive refactor to packet names (note: any project currently using this library will need to update to these names; see this page for information on what to do to move over)
- Optimized packet construction to no longer use reflection
- Optimized protocol state switching (e.g. HANDSHAKE -> GAME) to pull from a static codec for packets, rather than re-initializing & registering the protocol every time, for every session)
- Modified all packet fields to be final
- Packets now take in a
NetInput
field in their constructor - Entity metadata now has more specific data types
This update includes a large refactor of most every packet; please see this page more info on what has changed.
1.17.1-1
1.16.5-2
1.16.5-1
- Revamp MinecraftProtocol constructors.
- Status ping mode is now a no-args constructor.
- Offline mode login is still a single-arg constructor requiring a username.
- Online mode login is now a two-arg constructor that takes a GameProfile and an access token.
- Old constructors have been deprecated and will be removed in a future release.
- Replace Message API with Adventure text components.
- Add Lombok With annotation to packet classes to allow creating modified copies of packets.
- Fix ClientCraftingBookStatePacket and ClientDisplayedRecipePacket packet IDs being swapped.
- Fix incorrectly mapped piston directional values.
- Fix reading/writing ServerWorldBorderPacket.
- Update version string to 1.16.5 (still protocol-compatible with 1.16.4).
- Update to PacketLib 1.8.