Annotation Interface Id


@Target(FIELD) @Retention(RUNTIME) @Documented public @interface Id
Can be applied to fields in subclasses of RegistryProviderBase to register an element by a different id.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The path used to register the element.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The namespace used to register the element.
  • Element Details

    • value

      String value
      The path used to register the element.
    • namespace

      String namespace
      The namespace used to register the element. Defaults to the current mods namespace.
      Default:
      ""