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

public static class EnchantmentsPredicate.StoredEnchantments extends EnchantmentsPredicate
Mappings:
Namespace Name
named net/minecraft/predicate/item/EnchantmentsPredicate$StoredEnchantments
intermediary net/minecraft/class_9356$class_9358
official cp$b
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<EnchantmentsPredicate.StoredEnchantments> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/predicate/item/EnchantmentsPredicate$StoredEnchantments;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_49801 Lnet/minecraft/class_9356$class_9358;field_49801:Lcom/mojang/serialization/Codec;
      official a Lcp$b;a:Lcom/mojang/serialization/Codec;
  • Constructor Details

    • StoredEnchantments

      protected StoredEnchantments(List<EnchantmentPredicate> enchantments)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/predicate/item/EnchantmentsPredicate;<init>(Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_9356;<init>(Ljava/util/List;)V
      official <init> Lcp;<init>(Ljava/util/List;)V
  • Method Details

    • getComponentType

      public ComponentType<ItemEnchantmentsComponent> getComponentType()
      Mappings:
      Namespace Name Mixin selector
      named getComponentType Lnet/minecraft/predicate/item/ComponentSubPredicate;getComponentType()Lnet/minecraft/component/ComponentType;
      intermediary method_58163 Lnet/minecraft/class_9365;method_58163()Lnet/minecraft/class_9331;
      official a Ldz;a()Lkt;