Where it spawns
Generated with villages, and born when villagers breed.
How it thinks
Its brain switches between activities, each a set of behaviours, and keeps memories of what its senses pick up. Read from the game's code and put in our own words.
Activities
- Corealways running: looking, moving along its path, swimming, reacting to damage
- Hidehiding indoors after the bell rings or a raid starts
- Idlewhen there is nothing else to do: wandering, looking at players, socialising
- Meetmeeting other villagers at the village bell
- Panicrunning around after being hurt or scared
- Playplaying tag with other children
- Pre raidgetting ready for a raid that is about to start
- Raidstaying indoors during a raid
- Restsleeping in a bed at night
- Workworking at its job site block during the day
What it can do
- Breeds when there are free beds
- Calms down after danger passes
- Celebrates a won raid
- Children jump on beds
- Children play tag
- Claims a bed or job site block
- Farmers fill composters
- Farmers harvest and replant crops
- Farmers use bone meal on crops
- Finds somewhere indoors to hide
- Gives a job site to a villager who needs it
- Gives gifts to a Hero of the Village
- Looks where it means to
- Loses its job when its job site block is gone and it has never traded
- Meets others at the bell
- Opens and closes doors
- Panics near monsters or when hurt
- Rings the bell when a raid starts
- Runs away from things
- Runs inside when the bell rings
- Shows its trades to a player
- Sleeps in its bed
- Stays afloat
- Swaps food with other villagers
- Takes the job of its job site block
- Wakes up in the morning
- Walks its path
- Walks to an unclaimed job site
- Walks to items it wants
- Works at its job site
What it notices
- Whether an iron golem is around
- What hurt it
- The nearest bed
- Items on the ground
- Nearby creatures
- Nearby players
- Farmland and composters near its job site
- Village children
- Monsters near the village
