Class ExprHealth
- 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 health")
@Description("Get the vehicle\'s vehicle fuel usage")
@Examples({"set {_currentHealth} to {_car}\'s vehicle health","set {_health} to vehicle health of (player\'s driven mtv vehicle)","set vehicle health of {_car} to 100","remove 55.5 from {_car}\'s vehicle health","add 0.5 to {_car}\'s vehicle health"})
@Since("2.5.6")
public class ExprHealth
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
-
ExprHealth
public ExprHealth()
-
-
Method Details
-
getPropertyName
-
getReturnType
-
convert
-
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)
-