Uses of Record Class
net.minecraft.advancements.predicates.DistancePredicate
Packages that use DistancePredicate
Package
Description
-
Uses of DistancePredicate in net.minecraft.advancements.predicates
Fields in net.minecraft.advancements.predicates with type parameters of type DistancePredicateModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DistancePredicate> DistancePredicate.CODECMethods in net.minecraft.advancements.predicates that return DistancePredicateModifier and TypeMethodDescriptionstatic DistancePredicateDistancePredicate.absolute(MinMaxBounds.Doubles absolute) static DistancePredicateDistancePredicate.horizontal(MinMaxBounds.Doubles horizontal) static DistancePredicateDistancePredicate.vertical(MinMaxBounds.Doubles y) -
Uses of DistancePredicate in net.minecraft.advancements.predicates.entity
Fields in net.minecraft.advancements.predicates.entity declared as DistancePredicateModifier and TypeFieldDescriptionprivate final DistancePredicateDistanceToPlayerPredicate.distanceThe field for thedistancerecord component.Methods in net.minecraft.advancements.predicates.entity that return DistancePredicateModifier and TypeMethodDescriptionDistanceToPlayerPredicate.distance()Returns the value of thedistancerecord component.Methods in net.minecraft.advancements.predicates.entity with parameters of type DistancePredicateModifier and TypeMethodDescriptionEntityPredicate.Builder.distance(DistancePredicate distanceToPlayer) Constructors in net.minecraft.advancements.predicates.entity with parameters of type DistancePredicateModifierConstructorDescriptionDistanceToPlayerPredicate(DistancePredicate distance) Creates an instance of aDistanceToPlayerPredicaterecord class. -
Uses of DistancePredicate in net.minecraft.advancements.triggers
Fields in net.minecraft.advancements.triggers with type parameters of type DistancePredicateModifier and TypeFieldDescriptionprivate final Optional<DistancePredicate> DistanceTrigger.TriggerInstance.distanceThe field for thedistancerecord component.private final Optional<DistancePredicate> FallAfterExplosionTrigger.TriggerInstance.distanceThe field for thedistancerecord component.private final Optional<DistancePredicate> LevitationTrigger.TriggerInstance.distanceThe field for thedistancerecord component.Methods in net.minecraft.advancements.triggers that return types with arguments of type DistancePredicateModifier and TypeMethodDescriptionDistanceTrigger.TriggerInstance.distance()Returns the value of thedistancerecord component.FallAfterExplosionTrigger.TriggerInstance.distance()Returns the value of thedistancerecord component.LevitationTrigger.TriggerInstance.distance()Returns the value of thedistancerecord component.Methods in net.minecraft.advancements.triggers with parameters of type DistancePredicateModifier and TypeMethodDescriptionFallAfterExplosionTrigger.TriggerInstance.fallAfterExplosion(DistancePredicate distance, EntityPredicate.Builder cause) DistanceTrigger.TriggerInstance.fallFromHeight(EntityPredicate.Builder player, DistancePredicate distance, LocationPredicate.Builder startPosition) LevitationTrigger.TriggerInstance.levitated(DistancePredicate distance) DistanceTrigger.TriggerInstance.rideEntityInLava(EntityPredicate.Builder player, DistancePredicate distance) DistanceTrigger.TriggerInstance.travelledThroughNether(DistancePredicate distance)