net.minecraft.advancements.critereon

public record UsingItemTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

dh$a
net.minecraft.advancements.critereon.UsingItemTrigger$TriggerInstance
net.minecraft.class_6409$class_6410
net.minecraft.unmapped.C_jtrqmgsq$C_nenbghty
net.minecraft.advancement.criterion.UsingItemCriterion$Conditions
net.minecraft.advancement.criterion.UsingItemCriterionTrigger$Conditions
net.minecraft.src.C_141427_$C_141428_
net.minecraft.advancements.critereon.UsingItemTrigger$a

Field summary

Modifier and TypeField
private final Optional<ContextAwarePredicate>
b
player
comp_2029
f_przvgiwo
player
player
f_303433_
private final Optional<ItemPredicate>
c
item
comp_2101
f_byhygkwo
item
item
f_163879_
public static final com.mojang.serialization.Codec<UsingItemTrigger$TriggerInstance>
a
CODEC
field_47353
f_scjcveeg
CODEC
CODEC
f_302252_

Constructor summary

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

Method summary

Modifier and TypeMethod
public static Criterion<UsingItemTrigger$TriggerInstance>
a(bp$a arg0, ca$a arg1)
lookingAt(EntityPredicate$Builder arg0, ItemPredicate$Builder arg1)
method_37265(class_2048$class_2049 arg0, class_2073$class_2074 arg1)
m_uclaewhf(C_kvkvpjlm$C_fnhnavbg arg0, C_afravpde$C_qwujnjpk arg1)
create(EntityPredicate$Builder player, ItemPredicate$Builder item)
create(EntityPredicate$Builder player, ItemPredicate$Builder item)
m_163883_(C_1147_$C_1149_ p_163884_, C_1529_$C_1530_ p_163885_)
public boolean
a(cmy arg0)
matches(ItemStack arg0)
method_37266(class_1799 arg0)
m_jfxcasmr(C_sddaxwyk arg0)
test(ItemStack stack)
test(ItemStack stack)
m_163886_(C_1391_ arg0)
public Optional<ContextAwarePredicate>
a()
player()
comp_2029()
m_klqamsnl()
player()
m_295156_()
public Optional<ItemPredicate>
b()
item()
comp_2101()
m_tfocbpnd()
item()
item()
f_163879_()