Annotation Interface ResourceReference
Used to mark fields storing names of resources used by mod element instance.
For textures,
Regular Model and Sound references using Model or Sound object do not need this annotation additionally.
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.
- API note:
- This annotation can also be added to fields of type
Collection, custom object, etc. with their values known to match or have fields/methods with matching values.
-
Required Element Summary
Required Elements
-
Element Details
-
value
String valueThe type of resource that the marked field can contain a reference to.
-