Record Class DataComponentPredicate.AttributeModifierPredicate

java.lang.Object
java.lang.Record
net.minestom.server.instance.block.predicate.DataComponentPredicate.AttributeModifierPredicate
Record Components:
attribute - The type of attribute to match, or null to ignore
id - The attribute ID to match, or null to ignore
amount - The attribute's amount to match, or null to ignore
operation - The attribute's operation to match, or null to ignore
slot - The attribute's equipment slot to match, or null to ignore
All Implemented Interfaces:
Predicate<AttributeList.Modifier>
Enclosing interface:
DataComponentPredicate

public static record DataComponentPredicate.AttributeModifierPredicate(@Nullable Attribute attribute, @Nullable Key id, Range.Double amount, @Nullable AttributeOperation operation, @Nullable EquipmentSlotGroup slot) extends Record implements Predicate<AttributeList.Modifier>
Tests an attribute modifier.