net.minecraft.advancements.critereon

public class ItemPredicate$Builder

cs$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 Optional<HolderSet<Item>>
a
items
field_9650
item
f_151440_
private MinMaxBounds$Ints
b
count
field_9648
count
f_45063_
private DataComponentPredicate
c
components
field_49235
componentPredicate
f_314893_
private final com.google.common.collect.ImmutableMap$Builder<ItemSubPredicate$Type<?>, ItemSubPredicate>
d
subPredicates
field_49803
subPredicates
f_315904_

Constructor summary

ModifierConstructor
private ()

Method summary

Modifier and TypeMethod
public static ItemPredicate$Builder
a()
item()
method_8973()
create()
m_45068_()
public ItemPredicate$Builder
a(dcv... arg0)
of(ItemLike... arg0)
method_8977(class_1935... arg0)
items(ItemConvertible... items)
m_151445_(C_1595_... arg0)
public ItemPredicate$Builder
a(awu<cul> 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(dh$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 <T extends ItemSubPredicate> ItemPredicate$Builder
a(ct$a<T> arg0, T arg1)
withSubPredicate(ItemSubPredicate$Type<T> arg0, T arg1)
method_58179(class_9360$class_8745<T> arg0, T arg1)
subPredicate(ItemSubPredicate$Type<T> type, T subPredicate)
m_323078_(C_313771_$C_313589_<T> p_331877_, T arg1)
public ItemPredicate$Builder
a(ko arg0)
hasComponents(DataComponentPredicate arg0)
method_57299(class_9329 arg0)
component(ComponentPredicate componentPredicate)
m_324309_(C_313761_ arg0)
public ItemPredicate
b()
build()
method_8976()
build()
m_45077_()