net.minecraft.advancements.critereon

public class ItemPredicate

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

Field summary

Modifier and TypeField
public static final ItemPredicate
a
ANY
field_9640
f_qcqwzfeh
ANY
f_45028_
private final Tag<Item>
b
tag
field_9643
f_baffcgsf
tag
f_45029_
private final Set<Item>
c
items
field_9644
f_zipcqdwu
items
f_151427_
private final MinMaxBounds$Ints
d
count
field_9641
f_unmuvhdr
count
f_45031_
private final MinMaxBounds$Ints
e
durability
field_9646
f_bywmemnt
durability
f_45032_
private final EnchantmentPredicate[]
f
enchantments
field_9647
f_rumeafbo
enchantments
f_45033_
private final EnchantmentPredicate[]
g
storedEnchantments
field_20689
f_rujewyja
storedEnchantments
f_45034_
private final Potion
h
potion
field_9642
f_gmzwedyh
potion
f_45035_
private final NbtPredicate
i
nbt
field_9645
f_gzmnszun
nbt
f_45036_

Constructor summary

ModifierConstructor
public ()
public (Tag<Item> tag, Set<Item> items, MinMaxBounds$Ints count, MinMaxBounds$Ints durability, EnchantmentPredicate[] enchantments, EnchantmentPredicate[] storedEnchantments, Potion potion, NbtPredicate nbt)

Method summary

Modifier and TypeMethod
public boolean
a(bqq arg0)
matches(ItemStack arg0)
method_8970(class_1799 arg0)
m_wzsvfrqv(C_sddaxwyk arg0)
test(ItemStack stack)
m_45049_(C_1391_ arg0)
public static ItemPredicate
a(com.google.gson.JsonElement arg0)
fromJson(com.google.gson.JsonElement arg0)
method_8969(com.google.gson.JsonElement arg0)
m_nqcovmeo(com.google.gson.JsonElement arg0)
fromJson(com.google.gson.JsonElement el)
m_45051_(com.google.gson.JsonElement p_45052_)
public com.google.gson.JsonElement
a()
serializeToJson()
method_8971()
m_utreslrr()
toJson()
m_45048_()
public static ItemPredicate[]
b(com.google.gson.JsonElement arg0)
fromJsonArray(com.google.gson.JsonElement arg0)
method_8972(com.google.gson.JsonElement arg0)
m_iftxvtov(com.google.gson.JsonElement arg0)
deserializeAll(com.google.gson.JsonElement el)
m_45055_(com.google.gson.JsonElement p_45056_)