net.minecraft.advancements.critereon

public record TameAnimalTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

dc$a
net.minecraft.advancements.critereon.TameAnimalTrigger$TriggerInstance
net.minecraft.class_2131$class_2133
net.minecraft.advancement.criterion.TameAnimalCriterion$Conditions
net.minecraft.src.C_2393_$C_2394_
net.minecraft.advancements.critereon.CriterionTriggerTamedAnimal$a

Field summary

Modifier and TypeField
private final Optional<ContextAwarePredicate>
b
player
comp_2029
player
f_303748_
private final Optional<ContextAwarePredicate>
c
entity
comp_2094
entity
f_68844_
public static final com.mojang.serialization.Codec<TameAnimalTrigger$TriggerInstance>
a
CODEC
field_47344
CODEC
f_302578_

Constructor summary

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

Method summary

Modifier and TypeMethod
public static Criterion<TameAnimalTrigger$TriggerInstance>
b()
tamedAnimal()
method_9138()
any()
m_68854_()
public static Criterion<TameAnimalTrigger$TriggerInstance>
a(bp$a arg0)
tamedAnimal(EntityPredicate$Builder arg0)
method_16114(class_2048$class_2049 arg0)
create(EntityPredicate$Builder entity)
m_68848_(C_1147_$C_1149_ p_299185_)
public boolean
a(egw arg0)
matches(LootContext arg0)
method_9139(class_47 arg0)
matches(LootContext entity)
m_68852_(C_2811_ arg0)
public void
a(bc 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<ContextAwarePredicate>
c()
entity()
comp_2094()
entity()
f_68844_()