Package net.minecraft.entity.ai
Class NoPenaltyTargeting
java.lang.Object
net.minecraft.entity.ai.NoPenaltyTargeting
public class NoPenaltyTargeting extends Object
Similar to
FuzzyTargeting
, but the positions this class' utility methods
find never have pathfinding penalties.- Mappings:
Namespace Name official bbi
intermediary net/minecraft/class_5532
named net/minecraft/entity/ai/NoPenaltyTargeting
-
Constructor Summary
Constructors Constructor Description NoPenaltyTargeting()
-
Method Summary
Modifier and Type Method Description static @Nullable Vec3d
find(PathAwareEntity entity, int horizontalRange, int verticalRange)
static @Nullable Vec3d
find(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d direction)
static @Nullable Vec3d
find(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d end, double angleRange)
private static @Nullable BlockPos
tryMake(PathAwareEntity entity, int horizontalRange, boolean posTargetInRange, BlockPos fuzz)
-
Constructor Details
-
NoPenaltyTargeting
public NoPenaltyTargeting()
-
-
Method Details
-
find
@Nullable public static @Nullable Vec3d find(PathAwareEntity entity, int horizontalRange, int verticalRange)- Mappings:
Namespace Name Mixin selector official a
Lbbi;a(Lasj;II)Ldkn;
intermediary method_31510
Lnet/minecraft/class_5532;method_31510(Lnet/minecraft/class_1314;II)Lnet/minecraft/class_243;
named find
Lnet/minecraft/entity/ai/NoPenaltyTargeting;find(Lnet/minecraft/entity/mob/PathAwareEntity;II)Lnet/minecraft/util/math/Vec3d;
-
find
@Nullable public static @Nullable Vec3d find(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d end, double angleRange)- Mappings:
Namespace Name Mixin selector official a
Lbbi;a(Lasj;IILdkn;D)Ldkn;
intermediary method_31512
Lnet/minecraft/class_5532;method_31512(Lnet/minecraft/class_1314;IILnet/minecraft/class_243;D)Lnet/minecraft/class_243;
named find
Lnet/minecraft/entity/ai/NoPenaltyTargeting;find(Lnet/minecraft/entity/mob/PathAwareEntity;IILnet/minecraft/util/math/Vec3d;D)Lnet/minecraft/util/math/Vec3d;
-
find
@Nullable public static @Nullable Vec3d find(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d direction)- Mappings:
Namespace Name Mixin selector official a
Lbbi;a(Lasj;IILdkn;)Ldkn;
intermediary method_31511
Lnet/minecraft/class_5532;method_31511(Lnet/minecraft/class_1314;IILnet/minecraft/class_243;)Lnet/minecraft/class_243;
named find
Lnet/minecraft/entity/ai/NoPenaltyTargeting;find(Lnet/minecraft/entity/mob/PathAwareEntity;IILnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;
-
tryMake
@Nullable private static @Nullable BlockPos tryMake(PathAwareEntity entity, int horizontalRange, boolean posTargetInRange, BlockPos fuzz)- Mappings:
Namespace Name Mixin selector official a
Lbbi;a(Lasj;IZLfx;)Lfx;
intermediary method_31516
Lnet/minecraft/class_5532;method_31516(Lnet/minecraft/class_1314;IZLnet/minecraft/class_2338;)Lnet/minecraft/class_2338;
named tryMake
Lnet/minecraft/entity/ai/NoPenaltyTargeting;tryMake(Lnet/minecraft/entity/mob/PathAwareEntity;IZLnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/BlockPos;
-