Annotation Interface RegisterStructureTemplate


@Target(FIELD) @Retention(RUNTIME) public @interface RegisterStructureTemplate
Put this annotation on a static field containing either a StructureTemplate, a Supplier of StructureTemplate or a StructureTemplateBuilder in order to automatically register that code-defined template.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Returns the ID of the template.
  • Element Details

    • value

      String value
      Returns the ID of the template.
      Returns:
      the ID of the template