> ## 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.

# Auto Behavior

> Turn on survival habits your character handles by itself in Minecraft, like eating, fighting back, fleeing, equipping gear and picking up items.

Auto Behavior covers the survival basics your character handles on its own, without stopping to think about them: eating when hungry, fighting back, running away when hurt, and so on. That leaves the AI free to focus on conversation and bigger goals.

Open **Player → Behavior → Auto Behavior**. Each habit is a card with a switch. When a habit with extra settings is on, its sliders appear below it. Hover the info icon next to any label for a short explanation.

Changes save automatically (the page shows **Saving** and then **Saved**) and apply the next time your character joins a server.

## Habits

| Habit | What it does | Extra settings | On by default |
| - | - | - | - |
| **Auto Eat** | Eats the best food in its inventory when hunger drops, preferring golden apples and cooked meat. | **Eat Threshold**: eats when hunger falls below this value. | Yes |
| **Auto Combat** | Fights back in melee when a mob or player hurts it, chasing the attacker. | **Combat Range**: how far it chases a target before giving up. | Yes |
| **Auto Flee** | Sprints away from attackers when its health gets low, and tries to eat while fleeing. | **Flee Threshold**: flees when health drops to this value or lower. **Flee Distance**: how many blocks it runs. | Yes |
| **Auto Equip Weapon** | Picks the best weapon in its inventory when a fight starts, preferring swords and stronger materials. | None | Yes |
| **Auto Equip Armor** | Puts on armor from its inventory automatically. | None | Yes |
| **Auto Collect Items** | Walks over to pick up dropped items nearby. It doesn't do this during a fight. | **Collect Range**: how far it walks for a drop. | Yes |
| **Auto Place Torches** | Places a torch when it's standing somewhere dark and has torches. Handy for mining and caves. | None | No |

Hunger and health both go up to 20, like in the game: each heart or drumstick is 2 points. The Eat and Flee cards show the threshold as hearts or drumsticks so you can see it at a glance.

## Tips

* **Keep Auto Eat and Auto Flee on** unless you want to manage survival yourself. They stop your character dying from simple causes while it's busy.
* **Lower the Combat Range** if your character chases attackers too far from where you want it to stay.
* **Raise the Flee Threshold** for a cautious character, or lower it for a brave one.
* **Turn on Auto Place Torches** if your character spends a lot of time mining or exploring caves.
* **Turn off Auto Combat** for a peaceful character, and say so in your [Player Engine instructions](https://docs.aurinfer.com/Integrations/Minecraft/player-engine.md#instructions).

For the actions your character chooses on its own, like mining, building or trading, see [Actions](https://docs.aurinfer.com/Integrations/Minecraft/actions.md).


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