net.minecraft.core.component.predicates

public abstract class EnchantmentsPredicate

implements SingleComponentItemPredicate<ItemEnchantments>

ku
net.minecraft.core.component.predicates.EnchantmentsPredicate
net.minecraft.class_9356
net.minecraft.predicate.item.EnchantmentsPredicate

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 EnchantmentsPredicate> 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(dfl arg0)
matches(ItemEnchantments arg0)
method_58172(class_9304 arg0)
test(ItemEnchantmentsComponent arg0)
public static EnchantmentsPredicate$Enchantments
a(List<bs> arg0)
enchantments(List<EnchantmentPredicate> arg0)
method_58173(List<class_2035> arg0)
enchantments(List<EnchantmentPredicate> enchantments)
public static EnchantmentsPredicate$StoredEnchantments
b(List<bs> arg0)
storedEnchantments(List<EnchantmentPredicate> arg0)
method_58176(List<class_2035> arg0)
storedEnchantments(List<EnchantmentPredicate> storedEnchantments)