autoaim-1.1.0.jar
Curse Maven Snippet
What's new
English
Changed
- Ported the mod from Minecraft Forge 1.20.1 to NeoForge 1.21.1 (built against NeoForge 21.1.252, Java 21).
- Build system migrated from ForgeGradle 6 to ModDevGradle 2.0.148 (Gradle 8.14); run configurations are now
client/server/data. - Mod metadata moved to
META-INF/neoforge.mods.toml(dependency entries now usetype="required"); resource pack format bumped to 34. - Client-only handling now uses
@Mod(dist = Dist.CLIENT)instead ofclientSideOnly=true(clientSideOnlyanddisplayTestno longer exist in NeoForge 1.21.1). - Config API migrated from
ForgeConfigSpectoModConfigSpec; the config screen is registered throughIConfigScreenFactory. - Tick and rendering events updated (
ClientTickEvent.Post,RenderLevelStageEvent); removed the deprecatedEventBusSubscriber.Busparameter. - World rendering updated to the 1.21.1 pipeline:
DeltaTrackerfor partial ticks, andTesselator#begin+BufferUploader#drawWithShaderfor the trajectory lines. - Item API update:
ItemStack#getUseDuration(player)(changed in 1.20.5).
Compatibility
- Requires Minecraft 1.21.1 with NeoForge 21.1.x.
- Client-side only: do not install it on a dedicated server (it will not crash, but it has no effect there).
- The config file
config/autoaim-client.tomlkeeps the same keys, so existing settings carry over.
Notes
- Version numbering continues on a separate line:
1.0.0stays the Forge 1.20.1 release,1.1.0is the first NeoForge 1.21.1 release. - No gameplay or behaviour changes in this release.
中文
变更
- 模组从 Minecraft Forge 1.20.1 移植到 NeoForge 1.21.1(基于 NeoForge 21.1.252、Java 21 构建)。
- 构建体系由 ForgeGradle 6 迁移到 ModDevGradle 2.0.148(Gradle 8.14);运行配置改为
client/server/data。 - 模组元数据改为
META-INF/neoforge.mods.toml(依赖项改用type="required");资源包格式升级到 34。 - 纯客户端判定改用
@Mod(dist = Dist.CLIENT),替代clientSideOnly=true(NeoForge 1.21.1 已移除clientSideOnly与displayTest)。 - 配置 API 由
ForgeConfigSpec迁移到ModConfigSpec;配置界面改由IConfigScreenFactory注册。 - 事件适配新版本(
ClientTickEvent.Post、RenderLevelStageEvent),并去掉已弃用的EventBusSubscriber.Bus参数。 - 世界渲染适配 1.21.1 新管线:插值使用
DeltaTracker,弹道线改用Tesselator#begin+BufferUploader#drawWithShader。 - 物品 API 变更:
ItemStack#getUseDuration(player)(1.20.5 起生效)。
兼容性
- 需要 Minecraft 1.21.1 + NeoForge 21.1.x。
- 纯客户端模组,请勿安装在专用服务器(不会崩溃,但也不起作用)。
- 配置文件
config/autoaim-client.toml键名未变,旧配置可直接沿用。
说明
- 版本号分线管理:
1.0.0仍为 Forge 1.20.1 版,1.1.0是首个 NeoForge 1.21.1 版。 - 本版本没有玩法/行为改动。
[1.0.0] - 2026-08-28
English
Added
- First public release, for Minecraft Forge 1.20.1.
- ESP highlight: glowing outlines for nearby living entities (yellow = candidates, red = locked target), toggled with
H. - Target locking:
Klocks the entity closest to the crosshair (within the tolerance angle, default 15°), falling back to the nearest entity inside the lock range (default 24 blocks); pressKagain orLto unlock. Auto-unlocks when the target dies or is removed, moves too far away, or the player dies. - Smooth auto-aim that continuously turns the camera toward the locked target (adjustable speed).
- Projectile prediction mode for bow (using the current draw progress), crossbow, trident, snowball, egg, ender pearl, experience bottle and splash/lingering potions: computes the launch angle including gravity and target leading (max 3.0 s flight time) and draws the predicted trajectory arc.
- In-game config screen (
O, or the "Config" button in the mod list) with 8 options: display range, lock range, tolerance angle, aim speed, hostiles only, include players, highlight locked target, show trajectory. Changes apply instantly and are saved toconfig/autoaim-client.toml. - Unit tests for the aiming and trajectory math.
Notes
- Pure client-side mod: no networking, no server component.
中文
新增
- 面向 Minecraft Forge 1.20.1 的首个公开版本。
- ESP 高亮:周围生物显示发光轮廓(黄色 = 候选,红色 = 锁定目标),
H键开关。 - 目标锁定:
K锁定准星最接近的生物(容差角内,默认 15°),否则锁定范围内最近的生物(默认 24 格);再按K或按L取消。目标死亡/被移除、距离过远、玩家死亡时自动解锁。 - 平滑自动瞄准:持续把视角转向锁定目标(速度可调)。
- 弹道预测模式:弓(按当前拉弓进度)、弩、三叉戟、雪球、鸡蛋、末影珍珠、附魔之瓶、喷溅/滞留药水会计算含重力与提前量的发射角(最长 3.0 秒飞行时间),并绘制预测弹道弧线。
- 游戏内配置界面(
O键或模组列表的「配置」按钮),共 8 项:显示范围、锁定范围、容差角、瞄准速度、仅敌对生物、包含玩家、锁定目标高亮、显示弹道轨迹;改动即时生效并写入config/autoaim-client.toml。 - 瞄准与弹道数学的单元测试。
说明
- 纯客户端模组,无网络通信、无服务端组件。
This mod has no additional files