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
named net/minecraft/entity/ai/AboveGroundTargeting
intermediary net/minecraft/class_5533
official cel
  • 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
      named find Lnet/minecraft/entity/ai/AboveGroundTargeting;find(Lnet/minecraft/entity/mob/PathAwareEntity;IIDDFII)Lnet/minecraft/util/math/Vec3d;
      intermediary method_31524 Lnet/minecraft/class_5533;method_31524(Lnet/minecraft/class_1314;IIDDFII)Lnet/minecraft/class_243;
      official a Lcel;a(Lbtw;IIDDFII)Lexc;