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
(EntityPredicate.Extended player, DistancePredicate distance, NumberRange.IntRange duration) Conditions
(Identifier id, EntityPredicate.Extended 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, PlayerPredicate player, FishingHookPredicate fishingHook, LightningBoltPredicate lightningBolt, @Nullable String team, @Nullable Identifier catType) (package private)
EntityPredicate
(EntityTypePredicate type, DistancePredicate distance, LocationPredicate location, LocationPredicate steppingOn, EntityEffectPredicate effects, NbtPredicate nbt, EntityFlagsPredicate flags, EntityEquipmentPredicate equipment, PlayerPredicate player, FishingHookPredicate fishingHook, LightningBoltPredicate lightningBolt, EntityPredicate vehicle, EntityPredicate passenger, EntityPredicate targetedEntity, @Nullable String team, @Nullable Identifier catType)