Class CondGraveHasAvailableSlot
java.lang.Object
ch.njol.skript.lang.TriggerItem
ch.njol.skript.lang.Statement
ch.njol.skript.lang.Condition
dev.cwhead.GravesX.event.integration.skript.conditions.CondGraveHasAvailableSlot
- All Implemented Interfaces:
ch.njol.skript.lang.Debuggable, ch.njol.skript.lang.simplification.Simplifiable<ch.njol.skript.lang.Condition>, ch.njol.skript.lang.SyntaxElement, org.skriptlang.skript.lang.condition.Conditional<org.bukkit.event.Event>, org.skriptlang.skript.log.runtime.RuntimeErrorProducer, org.skriptlang.skript.log.runtime.SyntaxRuntimeErrorProducer
@Name("GravesX Grave Has Available Slot")
@Description("Checks whether a grave has an empty inventory slot through the GravesX grave management API.")
@Examples({"if grave {_grave} has an available slot:","\tadd player's tool to next available slot of grave {_grave}"})
public class CondGraveHasAvailableSlot
extends ch.njol.skript.lang.Condition
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.njol.skript.lang.Condition
ch.njol.skript.lang.Condition.ConditionTypeNested classes/interfaces inherited from interface org.skriptlang.skript.lang.condition.Conditional
org.skriptlang.skript.lang.condition.Conditional.Operator -
Field Summary
Fields inherited from class ch.njol.skript.lang.TriggerItem
parent -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancheck(org.bukkit.event.Event event) booleaninit(ch.njol.skript.lang.Expression<?>[] expressions, int matchedPattern, ch.njol.util.Kleenean isDelayed, ch.njol.skript.lang.SkriptParser.ParseResult parseResult) toString(@Nullable org.bukkit.event.Event event, boolean debug) Methods inherited from class ch.njol.skript.lang.Condition
evaluate, getNode, getSyntaxTypeName, isNegated, parse, preInit, run, setNegated, simplifyMethods inherited from class ch.njol.skript.lang.Statement
parse, parseMethods inherited from class ch.njol.skript.lang.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 org.skriptlang.skript.lang.condition.Conditional
evaluate, evaluateAnd, evaluateAnd, evaluateAnd, evaluateAnd, evaluateNot, evaluateNot, evaluateOr, evaluateOr, evaluateOr, evaluateOrMethods inherited from interface ch.njol.skript.lang.Debuggable
toStringMethods inherited from interface org.skriptlang.skript.log.runtime.RuntimeErrorProducer
error, error, getRuntimeErrorManager, warning, warningMethods inherited from interface ch.njol.skript.lang.SyntaxElement
getParserMethods inherited from interface org.skriptlang.skript.log.runtime.SyntaxRuntimeErrorProducer
getErrorSource
-
Constructor Details
-
CondGraveHasAvailableSlot
public CondGraveHasAvailableSlot()
-
-
Method Details
-
init
public boolean init(ch.njol.skript.lang.Expression<?>[] expressions, int matchedPattern, ch.njol.util.Kleenean isDelayed, ch.njol.skript.lang.SkriptParser.ParseResult parseResult) -
check
public boolean check(org.bukkit.event.Event event) - Specified by:
checkin classch.njol.skript.lang.Condition
-
toString
-