net.minecraft.advancements.critereon

public record ConsumeItemTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

bg$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(jr<cxk> arg0, dhg arg1)
usedItem(HolderGetter<Item> arg0, ItemLike arg1)
method_8828(class_7871<class_1792> arg0, class_1935 arg1)
m_minxgizq(C_pzdchrcy<C_vorddnax> arg0, C_gmbqjnle arg1)
item(RegistryEntryLookup<Item> itemRegistry, ItemConvertible item)
m_23707_(C_254583_<C_1381_> p_367236_, C_1595_ p_299577_)
public static Criterion<ConsumeItemTrigger$TriggerInstance>
a(cu$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(cxo 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_()