Class WrapperPlayClientSpectate

java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.serverbound.WrapperPlayClientSpectate

public class WrapperPlayClientSpectate extends AbstractPacket
Send by the client to the server if the player (in spectator mode) wants to teleport to a target player
  • Field Details

    • TYPE

      public static final com.comphenix.protocol.PacketType TYPE
  • Constructor Details

    • WrapperPlayClientSpectate

      public WrapperPlayClientSpectate()
    • WrapperPlayClientSpectate

      public WrapperPlayClientSpectate(com.comphenix.protocol.events.PacketContainer packet)
  • Method Details

    • getUuid

      public UUID getUuid()
      Retrieves the uuid of the target player
      Returns:
      'uuid' of target players
    • setUuid

      public void setUuid(UUID value)
      Sets the uuid of the target player
      Parameters:
      value - uuid of target player