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.item.equipment.trim.ArmorTrim
net.minecraft.world.item.equipment.trim.ArmorTrim

Field summary

Modifier and TypeField
private final Holder<TrimMaterial>
c
material
comp_3179
material
private final Holder<TrimPattern>
d
pattern
comp_3180
pattern
private final boolean
e
showInTooltip
comp_3181
showInTooltip
public static final com.mojang.serialization.Codec<ArmorTrim>
a
CODEC
field_41994
CODEC
public static final StreamCodec<RegistryFriendlyByteBuf, ArmorTrim>
b
STREAM_CODEC
field_49278
PACKET_CODEC
private static final Component
f
UPGRADE_TITLE
field_41997
UPGRADE_TEXT

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)
getMaterialAssetNameFor(RegistryEntry<ArmorTrimMaterial> material, Identifier modelId)
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)
equals(RegistryEntry<ArmorTrimPattern> pattern, RegistryEntry<ArmorTrimMaterial> material)
public ResourceLocation
a(dfs$d arg0, alz arg1)
getTexture(EquipmentModel$LayerType arg0, ResourceLocation arg1)
method_64019(class_10186$class_10190 arg0, class_2960 arg1)
getTexture(EquipmentModel$LayerType layerType, Identifier modelId)
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)
appendTooltip(Item$TooltipContext arg0, Consumer<Text> arg1, TooltipType arg2)
public ArmorTrim
a(boolean arg0)
withTooltip(boolean arg0)
method_58421(boolean arg0)
withShowInTooltip(boolean showInTooltip)
public Holder<TrimMaterial>
a()
material()
comp_3179()
material()
public Holder<TrimPattern>
b()
pattern()
comp_3180()
pattern()
public boolean
c()
showInTooltip()
comp_3181()
showInTooltip()