net.minecraft.advancements.critereon

public record ItemPredicate

implements Predicate<ItemStack>

cv
net.minecraft.advancements.critereon.ItemPredicate
net.minecraft.class_2073
net.minecraft.unmapped.C_afravpde
net.minecraft.predicate.item.ItemPredicate
net.minecraft.predicate.item.ItemPredicate
net.minecraft.src.C_1529_
net.minecraft.advancements.critereon.CriterionConditionItem

Field summary

Modifier and TypeField
private final Optional<HolderSet<Item>>
b
items
comp_1784
f_zipcqdwu
items
items
f_151427_
private final MinMaxBounds$Ints
c
count
comp_1785
f_unmuvhdr
count
count
f_45031_
private final DataComponentPredicate
d
components
comp_2374
f_lngaevuf
components
components
f_316810_
private final Map<ItemSubPredicate$Type<?>, ItemSubPredicate>
e
subPredicates
comp_2462
f_mdddrquk
subPredicates
subPredicates
f_315090_
public static final com.mojang.serialization.Codec<ItemPredicate>
a
CODEC
field_45754
f_jzkgbumt
CODEC
CODEC
f_291722_

Constructor summary

ModifierConstructor
public (Optional<HolderSet<Item>> items, MinMaxBounds$Ints count, DataComponentPredicate components, Map<ItemSubPredicate$Type<?>, ItemSubPredicate> subPredicates)

Method summary

Modifier and TypeMethod
public boolean
a(cwq arg0)
test(ItemStack arg0)
method_8970(class_1799 arg0)
m_uheeiqzx(C_sddaxwyk arg0)
test(ItemStack stack)
test(ItemStack stack)
test(C_1391_ arg0)
public Optional<HolderSet<Item>>
a()
items()
comp_1784()
m_hyxdkyle()
items()
items()
f_151427_()
public MinMaxBounds$Ints
b()
count()
comp_1785()
m_llqjqmpt()
count()
count()
f_45031_()
public DataComponentPredicate
c()
components()
comp_2374()
m_zghitfpg()
components()
components()
f_316810_()
public Map<ItemSubPredicate$Type<?>, ItemSubPredicate>
d()
subPredicates()
comp_2462()
m_toxibuvf()
subPredicates()
subPredicates()
f_315090_()