net.minecraft.client.renderer.item.properties.select

public record CustomModelDataProperty

implements SelectItemModelProperty<String>

hgj
net.minecraft.client.renderer.item.properties.select.CustomModelDataProperty
net.minecraft.class_10489
net.minecraft.client.render.item.property.select.CustomModelDataStringProperty

Field summary

Modifier and TypeField
private final int
c
index
comp_3415
index
public static final com.mojang.serialization.codecs.PrimitiveCodec<String>
a
VALUE_CODEC
field_56371
field_56371
public static final SelectItemModelProperty$Type<CustomModelDataProperty, String>
b
TYPE
field_55416
TYPE

Constructor summary

ModifierConstructor
public (int arg0)

Method summary

Modifier and TypeMethod
public String
a(cys arg0, gjd arg1, bwz arg2, int arg3, cyq arg4)
get(ItemStack arg0, ClientLevel arg1, LivingEntity arg2, int arg3, ItemDisplayContext arg4)
method_65678(class_1799 arg0, class_638 arg1, class_1309 arg2, int arg3, class_811 arg4)
getValue(ItemStack arg0, ClientWorld arg1, LivingEntity arg2, int arg3, ModelTransformationMode arg4)
public SelectItemModelProperty$Type<CustomModelDataProperty, String>
a()
type()
method_65674()
getType()
public com.mojang.serialization.Codec<String>
b()
valueCodec()
method_67287()
method_67287()
public int
c()
index()
comp_3415()
index()