net.minecraft.advancements.critereon

public class ItemPredicate$Builder

cv$a
net.minecraft.advancements.critereon.ItemPredicate$Builder
net.minecraft.class_2073$class_2074
net.minecraft.predicate.item.ItemPredicate$Builder
net.minecraft.advancements.critereon.CriterionConditionItem$a

Field summary

Modifier and TypeField
private Optional<HolderSet<Item>>
a
items
field_9650
item
private MinMaxBounds$Ints
b
count
field_9648
count
private DataComponentPredicate
c
components
field_49235
componentPredicate
private final com.google.common.collect.ImmutableMap$Builder<ItemSubPredicate$Type<?>, ItemSubPredicate>
d
subPredicates
field_49803
subPredicates

Constructor summary

ModifierConstructor
private ()

Method summary

Modifier and TypeMethod
public static ItemPredicate$Builder
a()
item()
method_8973()
create()
public ItemPredicate$Builder
a(js<cwm> arg0, dgi... arg1)
of(HolderGetter<Item> arg0, ItemLike... arg1)
method_8977(class_7871<class_1792> arg0, class_1935... arg1)
items(RegistryEntryLookup<Item> itemRegistry, ItemConvertible... items)
public ItemPredicate$Builder
a(js<cwm> arg0, axf<cwm> arg1)
of(HolderGetter<Item> arg0, TagKey<Item> arg1)
method_8975(class_7871<class_1792> arg0, class_6862<class_1792> arg1)
tag(RegistryEntryLookup<Item> itemRegistry, TagKey<Item> tag)
public ItemPredicate$Builder
a(dk$d arg0)
withCount(MinMaxBounds$Ints arg0)
method_35233(class_2096$class_2100 arg0)
count(NumberRange$IntRange count)
public <T extends ItemSubPredicate> ItemPredicate$Builder
a(cw$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)
public ItemPredicate$Builder
a(kt arg0)
hasComponents(DataComponentPredicate arg0)
method_57299(class_9329 arg0)
component(ComponentPredicate componentPredicate)
public ItemPredicate
b()
build()
method_8976()
build()