PacketWrapper
This is an unofficial continuation of PacketWrapper by dmulloy2 and aadnk. The original versions can be found here and here.
When reading and writing packets in ProtocolLib, it is necessary to know the order in which the fields are stored in memory. This requires you to decompile the Minecraft source code with JD-GUI or find it in the Spigot work directory (/work/decompile/), while decoding the meaning of a field by looking up an online wiki resource ( tutorial). It would be much easier if these packets could be accessed as any other normal Java bean.
Enter PacketWrapper. It contains wrapper classes for all known packets in 1.20, providing you with access to the fields by name, along with automatic conversion to existing Bukkit enumerations and classes. It also includes a number of custom enumerations when appropriate.
Dependencies
PacketWrapper currently requires a version of ProtocolLib that is compatible with Minecraft 1.20. So far, no official build is available but you download an unofficial version of ProtocolLib for Minecraft 1.20 here:
https://github.com/lukalt/ProtocolLib/suites/13447849844/artifacts/737446545
Resources
How to use?
Please refer to the documentation on information on how to use PacketWrapper for your project.
Building
You can compile this project yourself by using the latest version of Maven using mvn clean install.
Other versions
You can download PacketWrapper for 1.19.4 here.
Remarks
This project was mostly generated by a script.
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta