Interface ItemSubPredicate

All Known Subinterfaces:
ComponentPredicate<T>
All Known Implementing Classes:
CustomDataPredicate, DamagePredicate, EnchantmentsPredicate, EnchantmentsPredicate.Enchantments, EnchantmentsPredicate.StoredEnchantments, PotionContentsPredicate

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

    • CODEC

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

    • test

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