Class ExprVehicle
java.lang.Object
ch.njol.skript.lang.util.SimpleExpression<Vehicle>
nl.mtvehicles.core.infrastructure.dependencies.skript.expressions.ExprVehicle
- All Implemented Interfaces:
ch.njol.skript.lang.Debuggable
,ch.njol.skript.lang.Expression<Vehicle>
,ch.njol.skript.lang.SyntaxElement
@Name("MTV Vehicle")
@Description("Get the MTV\'s vehicle instance")
@Examples({"set {_car} to a new mtv vehicle with license plate \"DF-4J-2R\"","set {_helicopter} to player\'s driven mtv vehicle"})
public class ExprVehicle
extends ch.njol.skript.lang.util.SimpleExpression<Vehicle>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Vehicle[]
get(org.bukkit.event.Event event)
boolean
init(ch.njol.skript.lang.Expression<?>[] expressions, int matchedPattern, ch.njol.util.Kleenean isDelayed, ch.njol.skript.lang.SkriptParser.ParseResult parser)
boolean
isSingle()
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, getSingle, getSource, getTime, isDefault, isLoopOf, iterator, setTime, setTime, setTime, setTime, simplify, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface ch.njol.skript.lang.Expression
beforeChange, stream
Methods inherited from interface ch.njol.skript.lang.SyntaxElement
getParser
-
Constructor Details
-
ExprVehicle
public ExprVehicle()
-
-
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
- Specified by:
get
in classch.njol.skript.lang.util.SimpleExpression<Vehicle>
-