Class NoPenaltySolidTargeting

java.lang.Object
net.minecraft.entity.ai.NoPenaltySolidTargeting

public class NoPenaltySolidTargeting extends Object
Similar to FuzzyTargeting, but the positions this class' utility methods find never have pathfinding penalties and are always on solid blocks.
Mappings:
Namespace Name
named net/minecraft/entity/ai/NoPenaltySolidTargeting
intermediary net/minecraft/class_5530
official cgy
  • Constructor Details

    • NoPenaltySolidTargeting

      public NoPenaltySolidTargeting()
  • Method Details

    • find

      @Nullable public static @Nullable Vec3d find(PathAwareEntity entity, int horizontalRange, int verticalRange, int startHeight, double directionX, double directionZ, double rangeAngle)
      Mappings:
      Namespace Name Mixin selector
      named find Lnet/minecraft/entity/ai/NoPenaltySolidTargeting;find(Lnet/minecraft/entity/mob/PathAwareEntity;IIIDDD)Lnet/minecraft/util/math/Vec3d;
      intermediary method_31504 Lnet/minecraft/class_5530;method_31504(Lnet/minecraft/class_1314;IIIDDD)Lnet/minecraft/class_243;
      official a Lcgy;a(Lbwn;IIIDDD)Lfbx;
    • tryMake

      @Nullable public static @Nullable BlockPos tryMake(PathAwareEntity entity, int horizontalRange, int verticalRange, int startHeight, double directionX, double directionZ, double rangeAngle, boolean posTargetInRange)
      Mappings:
      Namespace Name Mixin selector
      named tryMake Lnet/minecraft/entity/ai/NoPenaltySolidTargeting;tryMake(Lnet/minecraft/entity/mob/PathAwareEntity;IIIDDDZ)Lnet/minecraft/util/math/BlockPos;
      intermediary method_31505 Lnet/minecraft/class_5530;method_31505(Lnet/minecraft/class_1314;IIIDDDZ)Lnet/minecraft/class_2338;
      official a Lcgy;a(Lbwn;IIIDDDZ)Ljh;