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 cu
  • 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 Lcu;a:Lct$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 Lcu;b:Lct$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 Lcu;c:Lct$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 Lcu;d:Lct$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 Lcu;e:Lct$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 Lcu;f:Lct$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 Lcu;g:Lct$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 Lcu;h:Lct$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 Lcu;i:Lct$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 Lcu;j:Lct$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 Lcu;k:Lct$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 Lcu;l:Lct$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 Lcu;m:Lct$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 Lcu;n:Lct$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 Lcu;a(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lct$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 Lcu;a(Ljz;)Lct$a;