Skip to content

Walking

Michael Zangl edited this page May 17, 2020 · 1 revision

There are several possibilities the bot can get somewhere.

Walk to x/z position

/minebot walk [x] [z]

This will make the bot walk to those coordinates. The bot will walk in that direction no matter what is in the way. It will jump of cliffs. This is useful if you e.g. want the bot to jump down some hole, because the bot would not do it otherwise.

Tip: Use this to get to your mining level quickly. If you have a water pod at 3400, 10, -2100 then use this command:

/minebot walk 3400.5 2099.5

You can get the coordinates from the debug screen

Walk to a given position

The bot can also use normal pathfinding to find it's way to a position. It will use stairs but not ladders. It will only jump down one block, since that is as much as it can jump back up. If the distance is far, the bot will not be able to do all the path finding at once. It should work fine on normal maps but if you have a big labyrinth, the bot might get stuck somewhere.

/minebot pathfind 3400 73 1300

Get somewhere, destroying blocks

The bot will attempt to find the fastest way to the position, possibly destroying blocks. If it can, it will walk normally.

/minebot pathfind 3400 73 1300 destructive

Use an airbridge

If you regularely need to travel large distances, the bot can build you a straight way of half-slabs. That way can then be used by the bot to sprint on it.

See Airbridge for more information

Get down to mining level

Can also be used to get to a mining level. This command will dig down at you position, avoiding lava and water and stop at height 12, if that position is reachable.

/minebot pathfind ~ 12 ~ destructive

Alternatively, you can use the clear command. If the bot clears an area, it will clear it top to bottom, so in the end, you will be at the bottom. The advantage of this is, that it will give you a straight hole that you can later use to jump down.

/minebot clear ~ ~ ~ ~ 12 ~

You can use this command to dig a bigger hole as well:

/minebot clear ~1 ~ ~1 ~-1 12 ~-1

Building up

To build up into the sky, it is best to fill a 1x1 pillar with cobblestone. The bot is filling bottom-to-top, so you will end at the top of that pillar.

/minebot fill ~ ~ ~ ~ 200 ~ minecraft:cobblestone