net.minecraft.advancements.critereon

public record ConsumeItemTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

bf$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<ContextAwarePredicate>
b
player
comp_2029
player
f_303553_
private final Optional<ItemPredicate>
c
item
comp_2041
item
f_23697_
public static final com.mojang.serialization.Codec<ConsumeItemTrigger$TriggerInstance>
a
CODEC
field_47233
CODEC
f_302482_

Constructor summary

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

Method summary

Modifier and TypeMethod
public static Criterion<ConsumeItemTrigger$TriggerInstance>
b()
usedItem()
method_8827()
any()
m_23703_()
public static Criterion<ConsumeItemTrigger$TriggerInstance>
a(dcv arg0)
usedItem(ItemLike arg0)
method_8828(class_1935 arg0)
item(ItemConvertible item)
m_23707_(C_1595_ p_299577_)
public static Criterion<ConsumeItemTrigger$TriggerInstance>
a(cs$a arg0)
usedItem(ItemPredicate$Builder arg0)
method_35112(class_2073$class_2074 arg0)
predicate(ItemPredicate$Builder predicate)
m_148081_(C_1529_$C_1530_ p_297282_)
public boolean
a(cuq arg0)
matches(ItemStack arg0)
method_8826(class_1799 arg0)
matches(ItemStack stack)
m_23701_(C_1391_ arg0)
public Optional<ContextAwarePredicate>
a()
player()
comp_2029()
player()
m_295156_()
public Optional<ItemPredicate>
c()
item()
comp_2041()
item()
f_23697_()