net.minecraft.advancements.critereon

public record ItemAttributeModifiersPredicate

implements SingleComponentItemPredicate<ItemAttributeModifiers>

ck
net.minecraft.advancements.critereon.ItemAttributeModifiersPredicate
net.minecraft.class_9653
net.minecraft.predicate.item.AttributeModifiersPredicate
net.minecraft.advancements.critereon.ItemAttributeModifiersPredicate

Field summary

Modifier and TypeField
private final Optional<CollectionPredicate<ItemAttributeModifiers$Entry, ItemAttributeModifiersPredicate$EntryPredicate>>
c
modifiers
comp_2623
modifiers
public static final com.mojang.serialization.Codec<ItemAttributeModifiersPredicate>
a
CODEC
field_51378
CODEC

Constructor summary

ModifierConstructor
public (Optional<CollectionPredicate<ItemAttributeModifiers$Entry, ItemAttributeModifiersPredicate$EntryPredicate>> arg0)

Method summary

Modifier and TypeMethod
public DataComponentType<ItemAttributeModifiers>
a()
componentType()
method_58163()
getComponentType()
public boolean
a(cwq arg0, czh arg1)
matches(ItemStack arg0, ItemAttributeModifiers arg1)
method_59669(class_1799 arg0, class_9285 arg1)
test(ItemStack arg0, AttributeModifiersComponent arg1)
public Optional<CollectionPredicate<ItemAttributeModifiers$Entry, ItemAttributeModifiersPredicate$EntryPredicate>>
b()
modifiers()
comp_2623()
modifiers()