Interface Tag<T extends Keyed>

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

@Experimental 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

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