Class PropCondIsEmpty
java.lang.Object
ch.njol.skript.lang.TriggerItem
ch.njol.skript.lang.Statement
ch.njol.skript.lang.Condition
org.skriptlang.skript.lang.properties.PropertyBaseCondition<ConditionPropertyHandler<?>>
org.skriptlang.skript.common.properties.elements.conditions.PropCondIsEmpty
- All Implemented Interfaces:
Debuggable, Simplifiable<Condition>, SyntaxElement, Conditional<org.bukkit.event.Event>, PropertyBaseSyntax<ConditionPropertyHandler<?>>, RuntimeErrorProducer, SyntaxRuntimeErrorProducer
@Name("Is Empty")
@Description("Checks whether something is empty.")
@Example("player's inventory is empty")
@Since("unknown (before 2.1)")
@RelatedProperty("empty")
public class PropCondIsEmpty
extends PropertyBaseCondition<ConditionPropertyHandler<?>>
-
Nested Class Summary
Nested classes/interfaces inherited from class Condition
Condition.ConditionTypeNested classes/interfaces inherited from interface Conditional
Conditional.Operator -
Field Summary
Fields inherited from class PropertyBaseCondition
propertyHolderFields inherited from class TriggerItem
parent -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull Property<ConditionPropertyHandler<?>> Gets the property this expression represents.static voidregister(SyntaxRegistry registry) Methods inherited from class PropertyBaseCondition
check, getPropertyType, init, toStringMethods inherited from class Condition
evaluate, getNode, getSyntaxTypeName, isNegated, parse, preInit, run, setNegated, simplifyMethods inherited from class TriggerItem
debug, executionIntent, getActualNext, getIndentation, getNext, getParent, getTrigger, setNext, setParent, toString, walk, walkMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Conditional
evaluate, evaluateAnd, evaluateAnd, evaluateAnd, evaluateAnd, evaluateNot, evaluateNot, evaluateOr, evaluateOr, evaluateOr, evaluateOrMethods inherited from interface Debuggable
toStringMethods inherited from interface PropertyBaseSyntax
getBadTypesErrorMessage, getPropertyNameMethods inherited from interface RuntimeErrorProducer
error, error, getRuntimeErrorManager, warning, warningMethods inherited from interface SyntaxElement
getParserMethods inherited from interface SyntaxRuntimeErrorProducer
getErrorSource
-
Constructor Details
-
PropCondIsEmpty
public PropCondIsEmpty()
-
-
Method Details
-
register
-
getProperty
Description copied from interface:PropertyBaseSyntaxGets the property this expression represents. This is used to find the appropriate handlers for the expression's input types.- Returns:
- The property this expression represents.
-