Class CatVariantTagKeys

java.lang.Object
io.papermc.paper.registry.keys.tags.CatVariantTagKeys

@GeneratedFrom("1.21.4") @NullMarked @Experimental public final class CatVariantTagKeys extends Object
Vanilla keys for RegistryKey.CAT_VARIANT.
API Note:
The fields provided here are a direct representation of what is available from the vanilla game source. They may be changed (including removals) on any Minecraft version bump, so cross-version compatibility is not provided on the same level as it is on most of the other API.
  • Field Details

    • DEFAULT_SPAWNS

      public static final TagKey<Cat.Type> DEFAULT_SPAWNS
      #minecraft:default_spawns
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • FULL_MOON_SPAWNS

      public static final TagKey<Cat.Type> FULL_MOON_SPAWNS
      #minecraft:full_moon_spawns
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
  • Method Details

    • create

      @Experimental public static TagKey<Cat.Type> create(Key key)
      Creates a tag key for Cat.Type in the registry minecraft:cat_variant.
      Parameters:
      key - the tag key's key
      Returns:
      a new tag key