channel
Retrieves the network channel handler for a specific player.
PlayerChannelHandler handler = pipeline.channel(player.uuid());
if (handler != null) {
bundler.send(handler);
}
Content copied to clipboard
Return
the channel handler, or null if the player is not spawned
Since
1.15.2
Parameters
uuid
the UUID of the player
Throws
if uuid is null