Package net.minecraft.predicate.item
Class EnchantmentsPredicate.StoredEnchantments
java.lang.Object
net.minecraft.predicate.item.EnchantmentsPredicate
net.minecraft.predicate.item.EnchantmentsPredicate.StoredEnchantments
- All Implemented Interfaces:
ComponentSubPredicate<ItemEnchantmentsComponent>,ItemSubPredicate
- Enclosing class:
EnchantmentsPredicate
- Mappings:
Namespace Name official cg$bintermediary net/minecraft/class_9356$class_9358named net/minecraft/predicate/item/EnchantmentsPredicate$StoredEnchantments
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.predicate.item.EnchantmentsPredicate
EnchantmentsPredicate.Enchantments, EnchantmentsPredicate.StoredEnchantmentsNested classes/interfaces inherited from interface net.minecraft.predicate.item.ItemSubPredicate
ItemSubPredicate.Type<T extends ItemSubPredicate> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<EnchantmentsPredicate.StoredEnchantments> Fields inherited from interface net.minecraft.predicate.item.ItemSubPredicate
PREDICATES_MAP_CODEC -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedStoredEnchantments(List<EnchantmentPredicate> enchantments) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class net.minecraft.predicate.item.EnchantmentsPredicate
createCodec, enchantments, getEnchantments, storedEnchantments, testMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.predicate.item.ComponentSubPredicate
test
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official aLcg$b;a:Lcom/mojang/serialization/Codec;intermediary field_49801Lnet/minecraft/class_9356$class_9358;field_49801:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/predicate/item/EnchantmentsPredicate$StoredEnchantments;CODEC:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
StoredEnchantments
- Mappings:
Namespace Name Mixin selector official <init>Lcg;<init>(Ljava/util/List;)Vintermediary <init>Lnet/minecraft/class_9356;<init>(Ljava/util/List;)Vnamed <init>Lnet/minecraft/predicate/item/EnchantmentsPredicate;<init>(Ljava/util/List;)V
-
-
Method Details
-
getComponentType
- Mappings:
Namespace Name Mixin selector official aLdi;a()Lkd;intermediary method_58163Lnet/minecraft/class_9365;method_58163()Lnet/minecraft/class_9331;named getComponentTypeLnet/minecraft/predicate/item/ComponentSubPredicate;getComponentType()Lnet/minecraft/component/DataComponentType;
-