net.minecraft.advancements.critereon

public record EnchantmentPredicate

bp
net.minecraft.advancements.critereon.EnchantmentPredicate
net.minecraft.class_2035
net.minecraft.unmapped.C_mybjijbl
net.minecraft.predicate.item.EnchantmentPredicate
net.minecraft.predicate.item.EnchantmentPredicate
net.minecraft.src.C_924_
net.minecraft.advancements.critereon.CriterionConditionEnchantments

Field summary

Modifier and TypeField
private final Optional<Holder<Enchantment>>
b
enchantment
comp_1748
f_hpjtfqjy
enchantment
enchantment
f_30466_
private final MinMaxBounds$Ints
c
level
comp_1749
f_gtfgsrms
levels
levels
f_30467_
public static final com.mojang.serialization.Codec<EnchantmentPredicate>
a
CODEC
field_45741
f_xabqhcry
CODEC
CODEC
f_291880_

Constructor summary

ModifierConstructor
public (Enchantment enchantment, MinMaxBounds$Ints levels)
public (Optional<Holder<Enchantment>> enchantment, MinMaxBounds$Ints levels)

Method summary

Modifier and TypeMethod
public boolean
a(dah arg0)
containedIn(ItemEnchantments arg0)
method_8880(class_9304 arg0)
m_ucdsbwam(C_qlclfxvn arg0)
test(ItemEnchantmentsComponent enchantmentsComponent)
test(ItemEnchantmentsComponent arg0)
m_30476_(C_313873_ arg0)
public Optional<Holder<Enchantment>>
a()
enchantment()
comp_1748()
m_bgqzbdhv()
enchantment()
enchantment()
f_30466_()
public MinMaxBounds$Ints
b()
level()
comp_1749()
m_ykqvsbmq()
levels()
level()
f_30467_()