Annotation Interface TaggableElement


@Target(TYPE) @Retention(RUNTIME) public @interface TaggableElement
A taggable element is a class which can be used in a vanilla Tag.

Examples are:

  • Item
  • Block
  • EntityType

By marking a class as taggable, it lets ZenCode know that it has special tag handling (such as being able to add an instance of the element to a tag).

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The name of the registry that holds this element.
  • Element Details

    • value

      String value
      The name of the registry that holds this element. Examples: - "minecraft:item" for Item - "minecraft:worldgen/biome" for Biome
      Returns:
      The name of the registry that holds this element.