> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aurinfer.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Minecraft Training

> Give your character goals that switch on and off based on the items in its inventory, to guide it from its first log of wood to diamond gear.

Training lets you guide your character through a progression, step by step. You write instructions that switch on when certain items are in your character's inventory, and switch off once it has obtained other items. Chain several together, and your character moves from one goal to the next as it collects things.

Open **Player → Training**.

## How training works

Each instruction has:

* **Trigger Items**: the instruction becomes active when these items are in your character's inventory. Leave this empty to make it **Always Active**, which is useful for what your character should do right after it spawns.
* **Closing Items**: the goal. The instruction switches off while your character has these items. Leave this empty and the instruction never closes.
* **Any** or **All**: for both lists, choose whether one of the items is enough (**Any**) or every item is needed (**All**).

Your character checks its inventory as it plays. It gets every instruction that's currently active, in the order of your list, and treats them as advice for what to do next. The closing items are shown to it as the goal items to aim for.

## Add an instruction

**1. Click Add Instruction**

The **New Instruction** dialog opens.

**2. Name it**

Enter a **Label**, for example "Early Game: Wood to Stone".

**3. Write the instruction**

In **Instruction**, write what your character should do while this is active, for example: "Collect 16 oak logs, craft a crafting table and wooden tools, then mine stone."

**4. Pick trigger items**

Under **Trigger Items**, click the search box and pick items. Filter by category, or search by name. If an item isn't listed, type its Minecraft ID and click **Add "..." as custom**. When you add more than one item, choose **Any** or **All**.

**5. Pick closing items**

Do the same under **Closing Items**.

**6. Create**

Click **Create**. The instruction appears in your list.

## Manage your instructions

* **Order**: use the up and down arrows to move an instruction. Instructions higher in the list come first when several are active, so put the most important ones at the top.
* **On or off**: use the switch to pause an instruction without deleting it.
* **Edit**: click the pencil button to change it.
* **Delete**: click the trash button and confirm.

Each card shows its trigger and closing items as icons. Instructions without triggers show **Always Active**, and those with triggers but no closing items show **No closing trigger**.

## Example: a simple progression

| Label | Trigger Items | Instruction | Closing Items |
| - | - | - | - |
| Spawn routine | none (Always Active) | Find a safe spot and start gathering wood. | Oak Log |
| Wood tools | Oak Log | Craft planks, a crafting table and wooden tools. | Wooden Pickaxe |
| Stone age | Wooden Pickaxe | Mine stone and craft stone tools and a furnace. | Stone Pickaxe, Furnace (All) |
| Iron | Stone Pickaxe | Find iron ore, smelt it and craft iron tools and armor. | Iron Pickaxe |

## Tips

* **Keep each instruction focused** on one stage, with a clear goal in its closing items.
* **Use Always Active instructions sparingly**, for things your character should always keep in mind.
* **Remember that closing items are checked against the inventory.** If your character drops or uses up its closing items, the instruction can become active again.
* For rules that apply all the time, like where not to build, use your [Player Engine instructions](https://docs.aurinfer.com/Integrations/Minecraft/player-engine.md#instructions).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.