Uses of Class
net.minecraft.predicate.entity.DistancePredicate
-
Uses of DistancePredicate in net.minecraft.advancement.criterion
Modifier and TypeFieldDescriptionprivate final DistancePredicate
LevitationCriterion.Conditions.distance
private final DistancePredicate
TravelCriterion.Conditions.distance
Modifier and TypeMethodDescriptionLevitationCriterion.Conditions.create
(DistancePredicate distance) static TravelCriterion.Conditions
TravelCriterion.Conditions.fallFromHeight
(EntityPredicate.Builder entity, DistancePredicate distance, LocationPredicate startPos) static TravelCriterion.Conditions
TravelCriterion.Conditions.netherTravel
(DistancePredicate distance) static TravelCriterion.Conditions
TravelCriterion.Conditions.rideEntityInLava
(EntityPredicate.Builder entity, DistancePredicate distance) ModifierConstructorDescriptionConditions
(LootContextPredicate player, DistancePredicate distance, NumberRange.IntRange duration) Conditions
(Identifier id, LootContextPredicate entity, LocationPredicate startPos, DistancePredicate distance) -
Uses of DistancePredicate in net.minecraft.predicate.entity
Modifier and TypeFieldDescriptionstatic final DistancePredicate
DistancePredicate.ANY
private DistancePredicate
EntityPredicate.Builder.distance
private final DistancePredicate
EntityPredicate.distance
Modifier and TypeMethodDescriptionstatic DistancePredicate
DistancePredicate.absolute
(NumberRange.FloatRange absolute) static DistancePredicate
DistancePredicate.fromJson
(@Nullable JsonElement json) static DistancePredicate
DistancePredicate.horizontal
(NumberRange.FloatRange horizontal) static DistancePredicate
DistancePredicate.y
(NumberRange.FloatRange y) ModifierConstructorDescriptionprivate
EntityPredicate
(EntityTypePredicate type, DistancePredicate distance, LocationPredicate location, LocationPredicate steppingOn, EntityEffectPredicate effects, NbtPredicate nbt, EntityFlagsPredicate flags, EntityEquipmentPredicate equipment, TypeSpecificPredicate typeSpecific, @Nullable String team) (package private)
EntityPredicate
(EntityTypePredicate type, DistancePredicate distance, LocationPredicate location, LocationPredicate steppingOn, EntityEffectPredicate effects, NbtPredicate nbt, EntityFlagsPredicate flags, EntityEquipmentPredicate equipment, TypeSpecificPredicate typeSpecific, EntityPredicate vehicle, EntityPredicate passenger, EntityPredicate targetedEntity, @Nullable String team)