类 NoPenaltySolidTargeting
- java.lang.Object
-
- net.minecraft.entity.ai.NoPenaltySolidTargeting
-
public class NoPenaltySolidTargeting extends Object
Similar toFuzzyTargeting, but the positions this class' utility methods find never have pathfinding penalties and are always on solid blocks.- Mappings:
Namespace Name official bcdintermediary net/minecraft/class_5530named net/minecraft/entity/ai/NoPenaltySolidTargeting
-
-
构造器概要
构造器 构造器 说明 NoPenaltySolidTargeting()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static @Nullable Vec3dfind(PathAwareEntity entity, int horizontalRange, int verticalRange, int startHeight, double xDirection, double zDirection, double rangeAngle)static @Nullable BlockPostryMake(PathAwareEntity entity, int horizontalRange, int verticalRange, int startHeight, double xDirection, double zDirection, double rangeAngle, boolean posTargetInRange)
-
-
-
方法详细资料
-
find
@Nullable public static @Nullable Vec3d find(PathAwareEntity entity, int horizontalRange, int verticalRange, int startHeight, double xDirection, double zDirection, double rangeAngle)
- Mappings:
Namespace Name Mixin selector official aLbcd;a(Latg;IIIDDD)Ldma;intermediary method_31504Lnet/minecraft/class_5530;method_31504(Lnet/minecraft/class_1314;IIIDDD)Lnet/minecraft/class_243;named findLnet/minecraft/entity/ai/NoPenaltySolidTargeting;find(Lnet/minecraft/entity/mob/PathAwareEntity;IIIDDD)Lnet/minecraft/util/math/Vec3d;
-
tryMake
@Nullable public static @Nullable BlockPos tryMake(PathAwareEntity entity, int horizontalRange, int verticalRange, int startHeight, double xDirection, double zDirection, double rangeAngle, boolean posTargetInRange)
- Mappings:
Namespace Name Mixin selector official aLbcd;a(Latg;IIIDDDZ)Lgb;intermediary method_31505Lnet/minecraft/class_5530;method_31505(Lnet/minecraft/class_1314;IIIDDDZ)Lnet/minecraft/class_2338;named tryMakeLnet/minecraft/entity/ai/NoPenaltySolidTargeting;tryMake(Lnet/minecraft/entity/mob/PathAwareEntity;IIIDDDZ)Lnet/minecraft/util/math/BlockPos;
-
-