Name | spectator_target |
Object | PlayerTag |
Input | EntityTag |
Related Tags | <PlayerTag.spectator_target> Returns the entity that a spectator-mode player is currently spectating, if any.
|
Description | Switches the player to spectator mode and causes them to immediately start spectating an entity.
To instead fake this effect, use PlayerTag.spectate Give no input to detach the player from any target. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3666 |