net.minecraft.predicate.item

public class EnchantmentsPredicate$StoredEnchantments

extends EnchantmentsPredicate

All mapped superinterfaces:

ComponentSubPredicate, ComponentPredicate

net.minecraft.core.component.predicates.EnchantmentsPredicate$StoredEnchantments
net.minecraft.class_9356$class_9358
net.minecraft.predicate.item.EnchantmentsPredicate$StoredEnchantments

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<EnchantmentsPredicate$StoredEnchantments>
CODEC
field_49801
CODEC

Constructor summary

ModifierConstructor
protected (List<EnchantmentPredicate> enchantments)

Method summary

Modifier and TypeMethod
public ComponentType<ItemEnchantmentsComponent>
componentType()
method_58163()
getComponentType()
public boolean
matches(Object appliedEnchantments)
method_58167(Object arg0)
test(Object arg0)