net.minecraft.advancements.critereon

public class PlayerHurtEntityTrigger$TriggerInstance

extends AbstractCriterionTriggerInstance

All mapped superinterfaces:

SimpleCriterionTrigger$SimpleInstance, CriterionTriggerInstance

cp$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<DamagePredicate>
a
damage
field_9736
damage
f_60136_
private final Optional<ContextAwarePredicate>
b
entity
field_9737
entity
f_60137_

Constructor summary

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

Method summary

Modifier and TypeMethod
public static Criterion<PlayerHurtEntityTrigger$TriggerInstance>
c()
playerHurtEntity()
method_35298()
create()
m_156061_()
public static Criterion<PlayerHurtEntityTrigger$TriggerInstance>
a(Optional<be> arg0)
playerHurtEntityWithDamage(Optional<DamagePredicate> arg0)
method_35296(Optional<class_2019> arg0)
method_35296(Optional<DamagePredicate> arg0)
m_296020_(Optional<C_665_> p_297888_)
public static Criterion<PlayerHurtEntityTrigger$TriggerInstance>
a(be$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<bq> arg0)
playerHurtEntity(Optional<EntityPredicate> arg0)
method_35295(Optional<class_2048> arg0)
create(Optional<EntityPredicate> entity)
m_156058_(Optional<C_1147_> p_297304_)
public static Criterion<PlayerHurtEntityTrigger$TriggerInstance>
a(Optional<be> arg0, Optional<bq> 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(be$a arg0, Optional<bq> 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(akr arg0, ecq arg1, bho 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 com.google.gson.JsonObject
a()
serializeToJson()
method_807()
toJson()
m_7683_()