I think we can do much better.įor example, to break blocks we don't need to path into them, we just need to path within reach of them then break them from afar. MineBot structure building only relied on the pathfinding system, and that was its only interface with the world. I think Baritone structure building should go a slightly different route.
Saving schematic filesĪs in, while removing the extraneous blocks in one layer, it placed exactly as many throwaways in the layer one below while pathing into them. Most of the time it worked, but it placed way too many throwaway blocks then broke them on the layer down. This worked well for flat structures, but it got incredibly sketchy for larger structures. It also pathed into blocks that should be air in the structure. It assumed that the pathfinder would end up placing the block below in order to get there. It worked by pathing to the position directly above every block it wanted to place. MineBot had a rudimentary structure builder, but it had several limitations. Already on GitHub? Sign in to your account. Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.