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 ks
  • 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 Lks;b:Lcom/mojang/serialization/Codec;
  • Method Details

    • method_67301

      static com.mojang.serialization.MapCodec<ItemSubPredicate.class_10727<?>> method_67301(String string)
      Mappings:
      Namespace Name Mixin selector
      named method_67301 Lnet/minecraft/predicate/item/ItemSubPredicate;method_67301(Ljava/lang/String;)Lcom/mojang/serialization/MapCodec;
      intermediary method_67301 Lnet/minecraft/class_9360;method_67301(Ljava/lang/String;)Lcom/mojang/serialization/MapCodec;
      official a Lks;a(Ljava/lang/String;)Lcom/mojang/serialization/MapCodec;
    • test

      boolean test(ComponentsAccess componentsAccess)
      Mappings:
      Namespace Name Mixin selector
      named test Lnet/minecraft/predicate/item/ItemSubPredicate;test(Lnet/minecraft/component/ComponentsAccess;)Z
      intermediary method_58161 Lnet/minecraft/class_9360;method_58161(Lnet/minecraft/class_9473;)Z
      official a Lks;a(Lke;)Z