Annotation Interface Model


@Retention(SOURCE) @Target(FIELD) @Documented public @interface Model
Can be attached to public static non-final baked model fields. The model will then be put into those fields.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The path of the model.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The namespace of the model.
  • Element Details

    • value

      String value
      The path of the model.
    • namespace

      String namespace
      The namespace of the model. Defaults to the modid inferred for this element.
      Default:
      ""