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.world.item.equipment.trim.TrimMaterial

Field summary

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

Constructor summary

ModifierConstructor
public (String arg0, Holder<Item> arg1, float arg2, Map<ResourceLocation, String> arg3, 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)
public String
a()
assetName()
comp_1208()
assetName()
public Holder<Item>
b()
ingredient()
comp_1209()
ingredient()
public float
c()
itemModelIndex()
comp_1210()
itemModelIndex()
public Map<ResourceLocation, String>
d()
overrideArmorMaterials()
comp_1237()
overrideArmorMaterials()
public Component
e()
description()
comp_1212()
description()