net.minecraft.advancements.critereon

public record ItemAttributeModifiersPredicate

implements SingleComponentItemPredicate<ItemAttributeModifiers>

cf
net.minecraft.advancements.critereon.ItemAttributeModifiersPredicate
net.minecraft.class_9653
net.minecraft.predicate.item.AttributeModifiersPredicate
net.minecraft.src.C_313792_
net.minecraft.advancements.critereon.ItemAttributeModifiersPredicate

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public DataComponentType<ItemAttributeModifiers>
a()
componentType()
method_58163()
getComponentType()
m_318698_()
public boolean
a(cur arg0, cxm arg1)
matches(ItemStack arg0, ItemAttributeModifiers arg1)
method_59669(class_1799 arg0, class_9285 arg1)
test(ItemStack arg0, AttributeModifiersComponent arg1)
m_318913_(C_1391_ p_328619_, C_313447_ arg1)
public Optional<CollectionPredicate<ItemAttributeModifiers$Entry, ItemAttributeModifiersPredicate$EntryPredicate>>
b()
modifiers()
comp_2623()
modifiers()
f_315820_()