Skip to content

Releases: GeyserMC/MCProtocolLib

1.18-2

22 Dec 02:48
Compare
Choose a tag to compare
  • Various protocol fixes and regression fixing
  • Server implementations with encryption now work as expected

1.17.1-2

30 Nov 03:31
52082ea
Compare
Choose a tag to compare
  • 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

30 Nov 03:55
Compare
Choose a tag to compare
  • 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

23 Aug 01:18
Compare
Choose a tag to compare
  • Update to MCAuthLib 1.4. Fixes a username-based server-side authentication vulnerability. Thanks to @Ry0taK for reporting.

If you use MCProtocolLib as a server, please update. If you use it as a client, you are not affected.

1.16.5-2

13 May 07:24
Compare
Choose a tag to compare
  • Update to PacketLib 2.0.
    • See PacketLib release notes for important changes.
  • Removed deprecated MinecraftProtocol constructors.

1.16.5-1

21 Apr 01:35
Compare
Choose a tag to compare
  • 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.