java.lang.Object
ch.njol.skript.lang.util.SimpleExpression<String>
nl.mtvehicles.core.infrastructure.dependencies.skript.expressions.ExprVehicleType
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("MTV Vehicle\'s type") @Description("Get the vehicle\'s type as String") @Examples({"set {_type} to {_car}\'s vehicle type","set {_type} to vehicle type of (player\'s driven mtv vehicle)"}) public class ExprVehicleType extends ch.njol.skript.lang.util.SimpleExpression<String>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String[]
    get(org.bukkit.event.Event event)
     
    Class<? extends String>
     
    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, getNode, getSingle, getSource, getTime, isDefault, isLoopOf, iterator, preInit, 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, streamAll

    Methods inherited from interface org.skriptlang.skript.log.runtime.RuntimeErrorProducer

    error, error, getRuntimeErrorManager, warning, warning

    Methods inherited from interface ch.njol.skript.lang.SyntaxElement

    getParser

    Methods inherited from interface org.skriptlang.skript.log.runtime.SyntaxRuntimeErrorProducer

    getErrorSource
  • Constructor Details

    • ExprVehicleType

      public ExprVehicleType()
  • Method Details

    • getReturnType

      public Class<? extends String> 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 String[] get(org.bukkit.event.Event event)
      Specified by:
      get in class ch.njol.skript.lang.util.SimpleExpression<String>