Package net.minecraft.entity.ai
Class AboveGroundTargeting
java.lang.Object
net.minecraft.entity.ai.AboveGroundTargeting
Similar to
FuzzyTargeting
, but the positions this class' utility methods
find never have pathfinding penalties and are always above ground or water.- Mappings:
Namespace Name official bty
intermediary net/minecraft/class_5533
named net/minecraft/entity/ai/AboveGroundTargeting
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable Vec3d
find
(PathAwareEntity entity, int horizontalRange, int verticalRange, double x, double z, float angle, int maxAboveSolid, int minAboveSolid)
-
Constructor Details
-
AboveGroundTargeting
public AboveGroundTargeting()
-
-
Method Details
-
find
@Nullable public static @Nullable Vec3d find(PathAwareEntity entity, int horizontalRange, int verticalRange, double x, double z, float angle, int maxAboveSolid, int minAboveSolid) - Mappings:
Namespace Name Mixin selector official a
Lbty;a(Lbjp;IIDDFII)Lehn;
intermediary method_31524
Lnet/minecraft/class_5533;method_31524(Lnet/minecraft/class_1314;IIDDFII)Lnet/minecraft/class_243;
named find
Lnet/minecraft/entity/ai/AboveGroundTargeting;find(Lnet/minecraft/entity/mob/PathAwareEntity;IIDDFII)Lnet/minecraft/util/math/Vec3d;
-