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

public record ComponentContents<T>

implements SelectItemModelProperty<T>

hgg
net.minecraft.client.renderer.item.properties.select.ComponentContents
net.minecraft.class_10653
net.minecraft.client.render.item.property.select.ComponentProperty

Field summary

Modifier and TypeField
private final DataComponentType<T>
a
componentType
comp_3532
componentType
private static final SelectItemModelProperty$Type<? extends ComponentContents<?>, ?>
b
TYPE
field_56122
TYPE

Constructor summary

ModifierConstructor
public (DataComponentType<T> arg0)

Method summary

Modifier and TypeMethod
private static <T> SelectItemModelProperty$Type<ComponentContents<T>, T>
e()
createType()
method_66864()
createType()
public static <T> SelectItemModelProperty$Type<ComponentContents<T>, T>
c()
castType()
method_66862()
getTypeInstance()
public T
b(cys arg0, gjd arg1, bwz arg2, int arg3, cyq arg4)
get(ItemStack arg0, ClientLevel arg1, LivingEntity arg2, int arg3, ItemDisplayContext arg4)
method_65676(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<ComponentContents<T>, T>
a()
type()
method_65674()
getType()
public com.mojang.serialization.Codec<T>
b()
valueCodec()
method_67287()
method_67287()
public DataComponentType<T>
d()
componentType()
comp_3532()
componentType()