Class ExprMaxSpeed
- All Implemented Interfaces:
ch.njol.skript.lang.Debuggable,ch.njol.skript.lang.Expression<Double>,ch.njol.skript.lang.Loopable<Double>,ch.njol.skript.lang.simplification.Simplifiable<ch.njol.skript.lang.Expression<? extends Double>>,ch.njol.skript.lang.SyntaxElement,org.skriptlang.skript.lang.converter.Converter<Vehicle,,Double> org.skriptlang.skript.log.runtime.RuntimeErrorProducer,org.skriptlang.skript.log.runtime.SyntaxRuntimeErrorProducer
@Name("MTV Vehicle\'s vehicle max speed")
@Description("Get/set the vehicle\'s vehicle max speed")
@Examples({"set {_licensePlate} to {_car}\'s vehicle max speed","set mtv vehicle maximum speed of {_helicopter} to 3"})
@Since("2.5.8")
public class ExprMaxSpeed
extends ch.njol.skript.expressions.base.SimplePropertyExpression<Vehicle,Double>
-
Field Summary
Fields inherited from class ch.njol.skript.expressions.base.SimplePropertyExpression
rawExprFields inherited from class ch.njol.skript.expressions.base.PropertyExpression
DEFAULT_PRIORITYFields inherited from interface org.skriptlang.skript.lang.converter.Converter
ALL_CHAINING, ALLOW_UNSAFE_CASTS, NO_CHAINING, NO_LEFT_CHAINING, NO_RIGHT_CHAINING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable Class<?> @NotNull []acceptChange(ch.njol.skript.classes.Changer.ChangeMode mode) voidchange(@NotNull org.bukkit.event.Event event, @Nullable Object @NotNull [] delta, @NotNull ch.njol.skript.classes.Changer.ChangeMode changeMode) @Nullable Doubleprotected StringMethods inherited from class ch.njol.skript.expressions.base.SimplePropertyExpression
get, init, toStringMethods inherited from class ch.njol.skript.expressions.base.PropertyExpression
get, get, getAll, getAnd, getDefaultPatterns, getExpr, getPatterns, infoBuilder, isSingle, register, register, registerDefault, registerDefault, setExpr, simplifyMethods inherited from class ch.njol.skript.lang.util.SimpleExpression
check, check, check, getArray, getConvertedExpr, getConvertedExpression, getNode, getSingle, getSource, getTime, isDefault, isLoopOf, iterator, preInit, setTime, setTime, setTime, setTime, setTime, 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
-
ExprMaxSpeed
public ExprMaxSpeed()
-
-
Method Details
-
getPropertyName
-
convert
-
getReturnType
-
acceptChange
@Nullable public @Nullable Class<?> @NotNull [] acceptChange(ch.njol.skript.classes.Changer.ChangeMode mode) -
change
public void change(@NotNull @NotNull org.bukkit.event.Event event, @Nullable @Nullable Object @NotNull [] delta, @NotNull ch.njol.skript.classes.Changer.ChangeMode changeMode)
-