net.minecraft.advancements.critereon

public record PlayerHurtEntityTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

di$a
net.minecraft.advancements.critereon.PlayerHurtEntityTrigger$TriggerInstance
net.minecraft.class_2115$class_2117
net.minecraft.advancement.criterion.PlayerHurtEntityCriterion$Conditions
net.minecraft.src.C_2045_$C_2046_
net.minecraft.advancements.critereon.CriterionTriggerPlayerHurtEntity$a

Field summary

Modifier and TypeField
private final Optional<ContextAwarePredicate>
b
player
comp_2029
player
f_302644_
private final Optional<DamagePredicate>
c
damage
comp_2077
damage
f_60136_
private final Optional<ContextAwarePredicate>
d
entity
comp_2078
entity
f_60137_
public static final com.mojang.serialization.Codec<PlayerHurtEntityTrigger$TriggerInstance>
a
CODEC
field_47317
CODEC
f_303849_

Constructor summary

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

Method summary

Modifier and TypeMethod
public static Criterion<PlayerHurtEntityTrigger$TriggerInstance>
b()
playerHurtEntity()
method_35298()
create()
m_156061_()
public static Criterion<PlayerHurtEntityTrigger$TriggerInstance>
a(Optional<bi> arg0)
playerHurtEntityWithDamage(Optional<DamagePredicate> arg0)
method_35296(Optional<class_2019> arg0)
createDamage(Optional<DamagePredicate> damage)
m_296020_(Optional<C_665_> p_297888_)
public static Criterion<PlayerHurtEntityTrigger$TriggerInstance>
a(bi$a arg0)
playerHurtEntityWithDamage(DamagePredicate$Builder arg0)
method_35297(class_2019$class_2020 arg0)
create(DamagePredicate$Builder damage)
m_295977_(C_665_$C_666_ p_297478_)
public static Criterion<PlayerHurtEntityTrigger$TriggerInstance>
b(Optional<bu> arg0)
playerHurtEntity(Optional<EntityPredicate> arg0)
method_35295(Optional<class_2048> arg0)
createEntity(Optional<EntityPredicate> entity)
m_156058_(Optional<C_1147_> p_297304_)
public static Criterion<PlayerHurtEntityTrigger$TriggerInstance>
a(Optional<bi> arg0, Optional<bu> arg1)
playerHurtEntity(Optional<DamagePredicate> arg0, Optional<EntityPredicate> arg1)
method_35294(Optional<class_2019> arg0, Optional<class_2048> arg1)
create(Optional<DamagePredicate> damage, Optional<EntityPredicate> entity)
m_156068_(Optional<C_665_> p_299532_, Optional<C_1147_> p_298332_)
public static Criterion<PlayerHurtEntityTrigger$TriggerInstance>
a(bi$a arg0, Optional<bu> arg1)
playerHurtEntity(DamagePredicate$Builder arg0, Optional<EntityPredicate> arg1)
method_9103(class_2019$class_2020 arg0, Optional<class_2048> arg1)
create(DamagePredicate$Builder damage, Optional<EntityPredicate> entity)
m_156066_(C_665_$C_666_ p_300965_, Optional<C_1147_> p_298699_)
public boolean
a(arg arg0, eqk arg1, brp arg2, float arg3, float arg4, boolean arg5)
matches(ServerPlayer arg0, LootContext arg1, DamageSource arg2, float arg3, float arg4, boolean arg5)
method_9104(class_3222 arg0, class_47 arg1, class_1282 arg2, float arg3, float arg4, boolean arg5)
matches(ServerPlayerEntity player, LootContext entity, DamageSource damageSource, float dealt, float taken, boolean blocked)
m_60142_(C_13_ p_60144_, C_2811_ p_60145_, C_489_ p_60146_, float p_60147_, float p_60148_, boolean arg5)
public void
a(bg 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<DamagePredicate>
c()
damage()
comp_2077()
damage()
f_60136_()
public Optional<ContextAwarePredicate>
d()
entity()
comp_2078()
entity()
f_60137_()