Package net.minecraft.entity.ai
Class AboveGroundTargeting
java.lang.Object
net.minecraft.entity.ai.AboveGroundTargeting
public class AboveGroundTargeting extends Object
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 bbkintermediary net/minecraft/class_5533named net/minecraft/entity/ai/AboveGroundTargeting
-
Constructor Summary
Constructors Constructor Description AboveGroundTargeting() -
Method Summary
Modifier and Type Method Description static @Nullable Vec3dfind(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 aLbbk;a(Lasj;IIDDFII)Ldkn;intermediary method_31524Lnet/minecraft/class_5533;method_31524(Lnet/minecraft/class_1314;IIDDFII)Lnet/minecraft/class_243;named findLnet/minecraft/entity/ai/AboveGroundTargeting;find(Lnet/minecraft/entity/mob/PathAwareEntity;IIDDFII)Lnet/minecraft/util/math/Vec3d;
-