Annotation Interface TextureReference
Used to mark fields storing names of textures used by mod element instance.
- 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 ElementsModifier and TypeRequired ElementDescriptionThe type of texture that the marked field can contain a reference to. -
Optional Element Summary
Optional Elements
-
Element Details
-
value
TextureType valueThe type of texture that the marked field can contain a reference to. -
files
String[] filesTemplate strings that the value of target type should be applied to in order to retrieve texture file names. An empty string means the value itself will be considered (effectively same as"%s").- Default:
{""}
-
defaultValues
-