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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected 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
     
    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

      public Class<? extends org.bukkit.Location> 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

      public String toString(@Nullable @Nullable org.bukkit.event.Event event, boolean debug)
    • get

      protected org.bukkit.Location[] get(org.bukkit.event.Event event)
      Specified by:
      get in class ch.njol.skript.lang.util.SimpleExpression<org.bukkit.Location>