MinePulse Continued
Mine from one spot and the whole vein starts flying toward you, block by block, starting from the far end. Trees work the same way: chop the trunk and the logs come down from the top, so you stop leaving floating trees behind. This is an unofficial NeoForge 1.21.1 port of MinePulse. fixes the problems that showed up in play, and adds the few things I wanted myself.
What this fork changes
- Diagonal detection fixed. Upstream only checked the six orthogonal directions for ores and 18 neighbours for trees, so anything connected diagonally broke the chain. Both now use all 26 neighbours, so ores connected diagonally and logs stacked diagonally go down in one pass.
- Progress bar. While you mine or chop, a thin bar and a remaining / total counter show up under the crosshair. The bar shrinks as blocks are used up, and fades out about a second and a half after you stop. It can be turned off in the config.
- Fixed the toggles being ignored. Upstream read the chain mining and chain tree felling options from the config but never used them, so turning them off still chained. The client check and the server check now respect them.
- No external dependencies. Cloth config and the author's private maven repository are gone. Both config files are plain JSON, read with the game's own Gson.
How to use it
By default, mining chains straight away and holding Shift mines a single block. The first time you mine, a small screen asks which behaviour you want. You can change it any time in the config screen.
Requirements
Minecraft 1.21.1 Install on both client and server. The server is what actually breaks the blocks and hands out the drops, so it needs the mod as well.
Config files
config/minepulse_common.json holds ore tags and block list, tree tags, maximum vein size and the diagonal toggle. Read on the server. config/minepulse_client.json holds the first time prompt, chain mining and chain tree felling toggles, trigger mode and the progress bar. Read on the client.
Credits
MinePulse was made by AmarokIce and yumo2333. The idea and the original code are theirs. This is an unofficial continuation and is not affiliated with them.
Original project: https://github.com/AmarokIce/MinePulse This fork: https://github.com/akiyonoko/MinePulse
Licensed under MPL-2.0, same as upstream.
这是 MinePulse 的 NeoForge 1.21.1 非官方移植版。修掉游玩里的问题,并补上了我自己想要的功能。
本版改动
- 斜角识别修复:上游矿石只认 6 个正交方向、树木只认 18 邻,斜对角相连的会断链。现在两种连锁都用 26 邻,斜着连的矿、斜上方的原木都能一次挖穿。
- 进度条:挖矿或砍树时,准星下方出现一条细进度条和「剩余 / 总数」,绿条随剩余量递减,停下约 1.5 秒后淡出。可以在配置里关掉。
- 修复开关失效:上游的连锁挖矿 / 连锁砍树开关读了配置却没被使用,关掉也照样连锁。现在客户端拦截和服务端判断都会遵守。
- 去掉外部依赖:不再需要 cloth-config 和作者的私有 maven 仓库,配置文件是纯 JSON,用游戏自带的 Gson 读写。
使用方式
默认直接挖就会连锁,按住 Shift 则只挖单块。第一次开挖时会弹一个选择界面让你定下偏好,之后随时可以在配置页里改。
安装要求
Minecraft 1.21.1
客户端和服务端都要安装。真正破坏方块、分发掉落物的是服务端,所以服务端也必须装。
配置文件
config/minepulse_common.json 包含矿石标签与方块列表、树木标签、最大矿脉规模、斜角开关,由服务端读取。 config/minepulse_client.json 包含首次提示、连锁挖矿与连锁砍树开关、触发方式、进度条,由客户端读取。
致谢
MinePulse 由 AmarokIce 与 yumo2333 制作,原作的点子和代码都归他们。这是非官方延续版本,与他们没有关联。
原项目:https://github.com/AmarokIce/MinePulse 本分支:https://github.com/akiyonoko/MinePulse
采用 MPL-2.0 许可,与上游一致。

