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<?,?>>
  • Constructor Details

    • PropExprScale

      public PropExprScale()
  • Method Details

    • register

      public static void register(SyntaxRegistry registry, Origin origin)
    • getProperty

      public Property<ExpressionPropertyHandler<?,?>> getProperty()
      Description copied from interface: PropertyBaseSyntax
      Gets 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.