net.minecraft.advancements.critereon

public record TameAnimalTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

ei$a
net.minecraft.advancements.critereon.TameAnimalTrigger$TriggerInstance
net.minecraft.class_2131$class_2133
net.minecraft.advancement.criterion.TameAnimalCriterion$Conditions
net.minecraft.advancements.critereon.CriterionTriggerTamedAnimal$a

Field summary

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

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()
public static Criterion<TameAnimalTrigger$TriggerInstance>
a(bx$a arg0)
tamedAnimal(EntityPredicate$Builder arg0)
method_16114(class_2048$class_2049 arg0)
create(EntityPredicate$Builder entity)
public boolean
a(evs arg0)
matches(LootContext arg0)
method_9139(class_47 arg0)
matches(LootContext entity)
public void
a(bj arg0)
validate(CriterionValidator arg0)
method_54938(class_8944 arg0)
validate(LootContextPredicateValidator arg0)
public Optional<ContextAwarePredicate>
a()
player()
comp_2029()
player()
public Optional<ContextAwarePredicate>
c()
entity()
comp_2094()
entity()