net.minecraft.advancements.critereon

public class ItemPredicate

bo
net.minecraft.advancements.critereon.ItemPredicate
net.minecraft.class_2073
net.minecraft.predicate.item.ItemPredicate
net.minecraft.advancements.criterion.ItemPredicate
net.minecraft.server.v1_16_R1.CriterionConditionItem

Field summary

Modifier and TypeField
public static final ItemPredicate
a
ANY
field_9640
ANY
field_192495_a
private final Tag<Item>
b
tag
field_9643
tag
field_200018_b
private final Item
c
item
field_9644
item
field_192496_b
private final MinMaxBounds$Ints
d
count
field_9641
count
field_192498_d
private final MinMaxBounds$Ints
e
durability
field_9646
durability
field_193444_e
private final EnchantmentPredicate[]
f
enchantments
field_9647
enchantments
field_192499_e
private final EnchantmentPredicate[]
g
storedEnchantments
field_20689
storedEnchantments
field_226656_g_
private final Potion
h
potion
field_9642
potion
field_192500_f
private final NbtPredicate
i
nbt
field_9645
nbt
field_193445_h

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
a(bki arg0)
matches(ItemStack arg0)
method_8970(class_1799 arg0)
test(ItemStack stack)
func_192493_a(ItemStack arg0)
public static ItemPredicate
a(com.google.gson.JsonElement arg0)
fromJson(com.google.gson.JsonElement arg0)
method_8969(com.google.gson.JsonElement arg0)
fromJson(com.google.gson.JsonElement el)
func_192492_a(com.google.gson.JsonElement arg0)
public com.google.gson.JsonElement
a()
serializeToJson()
method_8971()
toJson()
func_200319_a()
public static ItemPredicate[]
b(com.google.gson.JsonElement arg0)
fromJsonArray(com.google.gson.JsonElement arg0)
method_8972(com.google.gson.JsonElement arg0)
deserializeAll(com.google.gson.JsonElement el)
func_192494_b(com.google.gson.JsonElement arg0)