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_300967_) Modifier and TypeMethodDescriptionPlayerHurtEntityTrigger.TriggerInstance.playerHurtEntity
(Optional<DamagePredicate> p_301287_, Optional<EntityPredicate> p_300951_) PlayerHurtEntityTrigger.TriggerInstance.playerHurtEntityWithDamage
(Optional<DamagePredicate> p_300880_)