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 cs$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 Lcs$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 Lcs$a;b:Ldh$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 Lcs$a;c:Lko;
    • 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 Lcs$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 Lcs$a;a()Lcs$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 Lcs$a;a([Ldct;)Lcs$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 Lcs$a;a(Lawt;)Lcs$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 Lcs$a;a(Ldh$d;)Lcs$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 Lcs$a;a(Lct$a;Lct;)Lcs$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 Lcs$a;a(Lko;)Lcs$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 Lcs$a;b()Lcs;