baritone icon indicating copy to clipboard operation
baritone copied to clipboard

[Meta] Next-Gen Features for Baritone: AI Learning, Anti-Cheat, Waypoint Templates, Multi-Bot & More

Open JONIMONI09 opened this issue 7 months ago • 6 comments

[Feature Request] Next-Gen Features to Transform Baritone

This issue is a proposal for several advanced, innovative features that would make Baritone much smarter, safer and user-friendly. These are features that are currently not suggested in any other known issue. The aim is to push Baritone to the next level as the true benchmark of Minecraft pathfinding AI.


1. AI-Learning Pathfinding

Description: Baritone should dynamically learn from successes and failures—adjusting the cost of failed path types/routes (e.g., dying in lava, mobs, getting stuck) so it avoids repeated mistakes. Add adaptive cost matrix and persistence for learned paths.

Example Implementation outline:

  • New class: PathLearner records route outcome hashes (+ reasons for failures).
  • On path completion: increase/decrease cost for future similar routes.
  • Store in cache (max N entries, configurable)
  • Settings: #enablePathLearning, #clearPathLearning etc.

2. Waypoint Route Templates

Description: Allow users to save, load, and share routes consisting of multiple waypoints as reusable templates. E.g., base → portal → nether highway → endpoint, stored as .json templates for quick travel and sharing.

Example APIs:

  • #saveroute <name> / #loadroute <name>
  • Execute sequence of waypoints, pause if failed.
  • Store files in .minecraft/baritone/routes/

3. Anti-Cheat/Stealth Navigation

Description: Make Baritone movement appear more human and less likely to be flagged by server-side anti-cheat: add random rotation/pause/fake-mistake logic, avoid perfect angles, inject small random delays and behavioral variance.

Key details:

  • LookBehavior: add human-like noise, circuitous looking, reaction ticks.
  • Random pauses, failure rates, avoid perfect 45°/90° angles.
  • Settings: #antiCheatMode, #antiCheatMistakeChance.

4. Performance Analytics

Description: Track and visualize bot performance (blocks/min, ETA, success rate, mining/farming efficiency) with export to file (CSV/JSON) and in-game stats popup.

Sample commands:

  • #analytics, #analyticsexport, #analyticsreset
  • In-game display + .json export

5. Time-Aware Smart Behavior

Description: Baritone should use world time (day/night cycle) to adapt mob avoidance, halt or relax navigation at certain times, or even wait until day if too dangerous.

Implementation outline:

  • Detect current day phase from world data
  • Tune avoidance and pathing goals based on light/mob risks
  • Optionally pause until morning
  • Setting: #enableTimeAwareBehavior

6. Multi-Bot Coordination

Description: Let Baritone bots sync via files or API (e.g., .minecraft/baritone/bot_coordination.json). Share goals & reservations, avoid collisions, split up mining/farming, check for path/area conflicts.

How:

  • Each bot registers position, area, goal in a shared file
  • Before pathing, penalize or avoid shared-reserved areas
  • Settings: #enableMultiBotCoordination, #reserveArea ...

7. Predictive Pathfinding/Chunk Loading Awareness

Description: Baritone should forecast which chunks will be loaded during movement and avoid/pause for paths that enter unloaded terrain (known issue with deaths/fails on large expeditions!).

Ideas:

  • Predict chunk loading vs. player speed/render distance
  • If risk of unloaded chunk: pause or replan
  • Setting: #enableChunkLoadPrediction

Why

  • Dramatically improves safety, efficiency, and usability, especially for AFK, multiplayer, group-play, and high-risk pathing.
  • Brings Baritone closer to human-like intelligence and realism.
  • Great for competitive servers, large base expeditions, and automation at scale.

Example settings for many of these features:

#enablePathLearning true/false
#clearPathLearning
#saveroute <name>
#loadroute <name>
#antiCheatMode true/false
#antiCheatMistakeChance <1-20>
#analytics
#analyticsexport
#analyticsreset
#enableTimeAwareBehavior true/false
#reserveArea <x1> <z1> <x2> <z2> <ticks>
#enableMultiBotCoordination true/false
#enableChunkLoadPrediction true/false

This is a meta issue collecting highly innovative next-gen AI/UX enhancements to make Baritone future-proof and the #1 pathfinder for Minecraft.

Feedback and collaboration welcome!

JONIMONI09 avatar Apr 19 '26 18:04 JONIMONI09

Hmmm. Regarding anti cheat detection, the pitch/yaw baritone sends is near impossible with a normal HID device, so I imagine you'd need to either emulate the HID inputs and adjust it to the mc sensitivity to keep a consistent eDPI, the virtual HID device could likely have a dpi slider for this. This is just off the top of my head, might be a better way to approach it. If anyone has any ideas I'd be interested in hearing. I'm not too familiar with baritone's codebase but I'll look into it and see what I can come up with.

JCorcho avatar Apr 26 '26 04:04 JCorcho

Closing because this just an AI generated wall of text and not a usable enhancement proposal as is. If you think single suggestions here would make sense (and have not been proposed so far) you should write a new issue (and ideally do so yourself) with just a single suggestion.

ZacSharp avatar May 26 '26 16:05 ZacSharp

Fixed this in my fork — https://github.com/rahulcvwebsitehosting/baritone. Not PR'd upstream yet but it works if you need it now. Lmk if anything's off.

rahulcvwebsitehosting avatar Jul 05 '26 09:07 rahulcvwebsitehosting

@rahulcvwebsitehosting Your LLM didn't even implement half of the "suggestions" in this issue. Judging by the amount if identical comments and the ad banner in the readme of your fork (and your name) I get the impression that you are abusing the Baritone bug tracker for an ad campaign. Stop it.

ZacSharp avatar Jul 05 '26 10:07 ZacSharp

Hey, so fair enough the identical comments absolutely look like spam. That was lazy on my part and I’m sorry for the noise. The README banner wasn’t a joke, it was genuinely to show I’m actively working on this stuff. I get how it reads as an ad when combined with copy-pasted replies everywhere. About the features you’re right to call that out. I had them implemented locally but forgot to push before I started commenting. Everything I listed is actually in the repo now, but I understand why it looked like I was claiming things I hadn’t done. I’ll stop with the bulk identical replies. Going forward I’ll only comment if I have something new to add or if someone specifically asks about a fix. If you want me to clean up the duplicate comments I left, I can go back and delete them.

rahulcvwebsitehosting avatar Jul 05 '26 11:07 rahulcvwebsitehosting

Removing the comments sounds good. Thank you.

Edit: They did not delete their spam comments.

ZacSharp avatar Jul 05 '26 11:07 ZacSharp