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.advancement.criterion.PlayerInteractedWithEntityCriterion$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
player
f_303250_
private final Optional<ItemPredicate>
c
item
comp_2079
item
f_61511_
private final Optional<ContextAwarePredicate>
d
entity
comp_2080
entity
f_61512_
public static final com.mojang.serialization.Codec<PlayerInteractTrigger$TriggerInstance>
a
CODEC
field_47318
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)
create(Optional<LootContextPredicate> playerPredicate, ItemPredicate$Builder item, Optional<LootContextPredicate> 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)
create(ItemPredicate$Builder item, Optional<LootContextPredicate> 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)
test(ItemStack stack, LootContext entity)
m_61521_(C_1391_ p_61523_, C_2811_ arg1)
public void
a(bh arg0)
validate(CriterionValidator arg0)
method_54938(class_8944 arg0)
validate(LootContextPredicateValidator arg0)
m_7683_(C_302068_ arg0)
public Optional<ContextAwarePredicate>
a()
player()
comp_2029()
player()
m_295156_()
public Optional<ItemPredicate>
b()
item()
comp_2079()
item()
f_61511_()
public Optional<ContextAwarePredicate>
c()
entity()
comp_2080()
entity()
f_61512_()