net.minecraft.world.item.equipment.trim

public record ArmorTrim

implements TooltipProvider

dhd
net.minecraft.world.item.equipment.trim.ArmorTrim
net.minecraft.class_8053
net.minecraft.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
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
e
UPGRADE_TITLE
field_41997
UPGRADE_TEXT

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(cyo$b arg0, Consumer<ww> arg1, dah arg2, ke arg3)
addToTooltip(Item$TooltipContext arg0, Consumer<Component> arg1, TooltipFlag arg2, DataComponentGetter arg3)
method_57409(class_1792$class_9635 arg0, Consumer<class_2561> arg1, class_1836 arg2, class_9473 arg3)
appendTooltip(Item$TooltipContext arg0, Consumer<Text> arg1, TooltipType arg2, ComponentsAccess arg3)
public ResourceLocation
a(String arg0, ald<dgz> arg1)
layerAssetId(String arg0, ResourceKey<EquipmentAsset> arg1)
method_67225(String arg0, class_5321<class_10394> arg1)
method_67225(String arg0, RegistryKey<EquipmentAsset> arg1)
public Holder<TrimMaterial>
a()
material()
comp_3179()
material()
public Holder<TrimPattern>
b()
pattern()
comp_3180()
pattern()