Class ClientPacketsHandler

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

public sealed class ClientPacketsHandler extends Object permits ClientPacketsHandler.Status, ClientPacketsHandler.Login, ClientPacketsHandler.Play
Contains registered packets and a way to instantiate them.

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