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 cu$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 Lcu$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 Lcu$a;b:Ldj$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 Lcu$a;c:Lks;
    • 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 Lcu$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 Lcu$a;a()Lcu$a;
    • items

      public ItemPredicate.Builder items(RegistryEntryLookup<Item> itemRegistry, ItemConvertible[] items)
      Mappings:
      Namespace Name Mixin selector
      named items Lnet/minecraft/predicate/item/ItemPredicate$Builder;items(Lnet/minecraft/registry/RegistryEntryLookup;[Lnet/minecraft/item/ItemConvertible;)Lnet/minecraft/predicate/item/ItemPredicate$Builder;
      intermediary method_8977 Lnet/minecraft/class_2073$class_2074;method_8977(Lnet/minecraft/class_7871;[Lnet/minecraft/class_1935;)Lnet/minecraft/class_2073$class_2074;
      official a Lcu$a;a(Ljr;[Ldhg;)Lcu$a;
    • tag

      public ItemPredicate.Builder tag(RegistryEntryLookup<Item> itemRegistry, TagKey<Item> tag)
      Mappings:
      Namespace Name Mixin selector
      named tag Lnet/minecraft/predicate/item/ItemPredicate$Builder;tag(Lnet/minecraft/registry/RegistryEntryLookup;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_7871;Lnet/minecraft/class_6862;)Lnet/minecraft/class_2073$class_2074;
      official a Lcu$a;a(Ljr;Layk;)Lcu$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 Lcu$a;a(Ldj$d;)Lcu$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 Lcu$a;a(Lcv$a;Lcv;)Lcu$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 Lcu$a;a(Lks;)Lcu$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 Lcu$a;b()Lcu;