net.minecraft.advancements.critereon

public abstract class ItemEnchantmentsPredicate

implements SingleComponentItemPredicate<ItemEnchantments>

cl
net.minecraft.advancements.critereon.ItemEnchantmentsPredicate
net.minecraft.class_9356
net.minecraft.predicate.item.EnchantmentsPredicate
net.minecraft.src.C_313531_
net.minecraft.advancements.critereon.ItemEnchantmentsPredicate

Field summary

Modifier and TypeField
private final List<EnchantmentPredicate>
a
enchantments
field_49799
enchantments
f_314663_

Constructor summary

ModifierConstructor
protected (List<EnchantmentPredicate> enchantments)

Method summary

Modifier and TypeMethod
public static <T extends ItemEnchantmentsPredicate> com.mojang.serialization.Codec<T>
a(Function<List<bp>, T> arg0)
codec(Function<List<EnchantmentPredicate>, T> arg0)
method_58174(Function<List<class_2035>, T> arg0)
createCodec(Function<List<EnchantmentPredicate>, T> predicateFunction)
m_325020_(Function<List<C_924_>, T> p_330847_)
protected List<EnchantmentPredicate>
b()
enchantments()
method_58175()
getEnchantments()
m_321691_()
public boolean
a(cur arg0, dah arg1)
matches(ItemStack arg0, ItemEnchantments arg1)
method_58172(class_1799 arg0, class_9304 arg1)
test(ItemStack arg0, ItemEnchantmentsComponent arg1)
m_318913_(C_1391_ p_331461_, C_313873_ arg1)
public static ItemEnchantmentsPredicate$Enchantments
a(List<bp> arg0)
enchantments(List<EnchantmentPredicate> arg0)
method_58173(List<class_2035> arg0)
enchantments(List<EnchantmentPredicate> enchantments)
m_319224_(List<C_924_> p_334509_)
public static ItemEnchantmentsPredicate$StoredEnchantments
b(List<bp> arg0)
storedEnchantments(List<EnchantmentPredicate> arg0)
method_58176(List<class_2035> arg0)
storedEnchantments(List<EnchantmentPredicate> storedEnchantments)
m_322731_(List<C_924_> p_331491_)