Where it spawns
Turns up near a player from time to time, with two trader llamas.
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.
- 0Drinks a potion when it needs one.
- 1Stands still while a player trades with it.
- 1Runs away from a nearby zombie.
- 1Runs away from a nearby evoker.
- 1Runs away from a nearby vindicator.
- 1Runs away from a nearby vex.
- 1Runs away from a nearby pillager.
- 1Runs away from a nearby illusioner.
- 1Runs away from a nearby zoglin.
- 1Runs around fast after being hurt or set on fire.
- 1Looks at the player it is trading with.
- 2Walks towards a spot near where it arrived.
- 4Walks back to its home area.
- 8Wanders around at random, keeping out of water.
- 9Looks at nearby player as if talking to them.
- 10Looks at a nearby mob.
