public interface Unsafe
| Modifier and Type | Method and Description |
|---|---|
default void |
sendPacket(FloodgatePlayer player,
int packetId,
byte[] packetData)
Send a raw Bedrock packet to the given online Bedrock player.
|
void |
sendPacket(UUID bedrockPlayer,
int packetId,
byte[] packetData)
Send a raw Bedrock packet to the given online Bedrock player.
|
void sendPacket(UUID bedrockPlayer, int packetId, byte[] packetData)
bedrockPlayer - the uuid of the online Bedrock playerpacketId - the id of the packet to sendpacketData - the raw packet datadefault void sendPacket(FloodgatePlayer player, int packetId, byte[] packetData)
player - the Bedrock player to send the packet topacketId - the id of the packet to sendpacketData - the raw packet data