PathSpeed 让你在你选择的方块上行走时速度更快,让修路变得更有价值。每个方块都可以拥有独立的速度倍率,因此廉价的泥土小径和昂贵的沥青高速公路会有截然不同的手感。
服务端模组 — 安装在服务器上(或单人游戏中)。原版客户端无需安装任何内容即可加入并获得加速效果。
Fabric 需要 Fabric API 和 Architectury API。NeoForge 需要 Architectury API。Forge 无需额外依赖。
免费用于任何整合包 — 无论公开或私有,均无需申请许可。
功能介绍
- 在配置文件中列出的任意方块上行走时为你加速
- 为每个方块设置独立的倍率,使得更高级的道路材料能够真正提供更快的速度
- 沿道路跳跃时保持加速效果,避免在半空中突然恢复至正常速度
- 内置适用于 Macaw's Paths and Pavings、Immersive Engineering 和 Immersive Petroleum 的默认配置——如果你安装了这些模组,道路即可直接生效,无需手动编辑
- 支持通过
/pathspeed reload 命令在运行中的服务器上重载配置,无需重启服务器
- 支持按世界覆盖配置文件,适用于托管多个世界的服务器
- 当配置文件出现错误时,会明确提示你,而不是静默失败毫无反应
工作原理
在每个服务器刻中,模组会检测你脚下的方块以及其下方的方块;若处于配置的方块上,则应用一个基于该方块倍率的瞬态 movement_speed 修饰符——不会向存档写入任何数据,卸载模组后速度立即恢复正常。
- 在空中时,它会向下检查最多
airborneBoostReach 个方块(默认值为 4),因此沿道路跳跃时可保持加速效果——可选配置为仅在疾跑时生效。
- ** spectator(旁观模式)、骑乘载具或生物、或使用鞘翅滑翔时**不会提供加速效果。
- 加速倍率范围为
1.0–5.0;恰好为 1.0 的方块被视为 中性 ——它会抵消下方道路的加速效果,而非提供加速。
由于该机制完全基于原版属性实现,无需安装任何客户端模组。
配置选项
<game dir>/config/pathspeed-server.properties,在首次启动时创建,其中包含对每个配置项的注释说明。
speedMultiplier — 任何未指定自身倍率的 boostBlocks 条目所使用的速度。限制在 1.0–5.0 之间。
boostBlocks — 逗号分隔的方块 ID,每个 ID 可选地附带 id=倍率。未命名命名空间的条目会默认添加 minecraft:。
boostWhileAirborne — 在飞跃道路时保持加速效果。
airborneBoostReach — 在空中时,下方多远范围内的加速方块仍然生效。限制在 0–16 之间。
airborneBoostRequiresSprint — 仅在疾跑状态下才保持空中加速效果。
使用 id=multiplier 为方块赋予独立的速度,其余部分保持默认以应用全局的 speedMultiplier:
speedMultiplier=1.5
boostBlocks=dirt_path=1.2, immersiveengineering:concrete=1.7, gravel
其中泥土路径提供 +20% 加速,混凝土提供 +70% 加速,而砾石则回退到全局的 +50%。早于支持按方块设置速度的旧版配置文件仍可正常工作且无需修改。
详情
- 无效值将回退至默认工作值;配置错误绝不会导致世界无法加载。
- 每个方块 ID 都会与真实注册表进行比对;错误会在日志和
/pathspeed reload 命令回复中列出名称。你未安装的模组中的 ID 会被跳过,而非报错。
- 将
pathspeed-server.properties 放入 <world>/serverconfig/ 目录,即可逐键覆盖全局配置。
/pathspeed reload(权限等级 2)是唯一的命令。旧版配置文件可自动修复并保留你的注释。
- 无需安装客户端插件,也不触碰玩家数据——原版客户端可正常连接。
反馈
请在 Discord 上报告任何漏洞、错误或功能建议:
我推荐的其他模组。
PathSpeed makes players walk faster on the blocks you choose, so roads are worth building. Every block can have its own speed, so a cheap dirt track and an expensive asphalt highway feel different.
Server-side mod — install it on the server (or in singleplayer). Vanilla clients can join and get the speed boost with nothing installed.
Fabric needs Fabric API and Architectury API. NeoForge needs Architectury API. Forge needs no additional dependencies.
Free to use in any modpack — public or private, no permission needed.
What it does
- Speeds you up while you walk on any block listed in the config
- Gives each block its own multiplier, so better road materials can be genuinely faster
- Keeps the boost while you jump along a road instead of stuttering back to normal speed mid-hop
- Ships working defaults for Macaw's Paths and Pavings, Immersive Engineering and Immersive Petroleum — if you have them, roads just work with no editing
- Reloads on a running server with
/pathspeed reload, no restart
- Supports a per-world config override, for servers running several worlds
- Tells you clearly when something in your config is wrong, instead of silently doing nothing
How it works
Every server tick the mod checks the block at your feet and the one below; on a configured block it applies a transient movement_speed modifier sized by that block's multiplier — nothing is written to your save, and removing the mod restores normal speed instantly.
- While airborne it keeps looking down up to
airborneBoostReach blocks (default 4), so jumping along a road keeps the boost — optionally only while sprinting.
- No boost while spectating, riding a vehicle or mob, or gliding with an elytra.
- Multipliers run
1.0–5.0; exactly 1.0 marks a block as neutral — it cancels the road under it instead of boosting.
Because it works purely through a vanilla attribute, no client mod is needed.
Configuration
<game dir>/config/pathspeed-server.properties, created on first launch with comments explaining every key.
speedMultiplier — speed used by any boostBlocks entry that does not name its own. Clamped to 1.0–5.0.
boostBlocks — comma-separated block ids, each optionally id=multiplier. An entry without a namespace gets minecraft:.
boostWhileAirborne — keep the boost while jumping over a road.
airborneBoostReach — how far below you a boost block still counts while airborne. Clamped to 0–16.
airborneBoostRequiresSprint — only keep the airborne boost while sprinting.
Give a block its own speed with id=multiplier, and leave the rest bare to take speedMultiplier:
speedMultiplier=1.5
boostBlocks=dirt_path=1.2, immersiveengineering:concrete=1.7, gravel
Here dirt paths give +20%, concrete +70%, and gravel falls back to the global +50%. Older configs written before per-block speeds keep working unchanged.
Details
- Bad values fall back to working defaults; a broken config never blocks a world from loading.
- Every block id is checked against the real registry; mistakes are named in the log and in the
/pathspeed reload reply. Ids from mods you don't have are skipped, not errored.
- Drop
pathspeed-server.properties into <world>/serverconfig/ to override the global config key by key.
/pathspeed reload (permission level 2) is the only command. Older config files self-heal and keep your comments.
- No client install and no player data touched — vanilla clients connect normally.
Feedback
Please report any bugs, errors, or feature suggestions on Discord:
My other mods that I recommend.
评论 0
登录后参与评分
还没有评论,来抢沙发吧