Ability to register functions to be run when the current process finishes
FeldrinH opened this issue ยท 2 comments
Describe your suggestion
Some system accessible from the Baritone Java API to register arbitrary functions or event handlers to run when the current process (building, mining, pathing, etc) finishes with info about whether the process ended with failure or success.
Context
This would make it much easier to write complex bots which use the API to execute multiple actions in sequence that depend on the previous action being successful to continue.
I'm a little hazy on the Baritone internals, so please let me know if there already is a system to do this in place.
Final checklist
- I know how to properly use check boxes
- I have not used any OwO's or UwU's in this issue.