Creating a packet Module - AtomIsHere/Modules GitHub Wiki

To create a packet module you have to create a package called modules in the root of your project (The "java" folder), create a class inside the package called ModuleClass, make it extend "PacketModule"

Once you've done that implement the methods, and make getClientPacket and getServerPacket return the packet you want to listen for and in onPacketSend and onPacketRecieve add the code for handling the packet