net.minecraft.server.v1_14_R1

public class CriterionConditionItem

bc
net.minecraft.class_2073
net.minecraft.predicate.item.ItemPredicate
net.minecraft.advancements.criterion.ItemPredicate
net.minecraft.server.v1_14_R1.CriterionConditionItem

Field summary

Modifier and TypeField
public static final CriterionConditionItem
a
field_9640
ANY
field_192495_a
private final Tag<Item>
b
field_9643
tag
field_200018_b
private final Item
c
field_9644
item
field_192496_b
private final CriterionConditionValue$IntegerRange
d
field_9641
count
field_192498_d
private final CriterionConditionValue$IntegerRange
e
field_9646
durability
field_193444_e
private final CriterionConditionEnchantments[]
f
field_9647
enchantments
field_192499_e
private final PotionRegistry
g
field_9642
potion
field_192500_f
private final CriterionConditionNBT
h
field_9645
nbt
field_193445_h

Constructor summary

ModifierConstructor
public ()
public (Tag<Item> arg0, Item arg1, CriterionConditionValue$IntegerRange arg2, CriterionConditionValue$IntegerRange arg3, CriterionConditionEnchantments[] arg4, PotionRegistry arg5, CriterionConditionNBT arg6)

Method summary

Modifier and TypeMethod
public boolean
a(bce arg0)
method_8970(class_1799 arg0)
test(ItemStack arg0)
func_192493_a(ItemStack arg0)
public static CriterionConditionItem
a(com.google.gson.JsonElement arg0)
method_8969(com.google.gson.JsonElement arg0)
deserialize(com.google.gson.JsonElement arg0)
func_192492_a(com.google.gson.JsonElement arg0)
public com.google.gson.JsonElement
a()
method_8971()
serialize()
func_200319_a()
public static CriterionConditionItem[]
b(com.google.gson.JsonElement arg0)
method_8972(com.google.gson.JsonElement arg0)
deserializeAll(com.google.gson.JsonElement arg0)
func_192494_b(com.google.gson.JsonElement arg0)