Class ExprVehicleItem
java.lang.Object
ch.njol.skript.lang.util.SimpleExpression<org.bukkit.inventory.ItemStack>
nl.mtvehicles.core.infrastructure.dependencies.skript.expressions.ExprVehicleItem
- All Implemented Interfaces:
ch.njol.skript.lang.Debuggable,ch.njol.skript.lang.Expression<org.bukkit.inventory.ItemStack>,ch.njol.skript.lang.Loopable<org.bukkit.inventory.ItemStack>,ch.njol.skript.lang.simplification.Simplifiable<ch.njol.skript.lang.Expression<? extends org.bukkit.inventory.ItemStack>>,ch.njol.skript.lang.SyntaxElement,org.skriptlang.skript.log.runtime.RuntimeErrorProducer,org.skriptlang.skript.log.runtime.SyntaxRuntimeErrorProducer
@Name("MTV Vehicle Item")
@Description("Get the vehicle item (functional by license plate, or only aesthetic by UUID).")
@Examples({"set {_car} to mtv vehicle with license plate \"DF-4J-2R\"","set {_helicopter} to player\'s driven mtv vehicle","set {_car} to a new mtv vehicle with UUID \"C4UQZJ\" and owner player"})
@Since("2.5.6")
public class ExprVehicleItem
extends ch.njol.skript.lang.util.SimpleExpression<org.bukkit.inventory.ItemStack>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.bukkit.inventory.ItemStack[]get(org.bukkit.event.Event event) Class<? extends org.bukkit.inventory.ItemStack> booleaninit(ch.njol.skript.lang.Expression<?>[] expressions, int matchedPattern, ch.njol.util.Kleenean isDelayed, ch.njol.skript.lang.SkriptParser.ParseResult parser) 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ch.njol.skript.lang.Expression
beforeChange, canBeSingle, canReturn, changeInPlace, changeInPlace, getAcceptedChangeModes, getOptionalSingle, getSyntaxTypeName, possibleReturnTypes, 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
-
ExprVehicleItem
public ExprVehicleItem()
-
-
Method Details
-
getReturnType
-
isSingle
public boolean isSingle() -
init
public boolean init(ch.njol.skript.lang.Expression<?>[] expressions, int matchedPattern, ch.njol.util.Kleenean isDelayed, ch.njol.skript.lang.SkriptParser.ParseResult parser) -
toString
-
get
protected org.bukkit.inventory.ItemStack[] get(org.bukkit.event.Event event) - Specified by:
getin classch.njol.skript.lang.util.SimpleExpression<org.bukkit.inventory.ItemStack>
-