net.minecraft.core.component.predicates

public record AttributeModifiersPredicate

implements SingleComponentItemPredicate<ItemAttributeModifiers>

kn
net.minecraft.core.component.predicates.AttributeModifiersPredicate
net.minecraft.class_9653
net.minecraft.predicate.item.AttributeModifiersPredicate

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public DataComponentType<ItemAttributeModifiers>
a()
componentType()
method_58163()
getComponentType()
public boolean
a(dbj arg0)
matches(ItemAttributeModifiers arg0)
method_59669(class_9285 arg0)
test(AttributeModifiersComponent arg0)
public Optional<CollectionPredicate<ItemAttributeModifiers$Entry, AttributeModifiersPredicate$EntryPredicate>>
b()
modifiers()
comp_2623()
modifiers()