Uses of Record Class
net.minecraft.predicate.DamagePredicate
Packages that use DamagePredicate
-
Uses of DamagePredicate in net.minecraft.advancement.criterion
Fields in net.minecraft.advancement.criterion with type parameters of type DamagePredicateModifier 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.Methods in net.minecraft.advancement.criterion that return types with arguments of type DamagePredicateModifier and TypeMethodDescriptionEntityHurtPlayerCriterion.Conditions.damage()
Returns the value of thedamage
record component.PlayerHurtEntityCriterion.Conditions.damage()
Returns the value of thedamage
record component.Methods in net.minecraft.advancement.criterion with parameters of type DamagePredicateModifier and TypeMethodDescriptionEntityHurtPlayerCriterion.Conditions.create
(DamagePredicate predicate) Method parameters in net.minecraft.advancement.criterion with type arguments of type DamagePredicateModifier and TypeMethodDescriptionPlayerHurtEntityCriterion.Conditions.create
(Optional<DamagePredicate> damage, Optional<EntityPredicate> entity) PlayerHurtEntityCriterion.Conditions.createDamage
(Optional<DamagePredicate> damage) -
Uses of DamagePredicate in net.minecraft.predicate
Fields in net.minecraft.predicate with type parameters of type DamagePredicateModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<DamagePredicate> DamagePredicate.CODEC
Methods in net.minecraft.predicate that return DamagePredicate