Annotation Interface PaintBinding


@Retention(RUNTIME) @Target(FIELD) public @interface PaintBinding
A field annotation for paint. Generally the value drawn will just be the toString value of the field. If it's an int, it will be the value of the integer. If it's an Object, it will be the toString value. For Skill types specifically, an experience bar is drawn. For dynamic values, you can use Supplier interfaces (Supplier, IntSupplier, BooleanSupplier etc)
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
     
    boolean
     
     
  • Element Details

    • value

      String value
    • tab

      String tab
      Default:
      "General"
    • rate

      boolean rate
      Default:
      false
    • debug

      boolean debug
      Default:
      false