Uses of Record Class
net.minecraft.advancements.critereon.DistancePredicate
-
Uses of DistancePredicate in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<DistancePredicate> DistancePredicate.CODEC
private final Optional
<DistancePredicate> DistanceTrigger.TriggerInstance.distance
The field for thedistance
record component.private final Optional
<DistancePredicate> FallAfterExplosionTrigger.TriggerInstance.distance
The field for thedistance
record component.private final Optional
<DistancePredicate> LevitationTrigger.TriggerInstance.distance
The field for thedistance
record component.private Optional
<DistancePredicate> EntityPredicate.Builder.distanceToPlayer
private final Optional
<DistancePredicate> EntityPredicate.distanceToPlayer
The field for thedistanceToPlayer
record component.private Optional
<DistancePredicate> EntityPredicate.Builder.fallDistance
Modifier and TypeMethodDescriptionstatic DistancePredicate
DistancePredicate.absolute
(MinMaxBounds.Doubles p_148841_) static DistancePredicate
DistancePredicate.horizontal
(MinMaxBounds.Doubles p_148837_) static DistancePredicate
DistancePredicate.vertical
(MinMaxBounds.Doubles p_148839_) Modifier and TypeMethodDescriptionDistanceTrigger.TriggerInstance.distance()
Returns the value of thedistance
record component.FallAfterExplosionTrigger.TriggerInstance.distance()
Returns the value of thedistance
record component.LevitationTrigger.TriggerInstance.distance()
Returns the value of thedistance
record component.EntityPredicate.distanceToPlayer()
Returns the value of thedistanceToPlayer
record component.Modifier and TypeMethodDescriptionEntityPredicate.Builder.distance
(DistancePredicate p_36639_) FallAfterExplosionTrigger.TriggerInstance.fallAfterExplosion
(DistancePredicate p_335666_, EntityPredicate.Builder p_335823_) DistanceTrigger.TriggerInstance.fallFromHeight
(EntityPredicate.Builder p_186198_, DistancePredicate p_186199_, LocationPredicate.Builder p_299057_) LevitationTrigger.TriggerInstance.levitated
(DistancePredicate p_49145_) DistanceTrigger.TriggerInstance.rideEntityInLava
(EntityPredicate.Builder p_186195_, DistancePredicate p_186196_) DistanceTrigger.TriggerInstance.travelledThroughNether
(DistancePredicate p_186193_)