net.minecraft.advancements.critereon

public record PlayerHurtEntityTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

dq$a
net.minecraft.advancements.critereon.PlayerHurtEntityTrigger$TriggerInstance
net.minecraft.class_2115$class_2117
net.minecraft.advancement.criterion.PlayerHurtEntityCriterion$Conditions
net.minecraft.advancements.critereon.CriterionTriggerPlayerHurtEntity$a

Field summary

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

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()
public static Criterion<PlayerHurtEntityTrigger$TriggerInstance>
a(Optional<bl> arg0)
playerHurtEntityWithDamage(Optional<DamagePredicate> arg0)
method_35296(Optional<class_2019> arg0)
createDamage(Optional<DamagePredicate> damage)
public static Criterion<PlayerHurtEntityTrigger$TriggerInstance>
a(bl$a arg0)
playerHurtEntityWithDamage(DamagePredicate$Builder arg0)
method_35297(class_2019$class_2020 arg0)
create(DamagePredicate$Builder damage)
public static Criterion<PlayerHurtEntityTrigger$TriggerInstance>
b(Optional<bx> arg0)
playerHurtEntity(Optional<EntityPredicate> arg0)
method_35295(Optional<class_2048> arg0)
createEntity(Optional<EntityPredicate> entity)
public static Criterion<PlayerHurtEntityTrigger$TriggerInstance>
a(Optional<bl> arg0, Optional<bx> 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)
public static Criterion<PlayerHurtEntityTrigger$TriggerInstance>
a(bl$a arg0, Optional<bx> 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)
public boolean
a(are arg0, evs arg1, btc 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)
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<DamagePredicate>
c()
damage()
comp_2077()
damage()
public Optional<ContextAwarePredicate>
d()
entity()
comp_2078()
entity()