net.minecraft.world.item.armortrim

public record TrimMaterial

cic
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
c
assetName
comp_1208
assetName
f_265854_
private final Holder<Item>
d
ingredient
comp_1209
ingredient
f_265970_
private final float
e
itemModelIndex
comp_1210
itemModelIndex
f_265933_
private final Map<ArmorMaterials, String>
f
overrideArmorMaterials
comp_1237
overrideArmorMaterials
f_267481_
private final Component
g
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 com.mojang.serialization.Codec<Holder<TrimMaterial>>
b
CODEC
field_42003
ENTRY_CODEC
f_266056_

Constructor summary

ModifierConstructor
public (String f_265970_, Holder<Item> f_265933_, float f_267481_, Map<ArmorMaterials, String> f_266021_, Component arg4)

Method summary

Modifier and TypeMethod
public static TrimMaterial
a(String arg0, cfu arg1, float arg2, sw arg3, Map<cdl, String> arg4)
create(String arg0, Item arg1, float arg2, Component arg3, Map<ArmorMaterials, String> arg4)
method_48438(String arg0, class_1792 arg1, float arg2, class_2561 arg3, Map<class_1740, String> arg4)
of(String assetName, Item ingredient, float itemModelIndex, Text description, Map<ArmorMaterials, String> overrideArmorMaterials)
m_267605_(String p_268108_, C_1381_ p_268361_, float p_268202_, C_4996_ p_268273_, Map<C_1318_, 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<ArmorMaterials, String>
d()
overrideArmorMaterials()
comp_1237()
overrideArmorMaterials()
f_267481_()
public Component
e()
description()
comp_1212()
description()
f_266021_()