net.minecraft.advancements.critereon

public record EnchantmentPredicate

bl
net.minecraft.advancements.critereon.EnchantmentPredicate
net.minecraft.class_2035
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
enchantment
f_30466_
private final MinMaxBounds$Ints
c
level
comp_1749
levels
f_30467_
public static final com.mojang.serialization.Codec<EnchantmentPredicate>
a
CODEC
field_45741
CODEC
f_291880_

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
a(Map<cno, Integer> arg0)
containedIn(Map<Enchantment, Integer> arg0)
method_8880(Map<class_1887, Integer> arg0)
test(Map<Enchantment, Integer> enchantments)
m_30476_(Map<C_1505_, Integer> arg0)
public Optional<Holder<Enchantment>>
a()
enchantment()
comp_1748()
enchantment()
f_30466_()
public MinMaxBounds$Ints
b()
level()
comp_1749()
levels()
f_30467_()