Class EnchantmentsPredicate.Enchantments

java.lang.Object
net.minecraft.predicate.item.EnchantmentsPredicate
net.minecraft.predicate.item.EnchantmentsPredicate.Enchantments
All Implemented Interfaces:
ComponentSubPredicate<ItemEnchantmentsComponent>, ItemSubPredicate
Enclosing class:
EnchantmentsPredicate

public static class EnchantmentsPredicate.Enchantments extends EnchantmentsPredicate
Mappings:
Namespace Name
named net/minecraft/predicate/item/EnchantmentsPredicate$Enchantments
intermediary net/minecraft/class_9356$class_9357
official cl$a
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<EnchantmentsPredicate.Enchantments> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/predicate/item/EnchantmentsPredicate$Enchantments;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_49800 Lnet/minecraft/class_9356$class_9357;field_49800:Lcom/mojang/serialization/Codec;
      official a Lcl$a;a:Lcom/mojang/serialization/Codec;
  • Constructor Details

    • Enchantments

      protected Enchantments(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> Lcl;<init>(Ljava/util/List;)V
  • Method Details

    • getComponentType

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