Interface Unsafe
Deprecated, for removal: This API element is subject to removal in a future version.
The Floodgate API has been deprecated in favor of the GeyserApi, which is shared between Geyser
and Floodgate
-
Method Summary
Modifier and TypeMethodDescriptionvoidsendPacket(UUID bedrockPlayer, int packetId, byte[] packetData) Deprecated, for removal: This API element is subject to removal in a future version.Send a raw Bedrock packet to the given online Bedrock player.default voidsendPacket(FloodgatePlayer player, int packetId, byte[] packetData) Deprecated, for removal: This API element is subject to removal in a future version.Send a raw Bedrock packet to the given online Bedrock player.
-
Method Details
-
sendPacket
Deprecated, for removal: This API element is subject to removal in a future version.Send a raw Bedrock packet to the given online Bedrock player.- Parameters:
bedrockPlayer- the uuid of the online Bedrock playerpacketId- the id of the packet to sendpacketData- the raw packet data
-
sendPacket
Deprecated, for removal: This API element is subject to removal in a future version.Send a raw Bedrock packet to the given online Bedrock player.- Parameters:
player- the Bedrock player to send the packet topacketId- the id of the packet to sendpacketData- the raw packet data
-