Package net.minecraft.predicate.item
Class EnchantmentsPredicate.Enchantments
java.lang.Object
net.minecraft.predicate.item.EnchantmentsPredicate
net.minecraft.predicate.item.EnchantmentsPredicate.Enchantments
- All Implemented Interfaces:
ComponentPredicate<ItemEnchantmentsComponent>
,ItemSubPredicate
- Enclosing class:
EnchantmentsPredicate
- Mappings:
Namespace Name official ce$a
intermediary net/minecraft/class_9356$class_9357
named net/minecraft/predicate/item/EnchantmentsPredicate$Enchantments
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.predicate.item.EnchantmentsPredicate
EnchantmentsPredicate.Enchantments, EnchantmentsPredicate.StoredEnchantments
Nested 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.Enchantments> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Enchantments
(List<EnchantmentPredicate> enchantmentPredicates) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class net.minecraft.predicate.item.EnchantmentsPredicate
enchantments, getCodec, getEnchantmentPredicates, storedEnchantments, test
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.predicate.item.ComponentPredicate
test
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Lce$a;a:Lcom/mojang/serialization/Codec;
intermediary field_49800
Lnet/minecraft/class_9356$class_9357;field_49800:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/predicate/item/EnchantmentsPredicate$Enchantments;CODEC:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
Enchantments
- Mappings:
Namespace Name Mixin selector official <init>
Lce;<init>(Ljava/util/List;)V
intermediary <init>
Lnet/minecraft/class_9356;<init>(Ljava/util/List;)V
named <init>
Lnet/minecraft/predicate/item/EnchantmentsPredicate;<init>(Ljava/util/List;)V
-
-
Method Details
-
getComponentType
- Mappings:
Namespace Name Mixin selector official a
Lde;a()Ljy;
intermediary method_58163
Lnet/minecraft/class_9365;method_58163()Lnet/minecraft/class_9331;
named getComponentType
Lnet/minecraft/predicate/item/ComponentPredicate;getComponentType()Lnet/minecraft/component/DataComponentType;
-