Class ItemPredicate.Builder

java.lang.Object
net.minecraft.predicate.item.ItemPredicate.Builder
Enclosing class:
ItemPredicate

public static class ItemPredicate.Builder extends Object
Mappings:
Namespace Name
named net/minecraft/predicate/item/ItemPredicate$Builder
intermediary net/minecraft/class_2073$class_2074
official cp$a
  • Field Details

    • item

      Mappings:
      Namespace Name Mixin selector
      named item Lnet/minecraft/predicate/item/ItemPredicate$Builder;item:Ljava/util/Optional;
      intermediary field_9650 Lnet/minecraft/class_2073$class_2074;field_9650:Ljava/util/Optional;
      official a Lcp$a;a:Ljava/util/Optional;
    • count

      private NumberRange.IntRange count
      Mappings:
      Namespace Name Mixin selector
      named count Lnet/minecraft/predicate/item/ItemPredicate$Builder;count:Lnet/minecraft/predicate/NumberRange$IntRange;
      intermediary field_9648 Lnet/minecraft/class_2073$class_2074;field_9648:Lnet/minecraft/class_2096$class_2100;
      official b Lcp$a;b:Lde$d;
    • componentPredicate

      private ComponentPredicate componentPredicate
      Mappings:
      Namespace Name Mixin selector
      named componentPredicate Lnet/minecraft/predicate/item/ItemPredicate$Builder;componentPredicate:Lnet/minecraft/predicate/ComponentPredicate;
      intermediary field_49235 Lnet/minecraft/class_2073$class_2074;field_49235:Lnet/minecraft/class_9329;
      official c Lcp$a;c:Lkk;
    • subPredicates

      Mappings:
      Namespace Name Mixin selector
      named subPredicates Lnet/minecraft/predicate/item/ItemPredicate$Builder;subPredicates:Lcom/google/common/collect/ImmutableMap$Builder;
      intermediary field_49803 Lnet/minecraft/class_2073$class_2074;field_49803:Lcom/google/common/collect/ImmutableMap$Builder;
      official d Lcp$a;d:Lcom/google/common/collect/ImmutableMap$Builder;
  • Constructor Details

    • Builder

      private Builder()
  • Method Details

    • create

      public static ItemPredicate.Builder create()
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/predicate/item/ItemPredicate$Builder;create()Lnet/minecraft/predicate/item/ItemPredicate$Builder;
      intermediary method_8973 Lnet/minecraft/class_2073$class_2074;method_8973()Lnet/minecraft/class_2073$class_2074;
      official a Lcp$a;a()Lcp$a;
    • items

      public ItemPredicate.Builder items(ItemConvertible[] items)
      Mappings:
      Namespace Name Mixin selector
      named items Lnet/minecraft/predicate/item/ItemPredicate$Builder;items([Lnet/minecraft/item/ItemConvertible;)Lnet/minecraft/predicate/item/ItemPredicate$Builder;
      intermediary method_8977 Lnet/minecraft/class_2073$class_2074;method_8977([Lnet/minecraft/class_1935;)Lnet/minecraft/class_2073$class_2074;
      official a Lcp$a;a([Ldby;)Lcp$a;
    • tag

      public ItemPredicate.Builder tag(TagKey<Item> tag)
      Mappings:
      Namespace Name Mixin selector
      named tag Lnet/minecraft/predicate/item/ItemPredicate$Builder;tag(Lnet/minecraft/registry/tag/TagKey;)Lnet/minecraft/predicate/item/ItemPredicate$Builder;
      intermediary method_8975 Lnet/minecraft/class_2073$class_2074;method_8975(Lnet/minecraft/class_6862;)Lnet/minecraft/class_2073$class_2074;
      official a Lcp$a;a(Laxf;)Lcp$a;
    • count

      Mappings:
      Namespace Name Mixin selector
      named count Lnet/minecraft/predicate/item/ItemPredicate$Builder;count(Lnet/minecraft/predicate/NumberRange$IntRange;)Lnet/minecraft/predicate/item/ItemPredicate$Builder;
      intermediary method_35233 Lnet/minecraft/class_2073$class_2074;method_35233(Lnet/minecraft/class_2096$class_2100;)Lnet/minecraft/class_2073$class_2074;
      official a Lcp$a;a(Lde$d;)Lcp$a;
    • subPredicate

      public <T extends ItemSubPredicate> ItemPredicate.Builder subPredicate(ItemSubPredicate.Type<T> type, T subPredicate)
      Mappings:
      Namespace Name Mixin selector
      named subPredicate Lnet/minecraft/predicate/item/ItemPredicate$Builder;subPredicate(Lnet/minecraft/predicate/item/ItemSubPredicate$Type;Lnet/minecraft/predicate/item/ItemSubPredicate;)Lnet/minecraft/predicate/item/ItemPredicate$Builder;
      intermediary method_58179 Lnet/minecraft/class_2073$class_2074;method_58179(Lnet/minecraft/class_9360$class_8745;Lnet/minecraft/class_9360;)Lnet/minecraft/class_2073$class_2074;
      official a Lcp$a;a(Lcq$a;Lcq;)Lcp$a;
    • component

      public ItemPredicate.Builder component(ComponentPredicate componentPredicate)
      Mappings:
      Namespace Name Mixin selector
      named component Lnet/minecraft/predicate/item/ItemPredicate$Builder;component(Lnet/minecraft/predicate/ComponentPredicate;)Lnet/minecraft/predicate/item/ItemPredicate$Builder;
      intermediary method_57299 Lnet/minecraft/class_2073$class_2074;method_57299(Lnet/minecraft/class_9329;)Lnet/minecraft/class_2073$class_2074;
      official a Lcp$a;a(Lkk;)Lcp$a;
    • build

      public ItemPredicate build()
      Mappings:
      Namespace Name Mixin selector
      named build Lnet/minecraft/predicate/item/ItemPredicate$Builder;build()Lnet/minecraft/predicate/item/ItemPredicate;
      intermediary method_8976 Lnet/minecraft/class_2073$class_2074;method_8976()Lnet/minecraft/class_2073;
      official b Lcp$a;b()Lcp;