Interface Unsafe


public interface Unsafe
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    sendPacket(UUID bedrockPlayer, int packetId, byte[] packetData)
    Send a raw Bedrock packet to the given online Bedrock player.
    default void
    sendPacket(FloodgatePlayer player, int packetId, byte[] packetData)
    Send a raw Bedrock packet to the given online Bedrock player.
  • Method Details

    • sendPacket

      void sendPacket(UUID bedrockPlayer, int packetId, byte[] packetData)
      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)
      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