public interface Spectator
Modifier and Type | Method and Description |
---|---|
Arena |
getArena()
The
Arena this spectator is spectating. |
org.bukkit.entity.Player |
getPlayer()
The
Player instance of this spectator. |
org.bukkit.entity.Player |
getTarget()
The
Player instance of the player this spectator is spectating. |
java.util.UUID |
getTargetUuid()
The
UUID of the player this spectator is spectating. |
java.util.UUID |
getUuid()
The
UUID of this spectator. |
@NotNull java.util.UUID getUuid()
UUID
of this spectator.UUID
of this spectator.@Nullable org.bukkit.entity.Player getPlayer()
Player
instance of this spectator.Player
instance of this spectator or null if player is not online.@NotNull java.util.UUID getTargetUuid()
UUID
of the player this spectator is spectating.UUID
of the player this spectator is spectating.@Nullable org.bukkit.entity.Player getTarget()
Player
instance of the player this spectator is spectating.Player
instance of player this spectator is spectating or null if player is not online.