net.minecraft.advancements.critereon

public abstract class ItemEnchantmentsPredicate

implements SingleComponentItemPredicate<ItemEnchantments>

cq
net.minecraft.advancements.critereon.ItemEnchantmentsPredicate
net.minecraft.class_9356
net.minecraft.predicate.item.EnchantmentsPredicate
net.minecraft.advancements.critereon.ItemEnchantmentsPredicate

Field summary

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

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<bs>, T> arg0)
codec(Function<List<EnchantmentPredicate>, T> arg0)
method_58174(Function<List<class_2035>, T> arg0)
createCodec(Function<List<EnchantmentPredicate>, T> predicateFunction)
protected List<EnchantmentPredicate>
b()
enchantments()
method_58175()
getEnchantments()
public boolean
a(cwq arg0, ddg arg1)
matches(ItemStack arg0, ItemEnchantments arg1)
method_58172(class_1799 arg0, class_9304 arg1)
test(ItemStack arg0, ItemEnchantmentsComponent arg1)
public static ItemEnchantmentsPredicate$Enchantments
a(List<bs> arg0)
enchantments(List<EnchantmentPredicate> arg0)
method_58173(List<class_2035> arg0)
enchantments(List<EnchantmentPredicate> enchantments)
public static ItemEnchantmentsPredicate$StoredEnchantments
b(List<bs> arg0)
storedEnchantments(List<EnchantmentPredicate> arg0)
method_58176(List<class_2035> arg0)
storedEnchantments(List<EnchantmentPredicate> storedEnchantments)