Docs menu

Its own life

Left alone, the bot doesn't stand and wait. It works up a ladder of milestones, the way a new player would: wooden tools, a shelter, a bed, a mine, iron, diamonds.

How it starts

When the bot joins the game it greets you and waits 30 seconds for an order. With none, it starts on its next milestone.

  • stay with me turns its own life off. It drops what it was doing for itself and does only what you ask. It remembers this across restarts.
  • go live your life turns it back on.
  • AUTONOMY=off in the settings makes "off" the default.
  • With SERVER_AUTOMATION=forbidden it never lives its own life. See Getting started.

You come first

Any order of yours cuts in on its own work. When your order is done, the milestone it left goes on.

stop ends what it's doing and keeps it quiet for a minute. Then it carries on by itself.

Ask what's your progress? to hear how far it is.

The ladder

The milestones come in three steps. A step isn't started while the one before has work left, apart from the extras marked below.

1. The first day

MilestoneWhat it means
Wooden toolsA pickaxe, an axe, a shovel and a sword.
A shelterA room dug into the ground with a door at each end. It looks for a good place first: trees and animals near, no snow, desert or swamp.
Stone toolsTwo stone pickaxes, an axe, a shovel and a sword.
The shelter set upChests, a furnace and a crafting table inside, and its things put away.
A bedThree wool of one colour from sheep. It lies in the bed once, so it comes back to life at home.
A stock of wood20 logs on it.
A clearing extraThe trees right around its entrance cut down.
A lit home extraTorches in the room and on the ground around the entrance.
A food stock extraA couple of meals on it and more in a chest.

2. The mine

MilestoneWhat it means
A mineStairs down from the shelter's back door to a first floor 20 steps below. The mine has the whole plan.
Coal16 coal, or charcoal when coal is hard to find.
Torches16 torches, topped up when they run low.
Iron10 raw iron.
An iron pickaxeSmelted and crafted at home.
A first field extraA fenced field near home.
More fields, a bridge, a stone shelter spare timeUp to four fields, a bridge over water it keeps swimming through, and the shelter's weak blocks swapped for smooth stone.

3. Iron and diamonds

MilestoneWhat it means
An iron sword, a shield, a water bucketWhat it needs before going deep.
Iron armorAll four pieces, the best one first.
Iron toolsAn iron axe and shovel to go with the sword and pickaxe.
DiamondsIts first three, from the deep floors of the mine.
A diamond pickaxe, sword and chestplateIn that order.
Diamond armorThe other three pieces.
Home lit farther spare timeThe torches around home reach two, then three times as far.

After the diamonds the ladder goes on to the Nether and the End. That part is still being tested.

Extras never hold the ladder up: when one can't be done right now, the next step starts anyway. Spare time milestones are done only when nothing else can be. Supplies such as tools, coal, torches and food are topped up again when they run low.

Home and buildings describes the shelter, the storage, the lighting, the fields and the bridge.

When a milestone fails

A milestone is worked on for 15 minutes at most. If it fails, the bot tells you the reason and sets it aside: 2 minutes the first time, then twice as long for each failure in a row, up to 32 minutes. Meanwhile it works on something else it can do.

Being too hurt or too hungry for the job isn't a failure. It waits a little and tries again.

Days with a plan

Once the first day's milestones are done, the AI model plans the bot's days. A plan is a short list of steps, and a step can be a milestone or other useful work: stocking food, fishing, mending the mine. With no plan to follow, the next milestone is always the fallback, so the bot keeps going without the model too.

See The day planner.

The night

The bot works on after sunset. The night starts for it when a mob hurts it in the dark. Then it runs home, shuts itself in, and uses the time: it puts things away, cooks, smelts and goes on working in the mine, whose way down is inside the shelter. With nothing left to do it sleeps.

See Survival and reflexes.

What it does on the side

While working toward a milestone it doesn't walk past useful things.

  • Ore in plain sight. Diamonds, emeralds, gold and iron within a few blocks are mined right away. Coal, copper, redstone and lapis wait for a free moment.
  • Things on the ground. Drops near it are picked up between jobs.
  • A full bag near home. It puts half away and goes on.
  • A ripe field. When enough crops are ripe it harvests and sows again.
  • Food. Running low, it restocks by day. Starving, it gets food before anything else.

And with nothing at all to do it does small chores: it tidies up items lying around, plants saplings where it felled trees, and takes down its own scaffolding.

What it tells you

  • Each milestone as it's reached, with how far along the step it is.
  • A milestone it couldn't do yet, with the reason and when it'll try again. The same reason is said once.
  • News from the work: the place it chose for home, the mine started, a floor deeper, a field made, the first diamond tool.

The ladder is the list in the bot's code, in src/skills/milestones.ts.