net.minecraft.predicate.item

public record ItemPredicate

implements Predicate<ItemStack>

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

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
a(dhp 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_151427_()
public NumberRange$IntRange
b()
count()
comp_1785()
count()
m_llqjqmpt()
count()
f_45031_()
public ComponentsPredicate
c()
components()
comp_2374()
components()
m_zghitfpg()
components()
f_316810_()