Baritone AI pathfinder

Baritone AI pathfinder

72.7k Downloads

Make baritone not break portal to get to portal

wallhacks0 opened this issue ยท 6 comments

commented

Literally the title read it i know you can

commented

Yes

commented

When I use #goto potal with enterPortal enabled (it's enabled by default) Baritone walks into the portal just like it is supposed to.
Please supply steps to reproduce this.

commented

Block in the portal with obsidian and try make baritone go to the portal half of the time it will break the actual portal blocks instead of the blocks that where blocking the portal

commented

@wallhacks0 .Give the steps to reproduce and the version and modified settings.

commented

The settings are default and I'm using the latest version but it should really not be that hard to understand the problem baritone needs to go to portal>portal is blocked in>baritone breaks obsidian that was essential for the portal>portal breaks

commented

Block in the portal with obsidian and try make baritone go to the portal half of the time it will break the actual portal blocks instead of the blocks that where blocking the portal

This might not be the best possible description, but it was enough.
The problem is that Baritone tries to move either head or feet into the portal and if the portal is blocked in it might decide that breaking some part of the portal is faster than breaking the obsidian blocking the portal. Making the GetToBlockProcess set the goal to not allow standing in the portal frame (GoalBlock instead of GoalTwoBlocks for the top and bottom row of the portal) makes the problem less likely but the pathfinder might still decide to e.g. pillar up through the bottom of the portal.