Skip to content

Added support for Minecraft 1.21.8#3523

Merged
dmulloy2 merged 4 commits intodmulloy2:masterfrom
Leviaria:master
Jul 28, 2025
Merged

Added support for Minecraft 1.21.8#3523
dmulloy2 merged 4 commits intodmulloy2:masterfrom
Leviaria:master

Conversation

@Leviaria
Copy link
Copy Markdown
Contributor

Summary

This PR updates ProtocolLib to support Minecraft 1.21.8 compatibility. The changes address the runtime error where ProtocolLib fails to load due to missing class mappings for newer Minecraft versions.

Changes Made

Version Updates

  • Updated build system to target Minecraft 1.21.7 (md_5: 1.21.8 is released. This is a client only release and the server is identical to 1.21.7 (other than version number).
  • Updated MAXIMUM_MINECRAFT_VERSION from "1.21.5" to "1.21.8" in ProtocolLibrary.java
  • Updated MINECRAFT_LAST_RELEASE_DATE to reflect the latest release

Protocol Version Mappings

  • Added protocol version mapping for Minecraft 1.21.6 → Protocol 771
  • Added protocol version mapping for Minecraft 1.21.8 → Protocol 772

Class Mapping Fixes

  • Updated ProtocolInfoWrapper.java to handle class structure changes in newer Minecraft versions
  • Added fallback class names for SimpleUnboundProtocol and UnboundProtocol classes
  • Improved compatibility with both Spigot and Mojang mappings

@KaiQ-1
Copy link
Copy Markdown

KaiQ-1 commented Jul 28, 2025

great. Now how do I download the compiled version of this in .jar to put on my server?

@dmulloy2 dmulloy2 merged commit e56bcf6 into dmulloy2:master Jul 28, 2025
3 checks passed
@dmulloy2
Copy link
Copy Markdown
Owner

thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants