Class EnchantmentsPredicate.StoredEnchantments
java.lang.Object
net.minecraft.core.component.predicates.EnchantmentsPredicate
net.minecraft.core.component.predicates.EnchantmentsPredicate.StoredEnchantments
- All Implemented Interfaces:
SingleComponentItemPredicate<ItemEnchantments>, DataComponentPredicate
- Enclosing class:
EnchantmentsPredicate
-
Nested Class Summary
Nested classes/interfaces inherited from class EnchantmentsPredicate
EnchantmentsPredicate.Enchantments, EnchantmentsPredicate.StoredEnchantmentsNested classes/interfaces inherited from interface DataComponentPredicate
DataComponentPredicate.AnyValueType, DataComponentPredicate.ConcreteType<T>, DataComponentPredicate.Single<T>, DataComponentPredicate.Type<T>, DataComponentPredicate.TypeBase<T> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<EnchantmentsPredicate.StoredEnchantments> Fields inherited from interface DataComponentPredicate
SINGLE_STREAM_CODEC, STREAM_CODEC -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedStoredEnchantments(List<EnchantmentPredicate> enchantments) -
Method Summary
Methods inherited from class EnchantmentsPredicate
codec, enchantments, enchantments, matches, storedEnchantmentsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface SingleComponentItemPredicate
matches
-
Field Details
-
CODEC
-
-
Constructor Details
-
StoredEnchantments
-
-
Method Details
-
componentType
-