net.minecraft.advancements.critereon

public record ConsumeItemTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

be$a
net.minecraft.advancements.critereon.ConsumeItemTrigger$TriggerInstance
net.minecraft.class_2010$class_2012
net.minecraft.unmapped.C_jffbmlem$C_bzfkzlig
net.minecraft.advancement.criterion.ConsumeItemCriterion$Conditions
net.minecraft.advancement.criterion.ConsumeItemCriterionTrigger$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
f_mupesueg
player
player
f_303553_
private final Optional<ItemPredicate>
c
item
comp_2041
f_wzmmnlpm
item
item
f_23697_
public static final com.mojang.serialization.Codec<ConsumeItemTrigger$TriggerInstance>
a
CODEC
field_47233
f_lvrkwotu
CODEC
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()
m_bnfgwlrc()
any()
create()
m_23703_()
public static Criterion<ConsumeItemTrigger$TriggerInstance>
a(dbz arg0)
usedItem(ItemLike arg0)
method_8828(class_1935 arg0)
m_vhyjraam(C_gmbqjnle arg0)
item(ItemConvertible item)
create(ItemConvertible item)
m_23707_(C_1595_ p_299577_)
public static Criterion<ConsumeItemTrigger$TriggerInstance>
a(cp$a arg0)
usedItem(ItemPredicate$Builder arg0)
method_35112(class_2073$class_2074 arg0)
m_jaokbhfr(C_afravpde$C_qwujnjpk arg0)
predicate(ItemPredicate$Builder predicate)
create(ItemPredicate$Builder builder)
m_148081_(C_1529_$C_1530_ p_297282_)
public boolean
a(cur arg0)
matches(ItemStack arg0)
method_8826(class_1799 arg0)
m_ouevtdvp(C_sddaxwyk arg0)
matches(ItemStack stack)
matches(ItemStack stack)
m_23701_(C_1391_ arg0)
public Optional<ContextAwarePredicate>
a()
player()
comp_2029()
m_klqamsnl()
player()
player()
m_295156_()
public Optional<ItemPredicate>
c()
item()
comp_2041()
m_qrpcmjpo()
item()
item()
f_23697_()