Annotation Interface Icon


@Retention(RUNTIME) @Target(FIELD) public @interface Icon
Annotation that can be added to fields of type TextureAtlasSprite to automatically populate the field after texture stitching. Register objects that use these annotations to your mod's IconProvider.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details