Interface Unsafe


@Deprecated(forRemoval=true, since="3.0.0") public 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 Type
    Method
    Description
    void
    sendPacket(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 void
    sendPacket(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

      void sendPacket(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.
      Parameters:
      bedrockPlayer - the uuid of the online Bedrock player
      packetId - the id of the packet to send
      packetData - the raw packet data
    • sendPacket

      default void sendPacket(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.
      Parameters:
      player - the Bedrock player to send the packet to
      packetId - the id of the packet to send
      packetData - the raw packet data