Class PropExprStyle

All Implemented Interfaces:
Debuggable, Expression<Object>, Loopable<Object>, Simplifiable<Expression<? extends Object>>, SyntaxElement, PropertyBaseSyntax<ExpressionPropertyHandler<?,?>>, RuntimeErrorProducer, SyntaxRuntimeErrorProducer

@Name("Style") @Description("Represents the style of something.\n") @Example("set style of event-bossbar to 6 notches\n") @Since("2.16") @RelatedProperty("style") public class PropExprStyle extends PropertyBaseExpression<ExpressionPropertyHandler<?,?>>
  • Constructor Details

    • PropExprStyle

      public PropExprStyle()
  • Method Details

    • register

      public static void register(SyntaxRegistry registry)
    • 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.