Packet wrapper classes for ProtocolLib
Java
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
PacketWrapper Fixed a typo discovered by CrystalxNeth. :) Jul 23, 2014
License.txt Initial commit. Jan 14, 2013
Readme.md Update readme file for 1.6.1 Sep 2, 2013

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.