net.minecraft.world.item.equipment.trim

public record ArmorTrim

implements TooltipProvider

dfw
net.minecraft.world.item.equipment.trim.ArmorTrim
net.minecraft.class_8053
net.minecraft.unmapped.C_vglbnrob
net.minecraft.item.equipment.trim.ArmorTrim
net.minecraft.item.trim.ArmorTrimPermutation
net.minecraft.src.C_346033_
net.minecraft.world.item.equipment.trim.ArmorTrim

Field summary

Modifier and TypeField
private final Holder<TrimMaterial>
c
material
comp_3179
f_xeuoplhe
material
material
f_346454_
private final Holder<TrimPattern>
d
pattern
comp_3180
f_rtzwsqsg
pattern
pattern
f_349482_
private final boolean
e
showInTooltip
comp_3181
f_rplkiwpg
showInTooltip
shownInTooltip
f_346725_
public static final com.mojang.serialization.Codec<ArmorTrim>
a
CODEC
field_41994
f_pnhdfdez
CODEC
CODEC
f_347533_
public static final StreamCodec<RegistryFriendlyByteBuf, ArmorTrim>
b
STREAM_CODEC
field_49278
f_yoectkcp
PACKET_CODEC
PACKET_CODEC
f_346372_
private static final Component
f
UPGRADE_TITLE
field_41997
f_hpyxjhnu
UPGRADE_TEXT
UPGRADE_TEXT
f_346244_

Constructor summary

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

Method summary

Modifier and TypeMethod
private static String
a(jq<dfx> arg0, alz arg1)
getColorPaletteSuffix(Holder<TrimMaterial> arg0, ResourceLocation arg1)
method_48577(class_6880<class_8054> arg0, class_2960 arg1)
m_gosigodc(C_cjzoxshv<C_iqayrpqa> arg0, C_ncpywfca arg1)
getMaterialAssetNameFor(RegistryEntry<ArmorTrimMaterial> material, Identifier modelId)
getColorPaletteSuffix(Holder<ArmorTrimMaterial> material, Identifier id)
m_356491_(C_203228_<C_345710_> p_365181_, C_5265_ p_361723_)
public boolean
a(jq<dfz> arg0, jq<dfx> arg1)
hasPatternAndMaterial(Holder<TrimPattern> arg0, Holder<TrimMaterial> arg1)
method_48427(class_6880<class_8056> arg0, class_6880<class_8054> arg1)
m_elyrxtbt(C_cjzoxshv<C_tzrkresl> arg0, C_cjzoxshv<C_iqayrpqa> arg1)
equals(RegistryEntry<ArmorTrimPattern> pattern, RegistryEntry<ArmorTrimMaterial> material)
equals(Holder<ArmorTrimPattern> pattern, Holder<ArmorTrimMaterial> material)
m_351676_(C_203228_<C_345727_> p_361281_, C_203228_<C_345710_> arg1)
public ResourceLocation
a(dfs$d arg0, alz arg1)
getTexture(EquipmentModel$LayerType arg0, ResourceLocation arg1)
method_64019(class_10186$class_10190 arg0, class_2960 arg1)
m_phhuxkxr(C_mgbzsqdv$C_otwvbrdf arg0, C_ncpywfca arg1)
getTexture(EquipmentModel$LayerType layerType, Identifier modelId)
m_phhuxkxr(EquipmentModel$LayerType arg0, Identifier id)
m_352752_(C_345718_$C_346142_ p_364374_, C_5265_ arg1)
public void
a(cxl$b arg0, Consumer<xv> arg1, czh arg2)
addToTooltip(Item$TooltipContext arg0, Consumer<Component> arg1, TooltipFlag arg2)
method_57409(class_1792$class_9635 arg0, Consumer<class_2561> arg1, class_1836 arg2)
m_eqoeoqpg(C_vorddnax$C_rdhfmrgz arg0, Consumer<C_rdaqiwdt> arg1, C_taebrtdw arg2)
appendTooltip(Item$TooltipContext arg0, Consumer<Text> arg1, TooltipType arg2)
appendToTooltip(Item$TooltipContext arg0, Consumer<Text> arg1, TooltipConfig arg2)
m_319025_(C_1381_$C_313602_ p_367392_, Consumer<C_4996_> p_368625_, C_1431_ arg2)
public ArmorTrim
a(boolean arg0)
withTooltip(boolean arg0)
method_58421(boolean arg0)
m_hecqyljt(boolean arg0)
withShowInTooltip(boolean showInTooltip)
withShownInTooltip(boolean shownInTooltip)
m_356238_(boolean arg0)
public Holder<TrimMaterial>
a()
material()
comp_3179()
m_nthajixd()
material()
material()
f_346454_()
public Holder<TrimPattern>
b()
pattern()
comp_3180()
m_fmkuselo()
pattern()
pattern()
f_349482_()
public boolean
c()
showInTooltip()
comp_3181()
m_ytoprvoy()
showInTooltip()
showInTooltip()
f_346725_()