net.minecraft.world.item.armortrim

public class ArmorTrim

chw
net.minecraft.world.item.armortrim.ArmorTrim
net.minecraft.class_8053
net.minecraft.item.trim.ArmorTrim
net.minecraft.src.C_265827_
net.minecraft.world.item.armortrim.ArmorTrim

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<ArmorTrim>
a
CODEC
field_41994
CODEC
f_265985_
private static final org.slf4j.Logger
c
LOGGER
field_41996
LOGGER
f_266079_
public static final String
b
TAG_TRIM_ID
field_41995
NBT_KEY
f_265908_
private static final Component
d
UPGRADE_TITLE
field_41997
UPGRADE_TEXT
f_266060_
private final Holder<TrimMaterial>
e
material
field_41998
material
f_266045_
private final Holder<TrimPattern>
f
pattern
field_41999
pattern
f_265943_
private final Function<ArmorMaterial, ResourceLocation>
g
innerTexture
field_42000
leggingsModelIdGetter
f_265947_
private final Function<ArmorMaterial, ResourceLocation>
h
outerTexture
field_42001
genericModelIdGetter
f_265975_

Constructor summary

ModifierConstructor
public (Holder<TrimMaterial> material, Holder<TrimPattern> pattern)

Method summary

Modifier and TypeMethod
private String
c(cdi arg0)
getColorPaletteSuffix(ArmorMaterial arg0)
method_48577(class_1741 arg0)
getMaterialAssetNameFor(ArmorMaterial armorMaterial)
m_267648_(C_1315_ arg0)
public boolean
a(hd<chz> arg0, hd<chx> arg1)
hasPatternAndMaterial(Holder<TrimPattern> arg0, Holder<TrimMaterial> arg1)
method_48427(class_6880<class_8056> arg0, class_6880<class_8054> arg1)
equals(RegistryEntry<ArmorTrimPattern> pattern, RegistryEntry<ArmorTrimMaterial> material)
m_266357_(C_203228_<C_265826_> p_267247_, C_203228_<C_265813_> arg1)
public Holder<TrimPattern>
a()
pattern()
method_48424()
getPattern()
m_266429_()
public Holder<TrimMaterial>
b()
material()
method_48431()
getMaterial()
m_266210_()
public ResourceLocation
a(cdi arg0)
innerTexture(ArmorMaterial arg0)
method_48434(class_1741 arg0)
getLeggingsModelId(ArmorMaterial armorMaterial)
m_267774_(C_1315_ arg0)
public ResourceLocation
b(cdi arg0)
outerTexture(ArmorMaterial arg0)
method_48436(class_1741 arg0)
getGenericModelId(ArmorMaterial armorMaterial)
m_267606_(C_1315_ arg0)
public static boolean
a(hr arg0, cfv arg1, chw arg2)
setTrim(RegistryAccess arg0, ItemStack arg1, ArmorTrim arg2)
method_48429(class_5455 arg0, class_1799 arg1, class_8053 arg2)
apply(DynamicRegistryManager registryManager, ItemStack stack, ArmorTrim trim)
m_266570_(C_4706_ p_267181_, C_1391_ p_266994_, C_265827_ p_267002_)
public static Optional<ArmorTrim>
a(hr arg0, cfv arg1)
getTrim(RegistryAccess arg0, ItemStack arg1)
method_48428(class_5455 arg0, class_1799 arg1)
getTrim(DynamicRegistryManager registryManager, ItemStack stack)
m_266285_(C_4706_ p_266952_, C_1391_ p_266766_)
public static void
a(cfv arg0, hr arg1, List<tj> arg2)
appendUpgradeHoverText(ItemStack arg0, RegistryAccess arg1, List<Component> arg2)
method_48425(class_1799 arg0, class_5455 arg1, List<class_2561> arg2)
appendTooltip(ItemStack stack, DynamicRegistryManager registryManager, List<Text> tooltip)
m_266563_(C_1391_ p_266761_, C_4706_ p_266979_, List<C_4996_> p_267199_)