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<PropertyHandler.ConditionPropertyHandler<?>>
org.skriptlang.skript.common.properties.conditions.PropCondIsEmpty
- All Implemented Interfaces:
Debuggable
,Simplifiable<Condition>
,SyntaxElement
,Conditional<org.bukkit.event.Event>
,PropertyBaseSyntax<PropertyHandler.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<PropertyHandler.ConditionPropertyHandler<?>>
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.njol.skript.lang.Condition
Condition.ConditionType
Nested classes/interfaces inherited from interface org.skriptlang.skript.lang.condition.Conditional
Conditional.Operator
-
Field Summary
Fields inherited from class org.skriptlang.skript.lang.properties.PropertyBaseCondition
propertyHolder
Fields inherited from class ch.njol.skript.lang.TriggerItem
parent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull Property
<PropertyHandler.ConditionPropertyHandler<?>> Gets the property this expression represents.Methods inherited from class org.skriptlang.skript.lang.properties.PropertyBaseCondition
check, getPropertyType, init, register, register, toString
Methods inherited from class ch.njol.skript.lang.Condition
evaluate, getNode, getSyntaxTypeName, isNegated, parse, preInit, run, setNegated, simplify
Methods inherited from class ch.njol.skript.lang.TriggerItem
debug, executionIntent, getActualNext, getIndentation, getNext, getParent, getTrigger, setNext, setParent, toString, walk, walk
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.skriptlang.skript.lang.condition.Conditional
evaluate, evaluateAnd, evaluateAnd, evaluateAnd, evaluateAnd, evaluateNot, evaluateNot, evaluateOr, evaluateOr, evaluateOr, evaluateOr
Methods inherited from interface ch.njol.skript.lang.Debuggable
toString
Methods inherited from interface org.skriptlang.skript.lang.properties.PropertyBaseSyntax
getBadTypesErrorMessage, getPropertyName
Methods inherited from interface org.skriptlang.skript.log.runtime.RuntimeErrorProducer
error, error, getRuntimeErrorManager, warning, warning
Methods inherited from interface ch.njol.skript.lang.SyntaxElement
getParser
Methods inherited from interface org.skriptlang.skript.log.runtime.SyntaxRuntimeErrorProducer
getErrorSource
-
Constructor Details
-
PropCondIsEmpty
public PropCondIsEmpty()
-
-
Method Details
-
getProperty
Description copied from interface:PropertyBaseSyntax
Gets 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.
-