net.minecraft.world.item.armortrim

public record TrimMaterial

cwy
net.minecraft.world.item.armortrim.TrimMaterial
net.minecraft.class_8054
net.minecraft.item.trim.ArmorTrimMaterial
net.minecraft.src.C_265813_
net.minecraft.world.item.armortrim.TrimMaterial

Field summary

Modifier and TypeField
private final String
e
assetName
comp_1208
assetName
f_265854_
private final Holder<Item>
f
ingredient
comp_1209
ingredient
f_265970_
private final float
g
itemModelIndex
comp_1210
itemModelIndex
f_265933_
private final Map<Holder<ArmorMaterial>, String>
h
overrideArmorMaterials
comp_1237
overrideArmorMaterials
f_267481_
private final Component
i
description
comp_1212
description
f_266021_
public static final com.mojang.serialization.Codec<TrimMaterial>
a
DIRECT_CODEC
field_42002
CODEC
f_266095_
public static final StreamCodec<RegistryFriendlyByteBuf, TrimMaterial>
b
DIRECT_STREAM_CODEC
field_49280
PACKET_CODEC
f_316229_
public static final com.mojang.serialization.Codec<Holder<TrimMaterial>>
c
CODEC
field_42003
ENTRY_CODEC
f_266056_
public static final StreamCodec<RegistryFriendlyByteBuf, Holder<TrimMaterial>>
d
STREAM_CODEC
field_49281
ENTRY_PACKET_CODEC
f_314439_

Constructor summary

ModifierConstructor
public (String ingredient, Holder<Item> itemModelIndex, float overrideArmorMaterials, Map<Holder<ArmorMaterial>, String> description, Component arg4)

Method summary

Modifier and TypeMethod
public static TrimMaterial
a(String arg0, cul arg1, float arg2, wz arg3, Map<jm<csg>, String> arg4)
create(String arg0, Item arg1, float arg2, Component arg3, Map<Holder<ArmorMaterial>, String> arg4)
method_48438(String arg0, class_1792 arg1, float arg2, class_2561 arg3, Map<class_6880<class_1741>, String> arg4)
of(String assetName, Item ingredient, float itemModelIndex, Text description, Map<RegistryEntry<ArmorMaterial>, String> overrideArmorMaterials)
m_267605_(String p_268108_, C_1381_ p_268361_, float p_268202_, C_4996_ p_268273_, Map<C_203228_<C_1315_>, String> p_267977_)
public String
a()
assetName()
comp_1208()
assetName()
f_265854_()
public Holder<Item>
b()
ingredient()
comp_1209()
ingredient()
f_265970_()
public float
c()
itemModelIndex()
comp_1210()
itemModelIndex()
f_265933_()
public Map<Holder<ArmorMaterial>, String>
d()
overrideArmorMaterials()
comp_1237()
overrideArmorMaterials()
f_267481_()
public Component
e()
description()
comp_1212()
description()
f_266021_()