net.minecraft.advancements.critereon

public record ItemAttributeModifiersPredicate$EntryPredicate

implements Predicate<ItemAttributeModifiers$Entry>

ck$a
net.minecraft.advancements.critereon.ItemAttributeModifiersPredicate$EntryPredicate
net.minecraft.class_9653$class_9654
net.minecraft.predicate.item.AttributeModifiersPredicate$AttributeModifierPredicate
net.minecraft.advancements.critereon.ItemAttributeModifiersPredicate$a

Field summary

Modifier and TypeField
private final Optional<HolderSet<Attribute>>
b
attribute
comp_2624
attribute
private final Optional<ResourceLocation>
c
id
comp_2625
id
private final MinMaxBounds$Doubles
d
amount
comp_2627
amount
private final Optional<AttributeModifier$Operation>
e
operation
comp_2628
operation
private final Optional<EquipmentSlotGroup>
f
slot
comp_2629
slot
public static final com.mojang.serialization.Codec<ItemAttributeModifiersPredicate$EntryPredicate>
a
CODEC
field_51379
CODEC

Constructor summary

ModifierConstructor
public (Optional<HolderSet<Attribute>> arg0, Optional<ResourceLocation> arg1, MinMaxBounds$Doubles arg2, Optional<AttributeModifier$Operation> arg3, Optional<EquipmentSlotGroup> arg4)

Method summary

Modifier and TypeMethod
public boolean
a(czh$b arg0)
test(ItemAttributeModifiers$Entry arg0)
method_59671(class_9285$class_9287 arg0)
test(AttributeModifiersComponent$Entry arg0)
public Optional<HolderSet<Attribute>>
a()
attribute()
comp_2624()
attribute()
public Optional<ResourceLocation>
b()
id()
comp_2625()
id()
public MinMaxBounds$Doubles
c()
amount()
comp_2627()
amount()
public Optional<AttributeModifier$Operation>
d()
operation()
comp_2628()
operation()
public Optional<EquipmentSlotGroup>
e()
slot()
comp_2629()
slot()