Class TrimMaterials
java.lang.Object
net.minecraft.world.item.armortrim.TrimMaterials
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ResourceKey
<TrimMaterial> static final ResourceKey
<TrimMaterial> static final ResourceKey
<TrimMaterial> static final ResourceKey
<TrimMaterial> static final ResourceKey
<TrimMaterial> static final ResourceKey
<TrimMaterial> static final ResourceKey
<TrimMaterial> static final ResourceKey
<TrimMaterial> static final ResourceKey
<TrimMaterial> static final ResourceKey
<TrimMaterial> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
bootstrap
(BootstrapContext<TrimMaterial> p_321806_) static Optional
<Holder.Reference<TrimMaterial>> getFromIngredient
(HolderLookup.Provider p_335701_, ItemStack p_267327_) private static void
register
(BootstrapContext<TrimMaterial> p_321637_, ResourceKey<TrimMaterial> p_268293_, Item p_268156_, Style p_268174_, float p_268274_) private static void
register
(BootstrapContext<TrimMaterial> p_321693_, ResourceKey<TrimMaterial> p_268139_, Item p_268311_, Style p_268232_, float p_268197_, Map<Holder<ArmorMaterial>, String> p_268352_) private static ResourceKey
<TrimMaterial> registryKey
(String p_266965_)
-
Field Details
-
QUARTZ
-
IRON
-
NETHERITE
-
REDSTONE
-
COPPER
-
GOLD
-
EMERALD
-
DIAMOND
-
LAPIS
-
AMETHYST
-
-
Constructor Details
-
TrimMaterials
public TrimMaterials()
-
-
Method Details
-
bootstrap
-
getFromIngredient
public static Optional<Holder.Reference<TrimMaterial>> getFromIngredient(HolderLookup.Provider p_335701_, ItemStack p_267327_) -
register
private static void register(BootstrapContext<TrimMaterial> p_321637_, ResourceKey<TrimMaterial> p_268293_, Item p_268156_, Style p_268174_, float p_268274_) -
register
private static void register(BootstrapContext<TrimMaterial> p_321693_, ResourceKey<TrimMaterial> p_268139_, Item p_268311_, Style p_268232_, float p_268197_, Map<Holder<ArmorMaterial>, String> p_268352_) -
registryKey
-