Baritone AI pathfinder

Baritone AI pathfinder

72.7k Downloads

Allow Baritone commands to be controlled by external mods (E.g. MC-Macro Mod)

CrusadeChaos opened this issue ยท 5 comments

commented

Describe your suggestion

Intercept simulated chat packets sent by other mods.

Settings

#chatIntercept
Toggles between if Baritone is intercepting chat packets or not.

Context

Allow you to use baritone commands in other mods such as Macro Keybind Mod by intercepting simulated chat packets from those mods.

This would allow players to make scripts that support Baritone.

Currently, trying to send #goto for example in chat using a script in mc-macro mod would result in the message ("#goto") being fully printed in chat instead of running the Baritone command. It would be very helpful if this can be rectified. Thanks in advance.

Final checklist

  • I know how to properly use check boxes
  • I have not used any OwO's or UwU's in this issue as this is gay.
commented

isnt that possible already?
Or does it just say the command in chat?

commented

so Baritone would have to use a bit different system: Baritone Reads chat all time, and every thing wrote into chat would be checked by baritone, if its a command, else it will be let though to the server

commented

it has an api

commented

whatever xD

commented

this entire repository is the API.

Baritone chat control is already possible with mods, if it doesn't work for your mod then that's your fault.