Uses of Record Class
net.minecraft.predicate.entity.DistancePredicate
Packages that use DistancePredicate
-
Uses of DistancePredicate in net.minecraft.advancement.criterion
Fields in net.minecraft.advancement.criterion with type parameters of type DistancePredicateModifier and TypeFieldDescriptionprivate final Optional
<DistancePredicate> FallAfterExplosionCriterion.Conditions.distance
The field for thedistance
record component.private final Optional
<DistancePredicate> LevitationCriterion.Conditions.distance
The field for thedistance
record component.private final Optional
<DistancePredicate> TravelCriterion.Conditions.distance
The field for thedistance
record component.Methods in net.minecraft.advancement.criterion that return types with arguments of type DistancePredicateModifier and TypeMethodDescriptionFallAfterExplosionCriterion.Conditions.distance()
Returns the value of thedistance
record component.LevitationCriterion.Conditions.distance()
Returns the value of thedistance
record component.TravelCriterion.Conditions.distance()
Returns the value of thedistance
record component.Methods in net.minecraft.advancement.criterion with parameters of type DistancePredicateModifier and TypeMethodDescriptionFallAfterExplosionCriterion.Conditions.create
(DistancePredicate distance, EntityPredicate.Builder cause) LevitationCriterion.Conditions.create
(DistancePredicate distance) TravelCriterion.Conditions.fallFromHeight
(EntityPredicate.Builder entity, DistancePredicate distance, LocationPredicate.Builder startPos) TravelCriterion.Conditions.netherTravel
(DistancePredicate distance) TravelCriterion.Conditions.rideEntityInLava
(EntityPredicate.Builder entity, DistancePredicate distance) -
Uses of DistancePredicate in net.minecraft.predicate.entity
Fields in net.minecraft.predicate.entity with type parameters of type DistancePredicateModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<DistancePredicate> DistancePredicate.CODEC
private Optional
<DistancePredicate> EntityPredicate.Builder.distance
private final Optional
<DistancePredicate> EntityPredicate.distance
The field for thedistance
record component.Methods in net.minecraft.predicate.entity that return DistancePredicateModifier and TypeMethodDescriptionstatic DistancePredicate
DistancePredicate.absolute
(NumberRange.DoubleRange absolute) static DistancePredicate
DistancePredicate.horizontal
(NumberRange.DoubleRange horizontal) static DistancePredicate
DistancePredicate.y
(NumberRange.DoubleRange y) Methods in net.minecraft.predicate.entity that return types with arguments of type DistancePredicateModifier and TypeMethodDescriptionEntityPredicate.distance()
Returns the value of thedistance
record component.Methods in net.minecraft.predicate.entity with parameters of type DistancePredicate