Class ClientPacketsHandler

java.lang.Object
net.minestom.server.network.packet.client.ClientPacketsHandler
Direct Known Subclasses:
ClientPacketsHandler.Configuration, ClientPacketsHandler.Login, ClientPacketsHandler.Play, ClientPacketsHandler.Status

Contains registered packets and a way to instantiate them.

Packets are registered using register(int, Function) and created using create(int, NetworkBuffer).