Package-level declarations
Types
The packet channel handler that is responsible for firing packet events and intercepting packets. Use injectIncoming or injectOutgoing to inject packets into the netty pipeline starting at this handler.
Properties
The Player that sent the packet that is currently being handled, or null if no packet is being handled at the moment or if there is no player associated with it.
Whether the current thread is currently encoding packet data.
Gets the PacketHandler for this player, or null if no handler is bound to the player. The handler can be assumed to be non-null after the player has finished joining the server.
Functions
Installs the packet handler in the default channel pipeline. This sets up the packet event system and must be called on plugin enable, before any players have joined the server. (Nova addons do not need to call this)
Creates a new empty RegistryFriendlyByteBuf using the default RegistryAccess.