Package ch.njol.skript.conditions
Class CondIsPassable
java.lang.Object
ch.njol.skript.lang.TriggerItem
ch.njol.skript.lang.Statement
ch.njol.skript.lang.Condition
ch.njol.skript.conditions.base.PropertyCondition<org.bukkit.block.Block>
ch.njol.skript.conditions.CondIsPassable
- All Implemented Interfaces:
Debuggable,SyntaxElement,Checker<org.bukkit.block.Block>
@Name("Is Passable")
@Description({"Checks whether a block is passable.","A block is passable if it has no colliding parts that would prevent players from moving through it.","Blocks like tall grass, flowers, signs, etc. are passable, but open doors, fence gates, trap doors, etc. are not because they still have parts that can be collided with."})
@Examples("if player\'s targeted block is passable")
@Since("2.5.1")
@RequiredPlugins("Minecraft 1.13.2+")
public class CondIsPassable
extends PropertyCondition<org.bukkit.block.Block>
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.njol.skript.conditions.base.PropertyCondition
PropertyCondition.PropertyType -
Field Summary
Fields inherited from class ch.njol.skript.lang.TriggerItem
parent -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ch.njol.skript.conditions.base.PropertyCondition
check, getPropertyType, init, register, register, setExpr, toString, toStringMethods inherited from class ch.njol.skript.lang.Condition
isNegated, parse, run, setNegatedMethods inherited from class ch.njol.skript.lang.TriggerItem
debug, getIndentation, getNext, getParent, getTrigger, setNext, setParent, toString, walk, walkMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ch.njol.skript.lang.SyntaxElement
getParser
-
Constructor Details
-
CondIsPassable
public CondIsPassable()
-
-
Method Details
-
check
public boolean check(org.bukkit.block.Block block)- Specified by:
checkin interfaceChecker<org.bukkit.block.Block>- Specified by:
checkin classPropertyCondition<org.bukkit.block.Block>
-
getPropertyName
- Specified by:
getPropertyNamein classPropertyCondition<org.bukkit.block.Block>
-