Uses of Class
net.minecraft.advancements.critereon.DistancePredicate
-
Uses of DistancePredicate in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionstatic final DistancePredicate
DistancePredicate.ANY
private final DistancePredicate
DistanceTrigger.TriggerInstance.distance
private final DistancePredicate
LevitationTrigger.TriggerInstance.distance
private DistancePredicate
EntityPredicate.Builder.distanceToPlayer
private final DistancePredicate
EntityPredicate.distanceToPlayer
Modifier and TypeMethodDescriptionstatic DistancePredicate
DistancePredicate.absolute
(MinMaxBounds.Doubles p_148841_) static DistancePredicate
DistancePredicate.fromJson
(com.google.gson.JsonElement p_26265_) static DistancePredicate
DistancePredicate.horizontal
(MinMaxBounds.Doubles p_148837_) static DistancePredicate
DistancePredicate.vertical
(MinMaxBounds.Doubles p_148839_) Modifier and TypeMethodDescriptionEntityPredicate.Builder.distance
(DistancePredicate p_36639_) DistanceTrigger.TriggerInstance.fallFromHeight
(EntityPredicate.Builder p_186198_, DistancePredicate p_186199_, LocationPredicate p_186200_) LevitationTrigger.TriggerInstance.levitated
(DistancePredicate p_49145_) DistanceTrigger.TriggerInstance.rideEntityInLava
(EntityPredicate.Builder p_186195_, DistancePredicate p_186196_) DistanceTrigger.TriggerInstance.travelledThroughNether
(DistancePredicate p_186193_) ModifierConstructorDescriptionprivate
EntityPredicate
(EntityTypePredicate p_150306_, DistancePredicate p_150307_, LocationPredicate p_150308_, LocationPredicate p_150309_, MobEffectsPredicate p_150310_, NbtPredicate p_150311_, EntityFlagsPredicate p_150312_, EntityEquipmentPredicate p_150313_, PlayerPredicate p_150314_, FishingHookPredicate p_150315_, LighthingBoltPredicate p_150316_, String p_150317_, ResourceLocation p_150318_) (package private)
EntityPredicate
(EntityTypePredicate p_150289_, DistancePredicate p_150290_, LocationPredicate p_150291_, LocationPredicate p_150292_, MobEffectsPredicate p_150293_, NbtPredicate p_150294_, EntityFlagsPredicate p_150295_, EntityEquipmentPredicate p_150296_, PlayerPredicate p_150297_, FishingHookPredicate p_150298_, LighthingBoltPredicate p_150299_, EntityPredicate p_150300_, EntityPredicate p_150301_, EntityPredicate p_150302_, String p_150303_, ResourceLocation p_150304_) TriggerInstance
(ResourceLocation p_186184_, EntityPredicate.Composite p_186185_, LocationPredicate p_186186_, DistancePredicate p_186187_) TriggerInstance
(EntityPredicate.Composite p_49137_, DistancePredicate p_49138_, MinMaxBounds.Ints p_49139_)