getSendable

static Set<IdentifiergetSendable(ServerPlayerEntity player)

Gets all channel names that the connected client declared the ability to receive a packets on.

Return

All the channel names the connected client declared the ability to receive a packets on

Parameters

player

the player

static Set<IdentifiergetSendable(ServerPlayNetworkHandler handler)

Gets all channel names that a the connected client declared the ability to receive a packets on.

Return

True if the connected client has declared the ability to receive a packet on the specified channel

Parameters

handler

the network handler