Package net.minecraft.predicate.item
Class ItemPredicate.Builder
java.lang.Object
net.minecraft.predicate.item.ItemPredicate.Builder
- Enclosing class:
ItemPredicate
- Mappings:
Namespace Name official ca$a
intermediary net/minecraft/class_2073$class_2074
named net/minecraft/predicate/item/ItemPredicate$Builder
-
Field Summary
Modifier and TypeFieldDescriptionprivate NumberRange.IntRange
private NumberRange.IntRange
private final ImmutableList.Builder<EnchantmentPredicate>
private Optional<RegistryEntryList<Item>>
private Optional<NbtPredicate>
private Optional<RegistryEntry<Potion>>
private final ImmutableList.Builder<EnchantmentPredicate>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
count
(NumberRange.IntRange count) static ItemPredicate.Builder
create()
durability
(NumberRange.IntRange durability) enchantment
(EnchantmentPredicate enchantment) items
(ItemConvertible[] items) nbt
(NbtCompound nbt) storedEnchantment
(EnchantmentPredicate enchantment)
-
Field Details
-
enchantments
- Mappings:
Namespace Name Mixin selector official a
Lca$a;a:Lcom/google/common/collect/ImmutableList$Builder;
intermediary field_9649
Lnet/minecraft/class_2073$class_2074;field_9649:Lcom/google/common/collect/ImmutableList$Builder;
named enchantments
Lnet/minecraft/predicate/item/ItemPredicate$Builder;enchantments:Lcom/google/common/collect/ImmutableList$Builder;
-
storedEnchantments
- Mappings:
Namespace Name Mixin selector official b
Lca$a;b:Lcom/google/common/collect/ImmutableList$Builder;
intermediary field_20690
Lnet/minecraft/class_2073$class_2074;field_20690:Lcom/google/common/collect/ImmutableList$Builder;
named storedEnchantments
Lnet/minecraft/predicate/item/ItemPredicate$Builder;storedEnchantments:Lcom/google/common/collect/ImmutableList$Builder;
-
item
- Mappings:
Namespace Name Mixin selector official c
Lca$a;c:Ljava/util/Optional;
intermediary field_9650
Lnet/minecraft/class_2073$class_2074;field_9650:Ljava/util/Optional;
named item
Lnet/minecraft/predicate/item/ItemPredicate$Builder;item:Ljava/util/Optional;
-
tag
- Mappings:
Namespace Name Mixin selector official d
Lca$a;d:Ljava/util/Optional;
intermediary field_9652
Lnet/minecraft/class_2073$class_2074;field_9652:Ljava/util/Optional;
named tag
Lnet/minecraft/predicate/item/ItemPredicate$Builder;tag:Ljava/util/Optional;
-
count
- Mappings:
Namespace Name Mixin selector official e
Lca$a;e:Lck$d;
intermediary field_9648
Lnet/minecraft/class_2073$class_2074;field_9648:Lnet/minecraft/class_2096$class_2100;
named count
Lnet/minecraft/predicate/item/ItemPredicate$Builder;count:Lnet/minecraft/predicate/NumberRange$IntRange;
-
durability
- Mappings:
Namespace Name Mixin selector official f
Lca$a;f:Lck$d;
intermediary field_9653
Lnet/minecraft/class_2073$class_2074;field_9653:Lnet/minecraft/class_2096$class_2100;
named durability
Lnet/minecraft/predicate/item/ItemPredicate$Builder;durability:Lnet/minecraft/predicate/NumberRange$IntRange;
-
potion
- Mappings:
Namespace Name Mixin selector official g
Lca$a;g:Ljava/util/Optional;
intermediary field_9651
Lnet/minecraft/class_2073$class_2074;field_9651:Ljava/util/Optional;
named potion
Lnet/minecraft/predicate/item/ItemPredicate$Builder;potion:Ljava/util/Optional;
-
nbt
- Mappings:
Namespace Name Mixin selector official h
Lca$a;h:Ljava/util/Optional;
intermediary field_9654
Lnet/minecraft/class_2073$class_2074;field_9654:Ljava/util/Optional;
named nbt
Lnet/minecraft/predicate/item/ItemPredicate$Builder;nbt:Ljava/util/Optional;
-
-
Constructor Details
-
Builder
private Builder()
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector official a
Lca$a;a()Lca$a;
intermediary method_8973
Lnet/minecraft/class_2073$class_2074;method_8973()Lnet/minecraft/class_2073$class_2074;
named create
Lnet/minecraft/predicate/item/ItemPredicate$Builder;create()Lnet/minecraft/predicate/item/ItemPredicate$Builder;
-
items
- Mappings:
Namespace Name Mixin selector official a
Lca$a;a([Lcto;)Lca$a;
intermediary method_8977
Lnet/minecraft/class_2073$class_2074;method_8977([Lnet/minecraft/class_1935;)Lnet/minecraft/class_2073$class_2074;
named items
Lnet/minecraft/predicate/item/ItemPredicate$Builder;items([Lnet/minecraft/item/ItemConvertible;)Lnet/minecraft/predicate/item/ItemPredicate$Builder;
-
tag
- Mappings:
Namespace Name Mixin selector official a
Lca$a;a(Lasw;)Lca$a;
intermediary method_8975
Lnet/minecraft/class_2073$class_2074;method_8975(Lnet/minecraft/class_6862;)Lnet/minecraft/class_2073$class_2074;
named tag
Lnet/minecraft/predicate/item/ItemPredicate$Builder;tag(Lnet/minecraft/registry/tag/TagKey;)Lnet/minecraft/predicate/item/ItemPredicate$Builder;
-
count
- Mappings:
Namespace Name Mixin selector official a
Lca$a;a(Lck$d;)Lca$a;
intermediary method_35233
Lnet/minecraft/class_2073$class_2074;method_35233(Lnet/minecraft/class_2096$class_2100;)Lnet/minecraft/class_2073$class_2074;
named count
Lnet/minecraft/predicate/item/ItemPredicate$Builder;count(Lnet/minecraft/predicate/NumberRange$IntRange;)Lnet/minecraft/predicate/item/ItemPredicate$Builder;
-
durability
- Mappings:
Namespace Name Mixin selector official b
Lca$a;b(Lck$d;)Lca$a;
intermediary method_35235
Lnet/minecraft/class_2073$class_2074;method_35235(Lnet/minecraft/class_2096$class_2100;)Lnet/minecraft/class_2073$class_2074;
named durability
Lnet/minecraft/predicate/item/ItemPredicate$Builder;durability(Lnet/minecraft/predicate/NumberRange$IntRange;)Lnet/minecraft/predicate/item/ItemPredicate$Builder;
-
potion
- Mappings:
Namespace Name Mixin selector official a
Lca$a;a(Lcow;)Lca$a;
intermediary method_35232
Lnet/minecraft/class_2073$class_2074;method_35232(Lnet/minecraft/class_1842;)Lnet/minecraft/class_2073$class_2074;
named potion
Lnet/minecraft/predicate/item/ItemPredicate$Builder;potion(Lnet/minecraft/potion/Potion;)Lnet/minecraft/predicate/item/ItemPredicate$Builder;
-
nbt
- Mappings:
Namespace Name Mixin selector official a
Lca$a;a(Lsn;)Lca$a;
intermediary method_20399
Lnet/minecraft/class_2073$class_2074;method_20399(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2073$class_2074;
named nbt
Lnet/minecraft/predicate/item/ItemPredicate$Builder;nbt(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/predicate/item/ItemPredicate$Builder;
-
enchantment
- Mappings:
Namespace Name Mixin selector official a
Lca$a;a(Lbk;)Lca$a;
intermediary method_8978
Lnet/minecraft/class_2073$class_2074;method_8978(Lnet/minecraft/class_2035;)Lnet/minecraft/class_2073$class_2074;
named enchantment
Lnet/minecraft/predicate/item/ItemPredicate$Builder;enchantment(Lnet/minecraft/predicate/item/EnchantmentPredicate;)Lnet/minecraft/predicate/item/ItemPredicate$Builder;
-
storedEnchantment
- Mappings:
Namespace Name Mixin selector official b
Lca$a;b(Lbk;)Lca$a;
intermediary method_35234
Lnet/minecraft/class_2073$class_2074;method_35234(Lnet/minecraft/class_2035;)Lnet/minecraft/class_2073$class_2074;
named storedEnchantment
Lnet/minecraft/predicate/item/ItemPredicate$Builder;storedEnchantment(Lnet/minecraft/predicate/item/EnchantmentPredicate;)Lnet/minecraft/predicate/item/ItemPredicate$Builder;
-
build
- Mappings:
Namespace Name Mixin selector official b
Lca$a;b()Lca;
intermediary method_8976
Lnet/minecraft/class_2073$class_2074;method_8976()Lnet/minecraft/class_2073;
named build
Lnet/minecraft/predicate/item/ItemPredicate$Builder;build()Lnet/minecraft/predicate/item/ItemPredicate;
-