Class ItemSubPredicateTypes

java.lang.Object
net.minecraft.predicate.item.ItemSubPredicateTypes

public class ItemSubPredicateTypes extends Object
Mappings:
Namespace Name
named net/minecraft/predicate/item/ItemSubPredicateTypes
intermediary net/minecraft/class_9361
official cr
  • Field Details

    • DAMAGE

      public static final ItemSubPredicate.Type<DamagePredicate> DAMAGE
      Mappings:
      Namespace Name Mixin selector
      named DAMAGE Lnet/minecraft/predicate/item/ItemSubPredicateTypes;DAMAGE:Lnet/minecraft/predicate/item/ItemSubPredicate$Type;
      intermediary field_49806 Lnet/minecraft/class_9361;field_49806:Lnet/minecraft/class_9360$class_8745;
      official a Lcr;a:Lcq$a;
    • ENCHANTMENTS

      public static final ItemSubPredicate.Type<EnchantmentsPredicate.Enchantments> ENCHANTMENTS
      Mappings:
      Namespace Name Mixin selector
      named ENCHANTMENTS Lnet/minecraft/predicate/item/ItemSubPredicateTypes;ENCHANTMENTS:Lnet/minecraft/predicate/item/ItemSubPredicate$Type;
      intermediary field_49807 Lnet/minecraft/class_9361;field_49807:Lnet/minecraft/class_9360$class_8745;
      official b Lcr;b:Lcq$a;
    • STORED_ENCHANTMENTS

      public static final ItemSubPredicate.Type<EnchantmentsPredicate.StoredEnchantments> STORED_ENCHANTMENTS
      Mappings:
      Namespace Name Mixin selector
      named STORED_ENCHANTMENTS Lnet/minecraft/predicate/item/ItemSubPredicateTypes;STORED_ENCHANTMENTS:Lnet/minecraft/predicate/item/ItemSubPredicate$Type;
      intermediary field_49808 Lnet/minecraft/class_9361;field_49808:Lnet/minecraft/class_9360$class_8745;
      official c Lcr;c:Lcq$a;
    • POTION_CONTENTS

      public static final ItemSubPredicate.Type<PotionContentsPredicate> POTION_CONTENTS
      Mappings:
      Namespace Name Mixin selector
      named POTION_CONTENTS Lnet/minecraft/predicate/item/ItemSubPredicateTypes;POTION_CONTENTS:Lnet/minecraft/predicate/item/ItemSubPredicate$Type;
      intermediary field_49809 Lnet/minecraft/class_9361;field_49809:Lnet/minecraft/class_9360$class_8745;
      official d Lcr;d:Lcq$a;
    • CUSTOM_DATA

      public static final ItemSubPredicate.Type<CustomDataPredicate> CUSTOM_DATA
      Mappings:
      Namespace Name Mixin selector
      named CUSTOM_DATA Lnet/minecraft/predicate/item/ItemSubPredicateTypes;CUSTOM_DATA:Lnet/minecraft/predicate/item/ItemSubPredicate$Type;
      intermediary field_49810 Lnet/minecraft/class_9361;field_49810:Lnet/minecraft/class_9360$class_8745;
      official e Lcr;e:Lcq$a;
    • CONTAINER

      public static final ItemSubPredicate.Type<ContainerPredicate> CONTAINER
      Mappings:
      Namespace Name Mixin selector
      named CONTAINER Lnet/minecraft/predicate/item/ItemSubPredicateTypes;CONTAINER:Lnet/minecraft/predicate/item/ItemSubPredicate$Type;
      intermediary field_51386 Lnet/minecraft/class_9361;field_51386:Lnet/minecraft/class_9360$class_8745;
      official f Lcr;f:Lcq$a;
    • BUNDLE_CONTENTS

      public static final ItemSubPredicate.Type<BundleContentsPredicate> BUNDLE_CONTENTS
      Mappings:
      Namespace Name Mixin selector
      named BUNDLE_CONTENTS Lnet/minecraft/predicate/item/ItemSubPredicateTypes;BUNDLE_CONTENTS:Lnet/minecraft/predicate/item/ItemSubPredicate$Type;
      intermediary field_51387 Lnet/minecraft/class_9361;field_51387:Lnet/minecraft/class_9360$class_8745;
      official g Lcr;g:Lcq$a;
    • FIREWORK_EXPLOSION

      public static final ItemSubPredicate.Type<FireworkExplosionPredicate> FIREWORK_EXPLOSION
      Mappings:
      Namespace Name Mixin selector
      named FIREWORK_EXPLOSION Lnet/minecraft/predicate/item/ItemSubPredicateTypes;FIREWORK_EXPLOSION:Lnet/minecraft/predicate/item/ItemSubPredicate$Type;
      intermediary field_51388 Lnet/minecraft/class_9361;field_51388:Lnet/minecraft/class_9360$class_8745;
      official h Lcr;h:Lcq$a;
    • FIREWORKS

      public static final ItemSubPredicate.Type<FireworksPredicate> FIREWORKS
      Mappings:
      Namespace Name Mixin selector
      named FIREWORKS Lnet/minecraft/predicate/item/ItemSubPredicateTypes;FIREWORKS:Lnet/minecraft/predicate/item/ItemSubPredicate$Type;
      intermediary field_51389 Lnet/minecraft/class_9361;field_51389:Lnet/minecraft/class_9360$class_8745;
      official i Lcr;i:Lcq$a;
    • WRITABLE_BOOK_CONTENT

      public static final ItemSubPredicate.Type<WritableBookContentPredicate> WRITABLE_BOOK_CONTENT
      Mappings:
      Namespace Name Mixin selector
      named WRITABLE_BOOK_CONTENT Lnet/minecraft/predicate/item/ItemSubPredicateTypes;WRITABLE_BOOK_CONTENT:Lnet/minecraft/predicate/item/ItemSubPredicate$Type;
      intermediary field_51390 Lnet/minecraft/class_9361;field_51390:Lnet/minecraft/class_9360$class_8745;
      official j Lcr;j:Lcq$a;
    • WRITTEN_BOOK_CONTENT

      public static final ItemSubPredicate.Type<WrittenBookContentPredicate> WRITTEN_BOOK_CONTENT
      Mappings:
      Namespace Name Mixin selector
      named WRITTEN_BOOK_CONTENT Lnet/minecraft/predicate/item/ItemSubPredicateTypes;WRITTEN_BOOK_CONTENT:Lnet/minecraft/predicate/item/ItemSubPredicate$Type;
      intermediary field_51391 Lnet/minecraft/class_9361;field_51391:Lnet/minecraft/class_9360$class_8745;
      official k Lcr;k:Lcq$a;
    • ATTRIBUTE_MODIFIERS

      public static final ItemSubPredicate.Type<AttributeModifiersPredicate> ATTRIBUTE_MODIFIERS
      Mappings:
      Namespace Name Mixin selector
      named ATTRIBUTE_MODIFIERS Lnet/minecraft/predicate/item/ItemSubPredicateTypes;ATTRIBUTE_MODIFIERS:Lnet/minecraft/predicate/item/ItemSubPredicate$Type;
      intermediary field_51392 Lnet/minecraft/class_9361;field_51392:Lnet/minecraft/class_9360$class_8745;
      official l Lcr;l:Lcq$a;
    • TRIM

      public static final ItemSubPredicate.Type<TrimPredicate> TRIM
      Mappings:
      Namespace Name Mixin selector
      named TRIM Lnet/minecraft/predicate/item/ItemSubPredicateTypes;TRIM:Lnet/minecraft/predicate/item/ItemSubPredicate$Type;
      intermediary field_51393 Lnet/minecraft/class_9361;field_51393:Lnet/minecraft/class_9360$class_8745;
      official m Lcr;m:Lcq$a;
  • Constructor Details

    • ItemSubPredicateTypes

      public ItemSubPredicateTypes()
  • Method Details

    • register

      private static <T extends ItemSubPredicate> ItemSubPredicate.Type<T> register(String id, com.mojang.serialization.Codec<T> codec)
      Mappings:
      Namespace Name Mixin selector
      named register Lnet/minecraft/predicate/item/ItemSubPredicateTypes;register(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/predicate/item/ItemSubPredicate$Type;
      intermediary method_58180 Lnet/minecraft/class_9361;method_58180(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/class_9360$class_8745;
      official a Lcr;a(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lcq$a;
    • getDefault

      public static ItemSubPredicate.Type<?> getDefault(Registry<ItemSubPredicate.Type<?>> registry)
      Mappings:
      Namespace Name Mixin selector
      named getDefault Lnet/minecraft/predicate/item/ItemSubPredicateTypes;getDefault(Lnet/minecraft/registry/Registry;)Lnet/minecraft/predicate/item/ItemSubPredicate$Type;
      intermediary method_58181 Lnet/minecraft/class_9361;method_58181(Lnet/minecraft/class_2378;)Lnet/minecraft/class_9360$class_8745;
      official a Lcr;a(Ljw;)Lcq$a;