Class PropExprScale
java.lang.Object
ch.njol.skript.lang.util.SimpleExpression<Object>
org.skriptlang.skript.lang.properties.PropertyBaseExpression<ExpressionPropertyHandler<?,?>>
org.skriptlang.skript.common.properties.expressions.PropExprScale
- All Implemented Interfaces:
Debuggable,Expression<Object>,Loopable<Object>,Simplifiable<Expression<? extends Object>>,SyntaxElement,PropertyBaseSyntax<ExpressionPropertyHandler<?,,?>> RuntimeErrorProducer,SyntaxRuntimeErrorProducer
@Name("Scale")
@Description({"Represents the physical size/scale of something.","For example, the scale of a display entity would be a vector containing multipliers on its size in the x, y, and z axis.","For a particle effect like the sweeping edge particle, scale is a number determining how large the particle should be."})
@Example("set the scale of {_display} to vector(0,2,0)") @Example("set the scale of {_particle} to 1.5")
@Since("2.14")
@RelatedProperty("scale")
public class PropExprScale
extends PropertyBaseExpression<ExpressionPropertyHandler<?,?>>
-
Field Summary
Fields inherited from class org.skriptlang.skript.lang.properties.PropertyBaseExpression
expr, properties, property, returnType, returnTypes, useCIP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the property this expression represents.static voidregister(SyntaxRegistry registry, Origin origin) Methods inherited from class org.skriptlang.skript.lang.properties.PropertyBaseExpression
acceptChange, change, convert, get, getPropertyReturnTypes, getReturnType, init, isSingle, possibleReturnTypes, toStringMethods inherited from class ch.njol.skript.lang.util.SimpleExpression
check, check, check, getAll, getAnd, getArray, getConvertedExpr, getConvertedExpression, getNode, getSingle, getSource, getTime, isDefault, isLoopOf, iterator, preInit, setTime, setTime, setTime, setTime, setTime, simplify, 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, returnNestedStructures, returnsNestedStructures, stream, streamAllMethods inherited from interface org.skriptlang.skript.lang.properties.PropertyBaseSyntax
getBadTypesErrorMessage, getPropertyNameMethods 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
-
PropExprScale
public PropExprScale()
-
-
Method Details
-
register
-
getProperty
Description copied from interface:PropertyBaseSyntaxGets the property this expression represents. This is used to find the appropriate handlers for the expression's input types.- Returns:
- The property this expression represents.
-