net.minecraft.advancements.critereon

public record EnchantmentPredicate

bl
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(Map<cno, Integer> arg0)
containedIn(Map<Enchantment, Integer> arg0)
method_8880(Map<class_1887, Integer> arg0)
m_ucdsbwam(Map<C_jxtrubuh, Integer> arg0)
test(Map<Enchantment, Integer> enchantments)
test(Map<Enchantment, Integer> enchantments)
m_30476_(Map<C_1505_, Integer> 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_()