hobune Channels Contact About Donate

Branch Mining Bot [WIP]

View comments (47)

Description YT

Enjoy watching my branch mining bot do its thing for 10 minutes, while listening to Selulance music :P

Source code for the bot: https://github.com/Earthcomputer/clientcommands/blob/fabric/docs/example_scripts/branch_mine.js
(scripting API is in the same repo).
If you have ideas to improve the bot, feel free to play around with the code and submit PRs :)
Documentation for the scripting API is in the docs/clientcommands.ts file in the repo.

To use it yourself:
1. Download and install clientcommands as dictated in the README. Currently you need to install the latest PRE-RELEASE version of clientcommands, as the scripting API is not in the full release.
2. Run the game once with clientcommands installed.
3. Copy the branchmine.js script to .minecraft/config/clientcommands/scripts
4. To run the script, use the `/cscript run branchmine.js` command.
5. To reload the script, if you have modified it while the game is running, use `/cscript reload`.
6. To stop all scripts, use `/ctask stop-all`.