net.minecraft.advancement.criterion

public class ItemPredicate

av
net.minecraft.class_3200
net.minecraft.advancement.criterion.ItemPredicate
net.minecraft.advancements.criterion.ItemPredicate
net.minecraft.advancements.criterion.ItemPredicate

Field summary

Modifier and TypeField
public static final ItemPredicate
a
field_15710
ANY
field_192495_a
ANY
private final Tag<Item>
b
field_17421
tag
field_200018_b
tag
private final Item
c
field_15711
item
field_192496_b
item
private final NumberPredicate$Ints
d
field_15713
count
field_192498_d
count
private final NumberPredicate$Ints
e
field_15714
durability
field_193444_e
durability
private final EnchantmentPredicate[]
f
field_15715
enchantments
field_192499_e
enchantments
private final Potion
g
field_15716
potion
field_192500_f
potion
private final NbtPredicate
h
field_15717
nbt
field_193445_h
nbt

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
a(ate arg0)
method_14294(class_1071 arg0)
matches(ItemStack item)
func_192493_a(ItemStack arg0)
test(ItemStack item)
public static ItemPredicate
a(com.google.gson.JsonElement arg0)
method_16171(com.google.gson.JsonElement arg0)
fromJson(com.google.gson.JsonElement json)
func_192492_a(com.google.gson.JsonElement arg0)
deserialize(com.google.gson.JsonElement element)
public com.google.gson.JsonElement
a()
method_16170()
toJson()
func_200319_a()
serialize()
public static ItemPredicate[]
b(com.google.gson.JsonElement arg0)
method_14296(com.google.gson.JsonElement arg0)
fromJsonArray(com.google.gson.JsonElement json)
func_192494_b(com.google.gson.JsonElement arg0)
deserializeArray(com.google.gson.JsonElement element)