User:Hipposgrumm/Memes/Tuff Golem - minecraft.fandom.com
The tuff golem ( /əˈleɪ/ uh-ʟᴀʏ) is a small flying wisp-like passive mob. It collects and delivers items for any player that gives it something, or any note block it hears repeatedly playing.
Spawning[]
Pillager outposts[]
Two allays in a cage near a pillager outpost.
Allays can be found surrounding pillager outposts, confined inside dark oak cages. One to three allays can spawn in each cage.
Woodland mansion[]
Two allays inside a woodland mansion cell.
Allays can also spawn inside jail cells within woodland mansions. one to three allays can spawn in each cell.
Behavior[]
The allay's luminous texture allows it to be seen clearly in the dark, although it doesn't illuminate its surroundings.
The allay wanders around until a player gives it an item with their use key. The allay starts following the player, seeking out dropped versions of the same item and delivering them to its player. The allay returns to wandering around if any player takes its item back by using an empty hand on it.
The allay locks onto the player that last gave it an item. It follows the player from up to 64 blocks away even if it can't see them, and it seeks items up to 32 blocks away from the player. After delivering items, it has a delay of three seconds until it can seek items again. The 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 Shulkers when it seeks, it still carries such items in separate trips.
If the allay hears a note block play within 16 blocks of its location, it tries to path find to the note block and then spends 30 seconds around that particular note block, seeking items around it and returning them to it instead of its player. After 30 seconds, the allay returns to targeting its player. 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 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 target (either the player or a note block).
When an allay hears a jukebox playing, it performs a dance animation. If the jukebox stops playing, or if the allay gets too far away from the jukebox, it stops dancing.
The allay cannot enter water, although it attempts to gather items that are under water.
Allays cannot be harmed by their owners. If they are harmed by another source, they go into a panic state and start moving wildly in random directions. 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 2
per second if damaged.
In Java Edition, using a lead or a named name tag performs the item's normal function, instead of giving it to the allay.
Allay duplication[]
If the allay is given an amethyst shard while dancing, it plays a small amethyst sound, makes a heart, and duplicates into another allay. After duplication, both allays have a five minute cooldown before being able to duplicate again.
Teleportation[]
When a player teleports through a Nether portal, the player's allay will teleport as well, even if it does not enter the portal.
The allay cannot teleport to the End.
Sounds[]
Java Edition:
Allays use the Friendly Creatures sound category for entity-dependent sound events.
| Sound | Subtitles | Source | Description | Resource location | Translation key | Volume | Pitch | Attenuation distance |
|---|---|---|---|---|---|---|---|---|
| Allay seeks | Friendly Creatures | Randomly while holding an item | entity | subtitles | 0.3 | 1.25 | 16 | |
| Allay yearns | Friendly Creatures | Randomly while not holding an item | entity | subtitles | 0.25 | 1.0 | 16 | |
| Allay dies | Friendly Creatures | When an allay dies | entity | subtitles | 0.6 | 1.0 | 16 | |
| Allay hurts | Friendly Creatures | When an allay is damaged | entity | subtitles | 0.8 | 1.5 | 16 | |
| Allay chortles | Friendly Creatures | When an allay is given an item from a player | entity | subtitles | 0.1 | 1.0 | 16 | |
| Allay allays | Friendly Creatures | When an allay's item is removed by a player | entity | subtitles | 0.1 | 1.25 | 16 | |
| Allay tosses | Friendly Creatures | When an allay throws an item | entity | subtitles | 0.25 | 1.0 | 16 |
| Sound | Source | Description | Resource location | Volume | Pitch |
|---|---|---|---|---|---|
| Friendly Creatures | Randomly while holding an item | mob | 0.25 | 1.25 | |
| Friendly Creatures | Randomly while not holding an item | mob | 0.12 | 1.0 | |
| Friendly Creatures | When an allay dies | mob | 0.5 | 1.0 | |
| Friendly Creatures | When an allay is damaged | mob | 0.5 | 1.0 | |
| Friendly Creatures | When an allay is given an item from a player | mob | 0.1 | 1.0 | |
| Friendly Creatures | When an allay's item is removed by a player | mob | 0.1 | 1.25 | |
| Friendly Creatures | When an allay throws an item | mob | 0.3 | varies[sound 1] |
- ↑ Pitch is a random number in this list: 0.5, 0.5625, 0.625, 0.75, 0.9375, 1, 1.125, 1.25, 1.5, 1.875, 2, 2.25, 2.5, 3, 3.75, or 4.
Data values[]
ID[]
| Name | Identifier | Translation key |
|---|---|---|
| Allay | allay | entity.minecraft.allay |
| Name | Identifier | Numeric ID | Translation key |
|---|---|---|---|
| Allay | allay | 134 | entity.allay.name |
Entity data[]
Allays have entity data associated with them that contain various properties.
User:Hipposgrumm/Memes/Tuff Golem/ED
| 1.17 Caves & Cliffs (Part 1) |
| ||||||||
|---|---|---|---|---|---|---|---|---|---|
| 1.18 The Update that I Completely Forgot to Make Memes For | |||||||||
| 1.19 The Wild Update |
|||||||||
| 1.20 The Decoration Update |
|||||||||
{{#if: User11