thojo0 / jsmacro-btscreen

Baritone Selection Manager GUI for the JsMacro mod and Baritone in Minecraft.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jsmacro-btscreen

Baritone Selection Manager GUI (BTScreen) for the JsMacro mod in Minecraft. It started with Baritone sel command shortcuts, for easy use. Now it has a lot more features.

This project was inspired by the Builder's GUI by Godje

Features

  • AutoRepair tool feature (needs sethome-like commands)
  • AutoSleep feature (needs sethome-like commands)
  • AutoHaste feature (needs sethome-like commands)
  • AutoDrop feature (needs sethome-like commands)
  • AutoEat feature
  • prefered settings for perimeter building
  • BTScreenStatusChange event
  • Add your own commands (file: BTScreen/Sections.mjs)

GUI Screenshot

Installation

  1. Install JsMacro mod for Fabric or Forge.
  2. Install Baritone-Api mod for Fabric or Forge.
  3. Locate the Macros folder (normaly .minecraft/config/jsMacros/Macros) where your JsMacros is looking for the js files to execute (can be done through jsMacros GUI).
  4. Create a new folder named BTScreen
  5. Paste everything of this repository inside that folder. Or clone this folder instead. (zip download)
  6. Add a new Service, named BTScreen and linked to the file BTScreen/Service.mjs, inside your JsMacros GUI (go to Controls to see how to open your JsMacro GUI) Don't forget to Enable and Start the service.
  7. Attach the BTScreen/Open.js to the key that you would like to open the screen with.
  8. You can change the homes/cmds (and more) in BTScreen/Config.mjs (or button Open Config.mjs) Just restart the service to reload the config.

For Experts

  1. A demo to see how to get the current status is inside BTScreen/ReadStatus.js (to test just execut the file somehow)
  2. A demo for the event is in BTScreen/Listener.mjs, you can enable the demo in the config (eventLogger).

About

Baritone Selection Manager GUI for the JsMacro mod and Baritone in Minecraft.

License:GNU Lesser General Public License v2.1


Languages

Language:JavaScript 100.0%