create S2 C Packet
static Packet<? extends Object> createS2CPacket(Identifier channelName, PacketByteBuf buf)
Content copied to clipboard
Creates a packet which may be sent to a the connected client.
Return
a new packet
Parameters
channelName
the channel name
buf
the packet byte buf which represents the payload of the packet
Sources
jvm source
Link copied to clipboard