Class ExprSpectatorTarget

java.lang.Object
ch.njol.skript.lang.util.SimpleExpression<T>
ch.njol.skript.expressions.base.PropertyExpression<F,​T>
ch.njol.skript.expressions.base.SimplePropertyExpression<org.bukkit.entity.Player,​org.bukkit.entity.Entity>
ch.njol.skript.expressions.ExprSpectatorTarget
All Implemented Interfaces:
Converter<org.bukkit.entity.Player,​org.bukkit.entity.Entity>, Debuggable, Expression<org.bukkit.entity.Entity>, SyntaxElement

@Name("Spectator Target") @Description("Returns the entity which is followed by the camera of the player when in spectator mode.") @Examples({"command /spectate <player>:","\texecutable by: players","\ttrigger:","\t\tset gamemode of player to spectator # otherwise below won\'t do anything","\t\tset spectator target of player to arg-1","\t\tsend \"Spectating %arg-1%\" to player"}) @Since("2.4") public class ExprSpectatorTarget extends SimplePropertyExpression<org.bukkit.entity.Player,​org.bukkit.entity.Entity>