Uses of Record Class
net.minecraft.advancements.critereon.DamagePredicate
-
Uses of DamagePredicate in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DamagePredicate>
DamagePredicate.CODEC
private final Optional<DamagePredicate>
EntityHurtPlayerTrigger.TriggerInstance.damage
The field for thedamage
record component.private final Optional<DamagePredicate>
PlayerHurtEntityTrigger.TriggerInstance.damage
The field for thedamage
record component.Modifier and TypeMethodDescriptionEntityHurtPlayerTrigger.TriggerInstance.damage()
Returns the value of thedamage
record component.PlayerHurtEntityTrigger.TriggerInstance.damage()
Returns the value of thedamage
record component.Modifier and TypeMethodDescriptionEntityHurtPlayerTrigger.TriggerInstance.entityHurtPlayer
(DamagePredicate p_150188_) Modifier and TypeMethodDescriptionPlayerHurtEntityTrigger.TriggerInstance.playerHurtEntity
(Optional<DamagePredicate> p_299532_, Optional<EntityPredicate> p_298332_) PlayerHurtEntityTrigger.TriggerInstance.playerHurtEntityWithDamage
(Optional<DamagePredicate> p_297888_)