Package net.minecraft.entity.ai
Class NoPenaltyTargeting
java.lang.Object
net.minecraft.entity.ai.NoPenaltyTargeting
Similar to
FuzzyTargeting
, but the positions this class' utility methods
find never have pathfinding penalties.- Mappings:
Namespace Name official bdd
intermediary net/minecraft/class_5532
named net/minecraft/entity/ai/NoPenaltyTargeting
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfind
(PathAwareEntity entity, int horizontalRange, int verticalRange) find
(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d direction) find
(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d end, double angleRange) 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
Lbdd;a(Lauc;II)Ldna;
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
Lbdd;a(Lauc;IILdna;D)Ldna;
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
Lbdd;a(Lauc;IILdna;)Ldna;
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
Lbdd;a(Lauc;IZLgg;)Lgg;
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;
-