AbstractPacketDefinition

Abstraction of server-to-client and client-to-server packets. See ServerToClientPacketDefinition and ClientToServerPacketDefinition. Additionally, this class is partially the basis of ClientToClientPacketDefinition.

Inheritors

Properties

Link copied to clipboard
val binaryFormat: BinaryFormat
Link copied to clipboard
val id: ResourceLocation
Link copied to clipboard
val streamCodec: StreamCodec<FriendlyByteBuf, SilkPacketPayload>
Link copied to clipboard
val type: CustomPacketPayload.Type<SilkPacketPayload>