Class TrimMaterialKeys

java.lang.Object
io.papermc.paper.registry.keys.TrimMaterialKeys

@GeneratedFrom("1.21.1") @Experimental public final class TrimMaterialKeys extends Object
Vanilla keys for RegistryKey.TRIM_MATERIAL.
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

    • AMETHYST

      public static final TypedKey<TrimMaterial> AMETHYST
      minecraft:amethyst
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • COPPER

      public static final TypedKey<TrimMaterial> COPPER
      minecraft:copper
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • DIAMOND

      public static final TypedKey<TrimMaterial> DIAMOND
      minecraft:diamond
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • EMERALD

      public static final TypedKey<TrimMaterial> EMERALD
      minecraft:emerald
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • GOLD

      public static final TypedKey<TrimMaterial> GOLD
      minecraft:gold
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • IRON

      public static final TypedKey<TrimMaterial> IRON
      minecraft:iron
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • LAPIS

      public static final TypedKey<TrimMaterial> LAPIS
      minecraft:lapis
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • NETHERITE

      public static final TypedKey<TrimMaterial> NETHERITE
      minecraft:netherite
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • QUARTZ

      public static final TypedKey<TrimMaterial> QUARTZ
      minecraft:quartz
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • REDSTONE

      public static final TypedKey<TrimMaterial> REDSTONE
      minecraft:redstone
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
  • Method Details

    • create

      @Experimental public static @NonNull TypedKey<TrimMaterial> create(@NonNull Key key)
      Creates a key for TrimMaterial in the registry minecraft:trim_material.
      Parameters:
      key - the value's key in the registry
      Returns:
      a new typed key