send

static void send(ServerPlayerEntity player, Identifier channelName, PacketByteBuf buf)

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