类 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 bch
    intermediary net/minecraft/class_5533
    named net/minecraft/entity/ai/AboveGroundTargeting
    • 构造器详细资料

      • AboveGroundTargeting

        public AboveGroundTargeting()
    • 方法详细资料

      • 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 Lbch;a(Latg;IIDDFII)Ldma;
        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;