net.minecraft.world.item.armortrim

public record TrimPattern

cxa
net.minecraft.world.item.armortrim.TrimPattern
net.minecraft.class_8056
net.minecraft.item.trim.ArmorTrimPattern
net.minecraft.src.C_265826_
net.minecraft.world.item.armortrim.TrimPattern

Field summary

Modifier and TypeField
private final ResourceLocation
e
assetId
comp_1213
assetId
f_266052_
private final Holder<Item>
f
templateItem
comp_1214
templateItem
f_265847_
private final Component
g
description
comp_1215
description
f_265850_
private final boolean
h
decal
comp_1905
decal
f_290976_
public static final com.mojang.serialization.Codec<TrimPattern>
a
DIRECT_CODEC
field_42014
CODEC
f_266050_
public static final StreamCodec<RegistryFriendlyByteBuf, TrimPattern>
b
DIRECT_STREAM_CODEC
field_49282
PACKET_CODEC
f_315843_
public static final com.mojang.serialization.Codec<Holder<TrimPattern>>
c
CODEC
field_42015
ENTRY_CODEC
f_265977_
public static final StreamCodec<RegistryFriendlyByteBuf, Holder<TrimPattern>>
d
STREAM_CODEC
field_49283
ENTRY_PACKET_CODEC
f_313913_

Constructor summary

ModifierConstructor
public (ResourceLocation templateItem, Holder<Item> description, Component decal, boolean arg3)

Method summary

Modifier and TypeMethod
public Component
a(jm<cwy> arg0)
copyWithStyle(Holder<TrimMaterial> arg0)
method_48446(class_6880<class_8054> arg0)
getDescription(RegistryEntry<ArmorTrimMaterial> material)
m_266463_(C_203228_<C_265813_> arg0)
public ResourceLocation
a()
assetId()
comp_1213()
assetId()
f_266052_()
public Holder<Item>
b()
templateItem()
comp_1214()
templateItem()
f_265847_()
public Component
c()
description()
comp_1215()
description()
f_265850_()
public boolean
d()
decal()
comp_1905()
decal()
f_290976_()