net.minecraft.advancements.critereon

public record ItemPredicate

ca
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<TagKey<Item>>
b
tag
comp_1783
f_baffcgsf
tag
tag
f_45029_
private final Optional<HolderSet<Item>>
c
items
comp_1784
f_zipcqdwu
items
items
f_151427_
private final MinMaxBounds$Ints
d
count
comp_1785
f_unmuvhdr
count
count
f_45031_
private final MinMaxBounds$Ints
e
durability
comp_1786
f_bywmemnt
durability
durability
f_45032_
private final List<EnchantmentPredicate>
f
enchantments
comp_1787
f_rumeafbo
enchantments
enchantments
f_45033_
private final List<EnchantmentPredicate>
g
storedEnchantments
comp_1788
f_rujewyja
storedEnchantments
storedEnchantments
f_45034_
private final Optional<Holder<Potion>>
h
potion
comp_1789
f_gmzwedyh
potion
potion
f_45035_
private final Optional<NbtPredicate>
i
nbt
comp_1790
f_gzmnszun
nbt
nbt
f_45036_
private static final com.mojang.serialization.Codec<HolderSet<Item>>
j
ITEMS_CODEC
field_45755
f_kxoywlvh
ITEM_ENTRY_LIST_CODEC
f_291586_
public static final com.mojang.serialization.Codec<ItemPredicate>
a
CODEC
field_45754
f_jzkgbumt
CODEC
f_291722_

Constructor summary

ModifierConstructor
public (Optional<TagKey<Item>> tag, Optional<HolderSet<Item>> items, MinMaxBounds$Ints count, MinMaxBounds$Ints durability, List<EnchantmentPredicate> enchantments, List<EnchantmentPredicate> storedEnchantments, Optional<Holder<Potion>> potion, Optional<NbtPredicate> nbt)

Method summary

Modifier and TypeMethod
public boolean
a(cmy arg0)
matches(ItemStack arg0)
method_8970(class_1799 arg0)
m_wzsvfrqv(C_sddaxwyk arg0)
test(ItemStack stack)
test(ItemStack stack)
m_45049_(C_1391_ arg0)
public Optional<TagKey<Item>>
a()
tag()
comp_1783()
m_qhyotoaf()
tag()
tag()
f_45029_()
public Optional<HolderSet<Item>>
b()
items()
comp_1784()
m_hyxdkyle()
items()
items()
f_151427_()
public MinMaxBounds$Ints
c()
count()
comp_1785()
m_llqjqmpt()
count()
count()
f_45031_()
public MinMaxBounds$Ints
d()
durability()
comp_1786()
m_mvplhhmf()
durability()
durability()
f_45032_()
public List<EnchantmentPredicate>
e()
enchantments()
comp_1787()
m_tljjpewk()
enchantments()
enchantments()
f_45033_()
public List<EnchantmentPredicate>
f()
storedEnchantments()
comp_1788()
m_ilqqhbno()
storedEnchantments()
storedEnchantments()
f_45034_()
public Optional<Holder<Potion>>
g()
potion()
comp_1789()
m_qfmekyto()
potion()
potion()
f_45035_()
public Optional<NbtPredicate>
h()
nbt()
comp_1790()
m_jfcpnrbu()
nbt()
nbt()
f_45036_()