Protocol

class Protocol[ServerBoundPackets <: Tuple, ClientBoundPackets <: Tuple](val serverBound: PacketIdBindings[ServerBoundPackets], val clientBound: PacketIdBindings[ClientBoundPackets])

The protocol, between the "client" and "server" of Minecraft, that decides what packet ID is associated to what datatype. This object also describes the way to serialize and deserialize each associated datatype. For more details, see PacketIdBindings.

class Object
trait Matchable
class Any

Value members

Concrete fields

val clientBound: PacketIdBindings[ClientBoundPackets]
val serverBound: PacketIdBindings[ServerBoundPackets]