Class ExprVehicleLocation
java.lang.Object
ch.njol.skript.lang.util.SimpleExpression<org.bukkit.Location>
nl.mtvehicles.core.infrastructure.dependencies.skript.expressions.ExprVehicleLocation
- All Implemented Interfaces:
ch.njol.skript.lang.Debuggable
,ch.njol.skript.lang.Expression<org.bukkit.Location>
,ch.njol.skript.lang.Loopable<org.bukkit.Location>
,ch.njol.skript.lang.SyntaxElement
@Name("MTV Vehicle\'s location")
@Description("Get the vehicle location")
@Examples({"set {_loc} to {_car}\'s vehicle location","set {_loc} to vehicle location of {_car}","set {_loc} to the vehicle location of (mtv vehicle with license plate \"DF-4J-2R\")"})
public class ExprVehicleLocation
extends ch.njol.skript.lang.util.SimpleExpression<org.bukkit.Location>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.bukkit.Location[]
get
(org.bukkit.event.Event event) Class
<? extends org.bukkit.Location> 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, setTime, simplify, supportsLoopPeeking, 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, canBeSingle, canReturn, changeInPlace, changeInPlace, getAcceptedChangeModes, getOptionalSingle, getSyntaxTypeName, possibleReturnTypes, stream
Methods inherited from interface ch.njol.skript.lang.SyntaxElement
getParser
-
Constructor Details
-
ExprVehicleLocation
public ExprVehicleLocation()
-
-
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.Location[] get(org.bukkit.event.Event event) - Specified by:
get
in classch.njol.skript.lang.util.SimpleExpression<org.bukkit.Location>
-