net.minecraft.advancements.critereon

public class ItemPredicate$Builder

bz$a
net.minecraft.advancements.critereon.ItemPredicate$Builder
net.minecraft.class_2073$class_2074
net.minecraft.predicate.item.ItemPredicate$Builder
net.minecraft.src.C_1529_$C_1530_
net.minecraft.advancements.critereon.CriterionConditionItem$a

Field summary

Modifier and TypeField
private final List<EnchantmentPredicate>
a
enchantments
field_9649
enchantments
f_45059_
private final List<EnchantmentPredicate>
b
storedEnchantments
field_20690
storedEnchantments
f_45060_
private Set<Item>
c
items
field_9650
item
f_151440_
private TagKey<Item>
d
tag
field_9652
tag
f_45062_
private MinMaxBounds$Ints
e
count
field_9648
count
f_45063_
private MinMaxBounds$Ints
f
durability
field_9653
durability
f_45064_
private Potion
g
potion
field_9651
potion
f_45065_
private NbtPredicate
h
nbt
field_9654
nbt
f_45066_

Constructor summary

ModifierConstructor
private ()

Method summary

Modifier and TypeMethod
public static ItemPredicate$Builder
a()
item()
method_8973()
create()
m_45068_()
public ItemPredicate$Builder
a(cml... arg0)
of(ItemLike... arg0)
method_8977(class_1935... arg0)
items(ItemConvertible... items)
m_151445_(C_1595_... arg0)
public ItemPredicate$Builder
a(anl<cfu> arg0)
of(TagKey<Item> arg0)
method_8975(class_6862<class_1792> arg0)
tag(TagKey<Item> tag)
m_204145_(C_203208_<C_1381_> arg0)
public ItemPredicate$Builder
a(cj$d arg0)
withCount(MinMaxBounds$Ints arg0)
method_35233(class_2096$class_2100 arg0)
count(NumberRange$IntRange count)
m_151443_(C_1863_$C_1867_ arg0)
public ItemPredicate$Builder
b(cj$d arg0)
hasDurability(MinMaxBounds$Ints arg0)
method_35235(class_2096$class_2100 arg0)
durability(NumberRange$IntRange durability)
m_151449_(C_1863_$C_1867_ arg0)
public ItemPredicate$Builder
a(chw arg0)
isPotion(Potion arg0)
method_35232(class_1842 arg0)
potion(Potion potion)
m_151441_(C_1440_ arg0)
public ItemPredicate$Builder
a(qr arg0)
hasNbt(CompoundTag arg0)
method_20399(class_2487 arg0)
nbt(NbtCompound nbt)
m_45075_(C_4917_ arg0)
public ItemPredicate$Builder
a(bj arg0)
hasEnchantment(EnchantmentPredicate arg0)
method_8978(class_2035 arg0)
enchantment(EnchantmentPredicate enchantment)
m_45071_(C_924_ arg0)
public ItemPredicate$Builder
b(bj arg0)
hasStoredEnchantment(EnchantmentPredicate arg0)
method_35234(class_2035 arg0)
storedEnchantment(EnchantmentPredicate enchantment)
m_151447_(C_924_ arg0)
public ItemPredicate
b()
build()
method_8976()
build()
m_45077_()