Package io.papermc.paper.registry.keys
Class TrimMaterialKeys
java.lang.Object
io.papermc.paper.registry.keys.TrimMaterialKeys
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 Summary
Modifier and TypeFieldDescriptionstatic final TypedKey
<TrimMaterial> minecraft:amethyst
static final TypedKey
<TrimMaterial> minecraft:copper
static final TypedKey
<TrimMaterial> minecraft:diamond
static final TypedKey
<TrimMaterial> minecraft:emerald
static final TypedKey
<TrimMaterial> minecraft:gold
static final TypedKey
<TrimMaterial> minecraft:iron
static final TypedKey
<TrimMaterial> minecraft:lapis
static final TypedKey
<TrimMaterial> minecraft:netherite
static final TypedKey
<TrimMaterial> minecraft:quartz
static final TypedKey
<TrimMaterial> minecraft:redstone
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull TypedKey
<TrimMaterial> Creates a key forTrimMaterial
in a registry.
-
Field Details
-
AMETHYST
minecraft:amethyst
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
COPPER
minecraft:copper
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
DIAMOND
minecraft:diamond
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
EMERALD
minecraft:emerald
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
GOLD
minecraft:gold
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
IRON
minecraft:iron
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
LAPIS
minecraft:lapis
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
NETHERITE
minecraft:netherite
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
QUARTZ
minecraft:quartz
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
REDSTONE
minecraft:redstone
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
-
Method Details
-
create
@Experimental @NotNull public static @NotNull TypedKey<TrimMaterial> create(@NotNull @NotNull net.kyori.adventure.key.Key key) Creates a key forTrimMaterial
in a registry.- Parameters:
key
- the value's key in the registry- Returns:
- a new typed key
-