register
Register a packet.
Parameters
id
The packet Identifier.
consumer
The method used for handling the packet.
Sources
jvm source
Link copied to clipboard
Register a packet.
The packet Identifier.
The method used for handling the packet.