Where it spawns
Never spawns on its own; only commands and spawn tools make one.
How it thinks
Each moment it runs the most important goals it can (lowest number first); a more important goal interrupts a less important one. Read from the game's code and put in our own words.
What it does
- 0Swims up to stay afloat in water and lava.
- 1Picks up a dropped raid banner to become the new captain.
- 1Stands still while casting a spell.
- 3Walks to the raid it belongs to.
- 3Runs away from a nearby creaking.
- 4Walks a patrol route as part of a group led by a captain.
- 4Walks through the village during a raid.
- 4Turns invisible and makes copies of itself.
- 5Celebrates when the raid wins.
- 5Casts Blindness on its target.
- 6Shoots its bow at its target, strafing around it (used while it holds a bow).
- 8Wanders around at random.
- 9Looks at a nearby player.
- 10Looks at a nearby mob.
Who it goes after
- 1Fights back against whatever hurt it.
- 2Picks the nearest player it can see as a target.
- 3Picks the nearest villager it can see as a target.
- 3Picks the nearest iron golem it can see as a target.