net.minecraft.client.renderer.item.properties.conditional

public record ComponentMatches

implements ConditionalItemModelProperty

hfa
net.minecraft.client.renderer.item.properties.conditional.ComponentMatches
net.minecraft.class_10723
net.minecraft.class_10723

Field summary

Modifier and TypeField
private final DataComponentPredicate$Single<?>
b
predicate
comp_3612
predicate
public static final com.mojang.serialization.MapCodec<ComponentMatches>
a
MAP_CODEC
field_56367
field_56367

Constructor summary

ModifierConstructor
public (DataComponentPredicate$Single<?> arg0)

Method summary

Modifier and TypeMethod
public boolean
get(cys arg0, gjd arg1, bwz arg2, int arg3, cyq arg4)
get(ItemStack arg0, ClientLevel arg1, LivingEntity arg2, int arg3, ItemDisplayContext arg4)
method_65638(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 com.mojang.serialization.MapCodec<ComponentMatches>
a()
type()
method_65637()
getCodec()
public DataComponentPredicate$Single<?>
b()
predicate()
comp_3612()
predicate()