Class ExprGraveUUIDs
java.lang.Object
ch.njol.skript.lang.util.SimpleExpression<String>
dev.cwhead.GravesX.event.integration.skript.expressions.ExprGraveUUIDs
- All Implemented Interfaces:
ch.njol.skript.lang.Debuggable, ch.njol.skript.lang.Expression<String>, ch.njol.skript.lang.Loopable<String>, ch.njol.skript.lang.simplification.Simplifiable<ch.njol.skript.lang.Expression<? extends String>>, ch.njol.skript.lang.SyntaxElement, org.skriptlang.skript.log.runtime.RuntimeErrorProducer, org.skriptlang.skript.log.runtime.SyntaxRuntimeErrorProducer
@Name("GravesX Grave UUIDs")
@Description("Gets loaded grave UUIDs, optionally filtered by player, through the GravesX grave management API.")
@Examples({"loop grave uuids of player:","\tset {_grave} to grave from uuid loop-value","\tif {_grave} is set:","\t\tbroadcast \"%player% has grave UUID %loop-value% at %event-location%\"","set {_graveUUIDs::*} to grave uuids of player","if size of {_graveUUIDs::*} > 1:","\tset {_secondGrave} to grave from uuid {_graveUUIDs::2}","\tif {_secondGrave} is set:","\t\tremove grave {_secondGrave}"})
public class ExprGraveUUIDs
extends ch.njol.skript.lang.util.SimpleExpression<String>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected @Nullable String[]get(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) booleanisSingle()toString(@Nullable org.bukkit.event.Event event, boolean debug) Methods inherited from class ch.njol.skript.lang.util.SimpleExpression
acceptChange, change, check, check, check, getAll, getAnd, getArray, getConvertedExpr, getConvertedExpression, getNode, getSingle, getSource, getTime, isDefault, isLoopOf, iterator, preInit, setTime, setTime, setTime, setTime, setTime, simplify, supportsLoopPeeking, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ch.njol.skript.lang.Expression
beforeChange, canBeSingle, canReturn, canReturnAnyOf, changeInPlace, changeInPlace, getAcceptedChangeModes, getOptionalSingle, getSyntaxTypeName, possibleReturnTypes, returnNestedStructures, returnsNestedStructures, stream, streamAllMethods 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
-
ExprGraveUUIDs
public ExprGraveUUIDs()
-
-
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) -
get
-
isSingle
public boolean isSingle() -
getReturnType
-
toString
-