net.minecraft.advancements.critereon

public record EntityHurtPlayerTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

bw$a
net.minecraft.advancements.critereon.EntityHurtPlayerTrigger$TriggerInstance
net.minecraft.class_2044$class_2046
net.minecraft.advancement.criterion.EntityHurtPlayerCriterion$Conditions
net.minecraft.advancements.critereon.CriterionTriggerEntityHurtPlayer$a

Field summary

Modifier and TypeField
private final Optional<ContextAwarePredicate>
b
player
comp_2029
player
private final Optional<DamagePredicate>
c
damage
comp_2052
damage
public static final com.mojang.serialization.Codec<EntityHurtPlayerTrigger$TriggerInstance>
a
CODEC
field_47249
CODEC

Constructor summary

ModifierConstructor
public (Optional<ContextAwarePredicate> playerPredicate, Optional<DamagePredicate> damage)

Method summary

Modifier and TypeMethod
public static Criterion<EntityHurtPlayerTrigger$TriggerInstance>
b()
entityHurtPlayer()
method_35210()
create()
public static Criterion<EntityHurtPlayerTrigger$TriggerInstance>
a(bl arg0)
entityHurtPlayer(DamagePredicate arg0)
method_35209(class_2019 arg0)
create(DamagePredicate predicate)
public static Criterion<EntityHurtPlayerTrigger$TriggerInstance>
a(bl$a arg0)
entityHurtPlayer(DamagePredicate$Builder arg0)
method_8908(class_2019$class_2020 arg0)
create(DamagePredicate$Builder damageBuilder)
public boolean
a(are arg0, btc arg1, float arg2, float arg3, boolean arg4)
matches(ServerPlayer arg0, DamageSource arg1, float arg2, float arg3, boolean arg4)
method_8907(class_3222 arg0, class_1282 arg1, float arg2, float arg3, boolean arg4)
matches(ServerPlayerEntity player, DamageSource damageSource, float dealt, float taken, boolean blocked)
public Optional<ContextAwarePredicate>
a()
player()
comp_2029()
player()
public Optional<DamagePredicate>
c()
damage()
comp_2052()
damage()