Baritone AI pathfinder

Baritone AI pathfinder

72.7k Downloads

Pathfinding outside of render distance

aahspaghetticode opened this issue ยท 1 comments

commented

Describe your suggestion

I may be wrong, but when a block is not in render distance, it randomly picks a direction to go. It would help me (and probably others) if it would try to find the block by looking outside of render distance. This is simple for single player worlds, but in multiplayer worlds I would recommend asking for the servers max render distance for one tick and saving that, using that to path find.

Settings

Max chunk distance it will search
How outdated the saved server chunks are allowed to be

Context

Stopping baritone from going in random directions to get to a uncommon block (ex. minecraft:end_portal_frame)

Final checklist

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

This does not sound particularly useful (multiplayer) or easy (singleplayer).

  • In singleplayer we do actually have all the data we need, however we'd still need to parse it. If Baritone were some map processing tool (world painter, amulet and the likes) that effort would be justified, but Baritone is a pathfinder bot made for anarchy servers.
  • In multiplayer chances are your client render distance is already higher than the server maximum, so asking for more wouldn't change anything. Unless you have your client render distance lower than default this is pretty much useless and when searching end portal frames in a naturally generated world you are unlikely to just happen to stand between, say, 10 and 30 chunks away from one.

I'd say #2719 is want you want.

(Aside: The issue title is about something else than scanning for blocks outside current render distance. As long as the area is cached Baritone can pathfind far outside your render distance)