create Packet
abstract Packet<? extends Object> createPacket(Identifier channelName, PacketByteBuf buf)
Content copied to clipboard
Makes a packet for a channel.
Parameters
channelName
the id of the channel
buf
the content of the packet
Sources
jvm source
Link copied to clipboard