Annotation Interface ResourceReference


@Target(FIELD) @Retention(RUNTIME) public @interface ResourceReference
Used to mark fields storing names of resources used by mod element instance. For textures, TextureReference should be used instead as it also declares the texture type.
Regular Model and Sound references using Model or Sound object do not need this annotation additionally.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The type of resource that the marked field can contain a reference to.
  • Element Details

    • value

      String value
      The type of resource that the marked field can contain a reference to.