Interface ItemSubPredicate

All Known Subinterfaces:
ComponentSubPredicate<T>
All Known Implementing Classes:
AttributeModifiersPredicate, BundleContentsPredicate, ContainerPredicate, CustomDataPredicate, DamagePredicate, EnchantmentsPredicate, EnchantmentsPredicate.Enchantments, EnchantmentsPredicate.StoredEnchantments, FireworkExplosionPredicate, FireworksPredicate, JukeboxPlayablePredicate, PotionContentsPredicate, TrimPredicate, WritableBookContentPredicate, WrittenBookContentPredicate

public interface ItemSubPredicate
Mappings:
Namespace Name
named net/minecraft/predicate/item/ItemSubPredicate
intermediary net/minecraft/class_9360
official cv
  • Field Details

    • PREDICATES_MAP_CODEC

      static final com.mojang.serialization.Codec<Map<ItemSubPredicate.Type<?>,ItemSubPredicate>> PREDICATES_MAP_CODEC
      Mappings:
      Namespace Name Mixin selector
      named PREDICATES_MAP_CODEC Lnet/minecraft/predicate/item/ItemSubPredicate;PREDICATES_MAP_CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_49805 Lnet/minecraft/class_9360;field_49805:Lcom/mojang/serialization/Codec;
      official b Lcv;b:Lcom/mojang/serialization/Codec;
  • Method Details

    • test

      boolean test(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      named test Lnet/minecraft/predicate/item/ItemSubPredicate;test(Lnet/minecraft/item/ItemStack;)Z
      intermediary method_58161 Lnet/minecraft/class_9360;method_58161(Lnet/minecraft/class_1799;)Z
      official a Lcv;a(Lcxo;)Z