send
static void send(ServerPlayerEntity player, Identifier channelName, PacketByteBuf buf)
Content copied to clipboard
Sends a packet to a player.
Parameters
player
the player to send the packet to
channelName
the channel of the packet
buf
the payload of the packet.
Sources
jvm source
Link copied to clipboard