PacketConsumer

public interface PacketConsumer

Interface for receiving CustomPayload-based packets.

Deprecated

See the corresponding play packet handler in ClientPlayNetworking or ServerPlayNetworking

Functions

accept
Link copied to clipboard
abstract void accept(PacketContext context, PacketByteBuf buffer)
Receive a CustomPayload-based packet.

Sources

jvm source
Link copied to clipboard