net.minecraft.predicate.item

public record ItemPredicate

implements Predicate<ItemStack>

cg
net.minecraft.advancements.criterion.ItemPredicate
net.minecraft.class_2073
net.minecraft.predicate.item.ItemPredicate
net.minecraft.unmapped.C_afravpde
net.minecraft.predicate.item.ItemPredicate
net.minecraft.src.C_432289_

Field summary

Modifier and TypeField
private final Optional<RegistryEntryList<Item>>
b
items
comp_1784
items
f_zipcqdwu
items
f_434572_
private final NumberRange$IntRange
c
count
comp_1785
count
f_unmuvhdr
count
f_435063_
private final ComponentsPredicate
d
components
comp_2374
components
f_lngaevuf
components
f_436741_
public static final com.mojang.serialization.Codec<ItemPredicate>
a
CODEC
field_45754
CODEC
f_jzkgbumt
CODEC
f_435087_

Constructor summary

ModifierConstructor
public (Optional<RegistryEntryList<Item>> items, NumberRange$IntRange count, ComponentsPredicate components)

Method summary

Modifier and TypeMethod
public boolean
a(dlt arg0)
test(ItemStack arg0)
method_8970(class_1799 arg0)
test(ItemStack stack)
m_uheeiqzx(C_sddaxwyk arg0)
test(ItemStack stack)
test(C_1391_ arg0)
public Optional<RegistryEntryList<Item>>
a()
items()
comp_1784()
items()
m_hyxdkyle()
items()
f_434572_()
public NumberRange$IntRange
b()
count()
comp_1785()
count()
m_llqjqmpt()
count()
f_435063_()
public ComponentsPredicate
c()
components()
comp_2374()
components()
m_zghitfpg()
components()
f_436741_()