Uses of Record Class
net.minecraft.world.item.armortrim.TrimMaterial
Package
Description
-
Uses of TrimMaterial in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionprivate final Optional
<HolderSet<TrimMaterial>> ItemTrimPredicate.material
The field for thematerial
record component.Modifier and TypeMethodDescriptionItemTrimPredicate.material()
Returns the value of thematerial
record component.ModifierConstructorDescriptionItemTrimPredicate
(Optional<HolderSet<TrimMaterial>> material, Optional<HolderSet<TrimPattern>> pattern) Creates an instance of aItemTrimPredicate
record class. -
Uses of TrimMaterial in net.minecraft.core.registries
Modifier and TypeFieldDescriptionstatic final ResourceKey
<Registry<TrimMaterial>> Registries.TRIM_MATERIAL
-
Uses of TrimMaterial in net.minecraft.server.commands
Modifier and TypeFieldDescriptionprivate static final ToIntFunction
<ResourceKey<TrimMaterial>> SpawnArmorTrimsCommand.TRIM_MATERIAL_ORDER
private static final List
<ResourceKey<TrimMaterial>> SpawnArmorTrimsCommand.VANILLA_TRIM_MATERIALS
-
Uses of TrimMaterial in net.minecraft.world.item.armortrim
Modifier and TypeFieldDescriptionstatic final ResourceKey
<TrimMaterial> TrimMaterials.AMETHYST
static final com.mojang.serialization.Codec
<Holder<TrimMaterial>> TrimMaterial.CODEC
static final ResourceKey
<TrimMaterial> TrimMaterials.COPPER
static final ResourceKey
<TrimMaterial> TrimMaterials.DIAMOND
static final com.mojang.serialization.Codec
<TrimMaterial> TrimMaterial.DIRECT_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, TrimMaterial> TrimMaterial.DIRECT_STREAM_CODEC
static final ResourceKey
<TrimMaterial> TrimMaterials.EMERALD
static final ResourceKey
<TrimMaterial> TrimMaterials.GOLD
static final ResourceKey
<TrimMaterial> TrimMaterials.IRON
static final ResourceKey
<TrimMaterial> TrimMaterials.LAPIS
private final Holder
<TrimMaterial> ArmorTrim.material
static final ResourceKey
<TrimMaterial> TrimMaterials.NETHERITE
static final ResourceKey
<TrimMaterial> TrimMaterials.QUARTZ
static final ResourceKey
<TrimMaterial> TrimMaterials.REDSTONE
static final StreamCodec
<RegistryFriendlyByteBuf, Holder<TrimMaterial>> TrimMaterial.STREAM_CODEC
Modifier and TypeMethodDescriptionstatic TrimMaterial
TrimMaterial.create
(String p_268108_, Item p_268361_, float p_268202_, Component p_268273_, Map<Holder<ArmorMaterial>, String> p_267977_) Modifier and TypeMethodDescriptionstatic Optional
<Holder.Reference<TrimMaterial>> TrimMaterials.getFromIngredient
(HolderLookup.Provider p_335701_, ItemStack p_267327_) ArmorTrim.material()
private static ResourceKey
<TrimMaterial> TrimMaterials.registryKey
(String p_266965_) Modifier and TypeMethodDescriptionstatic void
TrimMaterials.bootstrap
(BootstrapContext<TrimMaterial> p_321806_) TrimPattern.copyWithStyle
(Holder<TrimMaterial> p_266827_) private static String
ArmorTrim.getColorPaletteSuffix
(Holder<TrimMaterial> p_323989_, Holder<ArmorMaterial> p_335566_) private static void
TrimMaterials.register
(BootstrapContext<TrimMaterial> p_321637_, ResourceKey<TrimMaterial> p_268293_, Item p_268156_, Style p_268174_, float p_268274_) private static void
TrimMaterials.register
(BootstrapContext<TrimMaterial> p_321637_, ResourceKey<TrimMaterial> p_268293_, Item p_268156_, Style p_268174_, float p_268274_) private static void
TrimMaterials.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 void
TrimMaterials.register
(BootstrapContext<TrimMaterial> p_321693_, ResourceKey<TrimMaterial> p_268139_, Item p_268311_, Style p_268232_, float p_268197_, Map<Holder<ArmorMaterial>, String> p_268352_) ModifierConstructorDescriptionArmorTrim
(Holder<TrimMaterial> p_267249_, Holder<TrimPattern> p_267212_) ArmorTrim
(Holder<TrimMaterial> p_331108_, Holder<TrimPattern> p_331731_, boolean p_331871_) private
ArmorTrim
(Holder<TrimMaterial> p_336069_, Holder<TrimPattern> p_335896_, boolean p_335621_, Function<Holder<ArmorMaterial>, ResourceLocation> p_335613_, Function<Holder<ArmorMaterial>, ResourceLocation> p_335818_) -
Uses of TrimMaterial in net.neoforged.neoforge.client.model.generators
Modifier and TypeFieldDescriptionprivate static final List
<ResourceKey<TrimMaterial>> ItemModelBuilder.VANILLA_TRIM_MATERIALS