Class ExprBed

All Implemented Interfaces:
Converter<org.bukkit.entity.Player,​org.bukkit.Location>, Debuggable, Expression<org.bukkit.Location>, SyntaxElement

@Name("Bed") @Description("The bed location of a player, i.e. the spawn point of a player if he ever slept in a bed and the bed still exists and is unobstructed.") @Examples({"if bed of player exists:","\tteleport player the the player\'s bed","else:","\tteleport the player to the world\'s spawn point"}) @Since("2.0") public class ExprBed extends SimplePropertyExpression<org.bukkit.entity.Player,​org.bukkit.Location>