AutoRun 是一款轻量级的纯客户端 Fabric 模组,让你无需按键即可自动向前行走和奔跑。按下 K 键一次即可开始移动——角色将持续行走或奔跑,直到你再次按下 K、按下 S(后退)或打开任意界面为止。
功能特性
- 一键双态。 按下 K 即可切换免手向前移动的开启/关闭状态。
- 包含疾跑。 默认启用自动疾跑——快速覆盖路程。
- 安全默认设置。 按下 S(后退)会立即取消自动奔跑,这样你在去拿饮料时就不会不小心冲出悬崖。此外,如果你死亡、骑乘载具、睡觉或打开任何物品栏/菜单,自动奔跑也会自动禁用。
- 占用极小。 仅使用一个小型
KeyboardInput.tick 尾钩——其他移动类模组仍可正常工作。
- 纯客户端。 适用于任何服务器(单人或多玩家),无需安装服务端组件。
工作原理
在每个客户端刻(tick)中,当自动奔跑处于激活状态时,该模组会将 PlayerInput 记录重建为 forward = true 且 sprint = true。此更改对服务端不可见——它与你手指发送的指令数据包完全相同。
兼容性
已在 Minecraft 1.21.8、1.21.9、1.21.10 和 1.21.11(Fabric Loader 0.16+)上测试通过。一个 JAR 文件支持全部四个版本。
默认按键
切换绑定为 K 键(目前硬编码)。想要更改按键或添加配置界面?请提交 Issue。
AutoRun is a tiny, client-only Fabric mod that lets you walk and sprint forward without holding any key. Press K once to start moving — your character will walk and sprint until you press K again, press S (backward), or open any screen.
Features
- One key, two states. Press K to toggle hands-free forward movement on/off.
- Sprinting included. Auto-sprint is on by default — covers ground fast.
- Safe defaults. Pressing S (move backward) cancels auto-run instantly, so you never get stuck running off a cliff while you grab a drink. Auto-run also disables itself if you die, mount a vehicle, fall asleep, or open any inventory/menu.
- Tiny footprint. Only one small
KeyboardInput.tick tail hook — other movement mods keep working as expected.
- Client-only. Works on any server (singleplayer or multiplayer), no server install needed.
How it works
On every client tick, the mod rebuilds the PlayerInput record with forward = true and sprint = true while auto-run is active. The change is invisible to the server — it's the same packet your fingers would send.
Compatibility
Tested on Minecraft 1.21.8, 1.21.9, 1.21.10, and 1.21.11 (Fabric Loader 0.16+). One JAR for all four versions.
Default key
The toggle is bound to K (hard-coded for now). Want a different key or a config screen? Open an issue.
评论 0
登录后参与评分
还没有评论,来抢沙发吧