net.minecraft.world.item.equipment.trim

public record TrimMaterial

dfx
net.minecraft.world.item.equipment.trim.TrimMaterial
net.minecraft.class_8054
net.minecraft.item.equipment.trim.ArmorTrimMaterial
net.minecraft.src.C_345710_
net.minecraft.world.item.equipment.trim.TrimMaterial

Field summary

Modifier and TypeField
private final String
e
assetName
comp_1208
assetName
f_347087_
private final Holder<Item>
f
ingredient
comp_1209
ingredient
f_348658_
private final float
g
itemModelIndex
comp_1210
itemModelIndex
f_346330_
private final Map<ResourceLocation, String>
h
overrideArmorMaterials
comp_1237
overrideArmorMaterials
f_346917_
private final Component
i
description
comp_1212
description
f_348064_
public static final com.mojang.serialization.Codec<TrimMaterial>
a
DIRECT_CODEC
field_42002
CODEC
f_349505_
public static final StreamCodec<RegistryFriendlyByteBuf, TrimMaterial>
b
DIRECT_STREAM_CODEC
field_49280
PACKET_CODEC
f_349297_
public static final com.mojang.serialization.Codec<Holder<TrimMaterial>>
c
CODEC
field_42003
ENTRY_CODEC
f_347149_
public static final StreamCodec<RegistryFriendlyByteBuf, Holder<TrimMaterial>>
d
STREAM_CODEC
field_49281
ENTRY_PACKET_CODEC
f_348065_

Constructor summary

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

Method summary

Modifier and TypeMethod
public static TrimMaterial
a(String arg0, cxl arg1, float arg2, xv arg3, Map<alz, String> arg4)
create(String arg0, Item arg1, float arg2, Component arg3, Map<ResourceLocation, String> arg4)
method_48438(String arg0, class_1792 arg1, float arg2, class_2561 arg3, Map<class_2960, String> arg4)
of(String assetName, Item ingredient, float itemModelIndex, Text description, Map<Identifier, String> overrideArmorMaterials)
m_355830_(String p_366767_, C_1381_ p_365530_, float p_361046_, C_4996_ p_365548_, Map<C_5265_, String> p_366307_)
public String
a()
assetName()
comp_1208()
assetName()
f_347087_()
public Holder<Item>
b()
ingredient()
comp_1209()
ingredient()
f_348658_()
public float
c()
itemModelIndex()
comp_1210()
itemModelIndex()
f_346330_()
public Map<ResourceLocation, String>
d()
overrideArmorMaterials()
comp_1237()
overrideArmorMaterials()
f_346917_()
public Component
e()
description()
comp_1212()
description()
f_348064_()