Allay

The allay () is a flying passive mob that collects and delivers items for any player that gives it something or any note block it hears recently playing.
==Spawning==
Allays can be found surrounding pillager outposts, confined inside dark oak cages. One to three allays can spawn in each cage. They have a 50% chance of spawning here. 
Allays can also spawn inside jail cells within woodland mansions. One to three allays can spawn in each cell. They have a 50% chance of spawning here.
== Duplication/Breeding ==
Allay can be duplicated/bred by playing a Music Disk in a Jukebox with Allay nearby and then clicking the Allay with a Amethyst Shard while they are dancing. Unlike other mobs only 1 allay is needed for breeding/duplication and they have no baby variant.
==Behavior==
The allay's luminous texture allows it to be seen clearly in the dark, although it doesn't illuminate its surroundings.
The allay is small, peaceful and flies aimlessly until a player gives it an item with their key. The allay starts following the player and seeks out dropped versions of the same item to deliver them to its player. The allay returns to wandering around if any player takes its item back by an empty hand on it.
The allay locks onto the player that last gave it an item. This allay follows the player from up to a 64-block cubic area away and seeks items up to a 32-block cubic area away from the player. After delivering items, the allay has a delay of three seconds until it can seek items again. An allay has a single inventory slot to hold a stack of items (usually 64 items) in addition to the item it got from the player. While the allay does not discern enchantments, special item names or items in shulker boxes when it seeks, it still carries such items in separate trips.
Allays don't pick up any items if the game rule is set to , but the player can still give the allay items with the key. 
If the allay hears a note block play within 16 blocks of its location while delivering items, it will instead deliver its items to the note block and then spend 30 seconds around that particular note block, seeking items around it and returning them to it instead of its player. The allay returns to targeting its player after 30 seconds. A vibration particle emanates from the note block and reaches the allay to indicate the allay has locked on to the note block. Because the allay and the note block interact via a vibration particle, placing wool between the note block and the allay can prevent this sound interaction. 
The allay can pick up items within a radius of about 1.3 blocks from itself and drop items up to 3 blocks away from its player or note block.
An allay performs a dance animation when there is a nearby jukebox playing. If the jukebox stops playing or if the allay gets too far away from the jukebox, it stops dancing. If the allay is given an amethyst shard while dancing, it plays a small amethyst sound, makes a heart animation and duplicates into another allay. After that duplication, both allays have a five minute cooldown before being able to duplicate again.
The allay cannot enter water, although it attempts to gather items that are under water. 
Allays cannot be harmed by their interacted owners. If they are harmed by another source, they fly away for a few seconds. When killed, allays drop the items they were holding. If an allay dies while holding a totem of undying, it instead returns to full health and the totem is destroyed, as with any mob holding a totem of undying. Allays naturally regenerate per second if damaged.
In Java Edition, a lead or a named name tag performs the item's normal function, instead of giving it to the allay.
===Teleportation===
When a player teleports through a nether portal, the player's allay teleports also, even if it does not enter the portal.
When a player teleports through an end portal, the allay teleports to the End only if a player gives the allay an item before teleporting and must be nearby the player as they teleport.
Allays holding an item follow the player through a portal if they are 21 blocks horizontally to the player or if they are within 22 blocks vertically of the player's legs. Allays do not travel through portals regardless of how close they are if they are tethered to a fence with a lead.
==Sounds==
: Allays use the Friendly Creatures sound category for entity-dependent sound events.
:
==Data values==
===ID===
:
:
===Entity data===
Allays have entity data associated with them that contain various properties.
:
:
:See Bedrock Edition level format/Entity format.
==Achievements==
==Advancements==
==History==
 
==Issues==
==Trivia== 
*The allay was originally planned for the Nether Update.
*Some previous names considered for the allay were the wisp and the pixie.
*The allays were created to solve the problem of how players would build structures and collect resources in Minecraft Legends while focusing on defending the overworld.
*The reason why allay duplication uses amethyst shards is because the item is renewable, has a musical sound that fits with the allay, and it adds more value to amethyst geodes.
*According to the "meet the allay" article on Minecraft.net, the reason why allays can be tamed by players is because they form a "magical connection" when that player gives it an item. This bond is what prevents players from accidentally harming their allay.https://www.minecraft.net/en-us/article/meet-allay
*Originally, Mojang considered having allays naturally spawn within forest biomes. However, the reason they went with pillager outposts and woodland mansions, was because they wanted to highlight the companionship aspect.https://www.minecraft.net/en-us/article/meet-allay
**It has also been theorized that the reason for why Illagers capture Allays in the first place is likely because of their connection with the Vexes.
*Despite that they are flying mobs, allays can destroy turtle eggs when on top of them.
==Video==
==Gallery==
===Animations===
Allay Hold.png|An allay holding an item.
Allay Idle.gif|An allay idling.
Allay Fly.gif|An allay flying.
Allay Fly Different Angle.gif|An allay flying in a different angle.
Allay Dancing.gif|An allay dancing.
===Screenshots===
Allays in woodland mansion.png|An allay trapped in a prison in a woodland mansion.
Allays in outpost cage.png|Some allays trapped in an outpost cage.
Allays in outpost cage top down view.png|Top down view of some allays trapped in an outpost cage.
Allaysmansionlargejailprison.png|A few allays trapped in a prison in a woodland mansion from inside.
Allayandvexcomparation.png|Comparation between the Allay and the Vex.
=== Developer Images ===
Ulraf with Allay.jpg|The first in game image of the allay being teased in the top middle by Ulraf.
Bedrock 1.18.30.22 PatchNotes.jpg|An allay in Bedrock Edition beta 1.18.30.22.
Allays In Savanna Outpost.jpg|A few allays trapped in a cage in a savanna outpost in Bedrock Edition.
===Concepts===
Concept Allay 0.png|One of the early concepts for the allay. This concept of the allay turned into the wisp from Minecraft Dungeons.
Concept Allay 1.png|Concept art of possible allay colors.
Concept Allay 2.png|Various iterations of how the allay could carry items.
Prototype Allay render.png|An early prototype of the allay. Its limbs resembles the Baby Ghast from Minecraft Dungeons.
Prototype Allay 0.png|Prototype allay design with particles.
Prototype Allay 2.png|Prototype allay design with a different set of particles.
Prototype Allay 1.png|Prototype allay holding a cookie.
Prototype Allay 3.png|An allay prototype with a model error, referred to as a blooper as a joke.
Allay Early Model Texture.png|Allay sticker showing it's old model with a thinner arm.
AllayPixel.png|An allay as it appeared in the Mob Vote animations.
===In other media===
Wild key art.png|An allay in official artwork for The Wild Update.
Mobile Adventure 640x960.png|An allay following Alex in a boat.
Mangrove Portal.jpg|An allay peeking into view of a spyglass.
Allay Swamp.jpg|An allay in a mangrove swamp.
Allay animated sticker.gif|Allay artwork.
Wisp.png|The Wisp, a precursor to the Allay featured in Minecraft Dungeons.
Allay Builder MCL.png|Builder Allay, a unique variant featured in Minecraft Legends.
LEGO Allay.png|Lego Minecraft allay.
Red Allay Tank Top.png|An official Allay tank top.
White Allay Tank Top.png|A similar, white tank top.
=== Textures ===
Allay (texture).png
==See also==
*MCD:Wisp
*MCL:Allay
==References==
==External Links==
*Meet the Allay – Minecraft.net on May 27, 2022
*Mob Menagerie: Allay – Minecraft.net on April 6, 2023
Category:Passive mobs
Category:Flying mobs
de:Hilfsgeist
es:Allay
it:Alleviante
ja:アレイ
ko:알레이
pl:Otuszek
pt:Allay
ru:Тихоня
tr:Allay
uk:Збирик
zh:悦灵