net.minecraft.advancements.critereon

public record EntityHurtPlayerTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

bt$a
net.minecraft.advancements.critereon.EntityHurtPlayerTrigger$TriggerInstance
net.minecraft.class_2044$class_2046
net.minecraft.advancement.criterion.EntityHurtPlayerCriterion$Conditions
net.minecraft.src.C_1109_$C_1110_
net.minecraft.advancements.critereon.CriterionTriggerEntityHurtPlayer$a

Field summary

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

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()
m_150189_()
public static Criterion<EntityHurtPlayerTrigger$TriggerInstance>
a(bi arg0)
entityHurtPlayer(DamagePredicate arg0)
method_35209(class_2019 arg0)
create(DamagePredicate predicate)
m_150187_(C_665_ p_150188_)
public static Criterion<EntityHurtPlayerTrigger$TriggerInstance>
a(bi$a arg0)
entityHurtPlayer(DamagePredicate$Builder arg0)
method_8908(class_2019$class_2020 arg0)
create(DamagePredicate$Builder damageBuilder)
m_35206_(C_665_$C_666_ p_35207_)
public boolean
a(arg arg0, brp 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)
m_35200_(C_13_ p_35202_, C_489_ p_35203_, float p_35204_, float p_35205_, boolean arg4)
public Optional<ContextAwarePredicate>
a()
player()
comp_2029()
player()
m_295156_()
public Optional<DamagePredicate>
c()
damage()
comp_2052()
damage()
f_35196_()