net.minecraft.advancements.critereon

public record PlayerInteractTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

dn$a
net.minecraft.advancements.critereon.PlayerInteractTrigger$TriggerInstance
net.minecraft.class_5409$class_5410
net.minecraft.unmapped.C_bvljsgzr$C_dwldgxex
net.minecraft.advancement.criterion.PlayerInteractedWithEntityCriterion$Conditions
net.minecraft.advancement.criterion.PlayerInteractedWithEntityCriterionTrigger$Conditions
net.minecraft.src.C_2086_$C_2087_
net.minecraft.advancements.critereon.CriterionTriggerPlayerInteractedWithEntity$a

Field summary

Modifier and TypeField
private final Optional<ContextAwarePredicate>
b
player
comp_2029
f_xpheeier
player
player
f_303250_
private final Optional<ItemPredicate>
c
item
comp_2079
f_vnlyypoa
item
item
f_61511_
private final Optional<ContextAwarePredicate>
d
entity
comp_2080
f_dzdeopor
entity
entity
f_61512_
public static final com.mojang.serialization.Codec<PlayerInteractTrigger$TriggerInstance>
a
CODEC
field_47318
f_rzjwyevu
CODEC
CODEC
f_303470_

Constructor summary

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

Method summary

Modifier and TypeMethod
public static Criterion<PlayerInteractTrigger$TriggerInstance>
a(Optional<bg> arg0, cs$a arg1, Optional<bg> arg2)
itemUsedOnEntity(Optional<ContextAwarePredicate> arg0, ItemPredicate$Builder arg1, Optional<ContextAwarePredicate> arg2)
method_30099(Optional<class_5258> arg0, class_2073$class_2074 arg1, Optional<class_5258> arg2)
m_tpsrnatg(Optional<C_ctsfmifk> arg0, C_afravpde$C_qwujnjpk arg1, Optional<C_ctsfmifk> arg2)
create(Optional<LootContextPredicate> playerPredicate, ItemPredicate$Builder item, Optional<LootContextPredicate> entity)
create(Optional<ContextAwarePredicate> player, ItemPredicate$Builder item, Optional<ContextAwarePredicate> entity)
m_285812_(Optional<C_285556_> p_297673_, C_1529_$C_1530_ p_286235_, Optional<C_285556_> p_301321_)
public static Criterion<PlayerInteractTrigger$TriggerInstance>
a(cs$a arg0, Optional<bg> arg1)
itemUsedOnEntity(ItemPredicate$Builder arg0, Optional<ContextAwarePredicate> arg1)
method_43278(class_2073$class_2074 arg0, Optional<class_5258> arg1)
m_lrrfisea(C_afravpde$C_qwujnjpk arg0, Optional<C_ctsfmifk> arg1)
create(ItemPredicate$Builder item, Optional<LootContextPredicate> entity)
create(ItemPredicate$Builder item, Optional<ContextAwarePredicate> entity)
m_285836_(C_1529_$C_1530_ p_286289_, Optional<C_285556_> p_297754_)
public boolean
a(cuq arg0, err arg1)
matches(ItemStack arg0, LootContext arg1)
method_30100(class_1799 arg0, class_47 arg1)
m_sxysgxiu(C_sddaxwyk arg0, C_iakykpgh arg1)
test(ItemStack stack, LootContext entity)
matches(ItemStack stack, LootContext context)
m_61521_(C_1391_ p_61523_, C_2811_ arg1)
public void
a(bh arg0)
validate(CriterionValidator arg0)
method_54938(class_8944 arg0)
m_mmotanow(C_zybjffid arg0)
validate(LootContextPredicateValidator arg0)
validate(CriterionValidator arg0)
m_7683_(C_302068_ arg0)
public Optional<ContextAwarePredicate>
a()
player()
comp_2029()
m_klqamsnl()
player()
player()
m_295156_()
public Optional<ItemPredicate>
b()
item()
comp_2079()
m_qetiwklz()
item()
item()
f_61511_()
public Optional<ContextAwarePredicate>
c()
entity()
comp_2080()
m_mzzbjulc()
entity()
entity()
f_61512_()