net.minecraft.advancements.critereon

public class ConsumeItemTrigger$TriggerInstance

extends AbstractCriterionTriggerInstance

All mapped superinterfaces:

SimpleCriterionTrigger$SimpleInstance, CriterionTriggerInstance

bb$a
net.minecraft.advancements.critereon.ConsumeItemTrigger$TriggerInstance
net.minecraft.class_2010$class_2012
net.minecraft.advancement.criterion.ConsumeItemCriterion$Conditions
net.minecraft.src.C_609_$C_610_
net.minecraft.advancements.critereon.CriterionTriggerConsumeItem$a

Field summary

Modifier and TypeField
private final Optional<ItemPredicate>
a
item
field_9513
item
f_23697_

Constructor summary

ModifierConstructor
public (Optional<ContextAwarePredicate> playerPredicate, Optional<ItemPredicate> item)

Method summary

Modifier and TypeMethod
public static Criterion<ConsumeItemTrigger$TriggerInstance>
c()
usedItem()
method_8827()
any()
m_23703_()
public static Criterion<ConsumeItemTrigger$TriggerInstance>
a(cpu arg0)
usedItem(ItemLike arg0)
method_8828(class_1935 arg0)
item(ItemConvertible item)
m_23707_(C_1595_ p_299577_)
public static Criterion<ConsumeItemTrigger$TriggerInstance>
a(cb$a arg0)
usedItem(ItemPredicate$Builder arg0)
method_35112(class_2073$class_2074 arg0)
predicate(ItemPredicate$Builder arg0)
m_148081_(C_1529_$C_1530_ p_297282_)
public boolean
a(cjf arg0)
matches(ItemStack arg0)
method_8826(class_1799 arg0)
matches(ItemStack stack)
m_23701_(C_1391_ arg0)
public com.google.gson.JsonObject
a()
serializeToJson()
method_807()
toJson()
m_7683_()