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 cw
  • 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 Lcw;a:Lcv$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 Lcw;b:Lcv$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 Lcw;c:Lcv$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 Lcw;d:Lcv$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 Lcw;e:Lcv$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 Lcw;f:Lcv$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 Lcw;g:Lcv$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 Lcw;h:Lcv$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 Lcw;i:Lcv$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 Lcw;j:Lcv$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 Lcw;k:Lcv$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 Lcw;l:Lcv$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 Lcw;m:Lcv$a;
    • JUKEBOX_PLAYABLE

      public static final ItemSubPredicate.Type<JukeboxPlayablePredicate> JUKEBOX_PLAYABLE
      Mappings:
      Namespace Name Mixin selector
      named JUKEBOX_PLAYABLE Lnet/minecraft/predicate/item/ItemSubPredicateTypes;JUKEBOX_PLAYABLE:Lnet/minecraft/predicate/item/ItemSubPredicate$Type;
      intermediary field_52024 Lnet/minecraft/class_9361;field_52024:Lnet/minecraft/class_9360$class_8745;
      official n Lcw;n:Lcv$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 Lcw;a(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lcv$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 Lcw;a(Lkd;)Lcv$a;