Allay

Wiki ยท Mobs ยท Animal

Allay

Runs on a brain: activities, memories and senses.

Where it spawns

Found held in cages in pillager outposts and woodland mansions.

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
  • Idlewhen there is nothing else to do: wandering, looking at players, socialising

What it can do

  • Brings items to its player or note block
  • Looks where it means to
  • Panics when hurt
  • Stays afloat
  • Stays near its player
  • Walks its path
  • Walks to items it wants
  • Wanders

What it notices

  • What hurt it
  • Items on the ground
  • Nearby creatures
  • Nearby players

โ† All mobs