Interface Tag<T extends Keyed>

Type Parameters:
T -
All Superinterfaces:
Iterable<TypedKey<T>>, RegistryKeySet<T>, RegistrySet<T>

@Experimental @NullMarked public interface Tag<T extends Keyed> extends RegistryKeySet<T>
A named RegistryKeySet which are created via the datapack tag system.
See Also:
  • Method Details

    • tagKey

      TagKey<T> tagKey()
      Get the identifier for this named set.
      Returns:
      the tag key identifier