Uses of Record Class
net.minecraft.predicate.DamagePredicate
-
Uses of DamagePredicate in net.minecraft.advancement.criterion
Modifier and TypeFieldDescriptionprivate final Optional
<DamagePredicate> EntityHurtPlayerCriterion.Conditions.damage
The field for thedamage
record component.private final Optional
<DamagePredicate> PlayerHurtEntityCriterion.Conditions.damage
The field for thedamage
record component.Modifier and TypeMethodDescriptionEntityHurtPlayerCriterion.Conditions.damage()
Returns the value of thedamage
record component.PlayerHurtEntityCriterion.Conditions.damage()
Returns the value of thedamage
record component.Modifier and TypeMethodDescriptionEntityHurtPlayerCriterion.Conditions.create
(DamagePredicate predicate) Modifier and TypeMethodDescriptionPlayerHurtEntityCriterion.Conditions.create
(Optional<DamagePredicate> damage, Optional<EntityPredicate> entity) PlayerHurtEntityCriterion.Conditions.createDamage
(Optional<DamagePredicate> damage) -
Uses of DamagePredicate in net.minecraft.predicate
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<DamagePredicate> DamagePredicate.CODEC