Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Packet wrapper classes for ProtocolLib
Java
branch: master
Failed to load latest commit information.
PacketWrapper Fixed a typo discovered by CrystalxNeth. :)
License.txt Initial commit.
Readme.md Update readme file for 1.6.1

Readme.md

PacketWrapper

When reading and writing packets in ProtocolLib, it is necessary to know the order at which the fields are stored in memory. This requires you to decompile the Minecraft source code with JD Gui, 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.6.1, 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.

You can use PacketWrapper as a dependency if you wish, though the intent is for plugin authors to simply copy-and-paste the classes they need into their project.

Building

You can compile this project yourself by using the latest version of Maven.

Remarks

This project was partly auto-generated by a script.

Something went wrong with that request. Please try again.