Enhanced Allays

This data pack makes allays teleport to the player or to their noteblock, much like how dogs and cats teleport. It also adds the option to make allays immortal.

730

Enhanced Allays

Video:

https://youtu.be/Z_L3IO1kkhk

1.21.6+ Features:

* Teleports allays to their owner if they are 64 blocks away from them, unless <ins>nametaged</ins> or <ins>in a vehicle</ins> * Allays trapped in or above walls, fences, fence gates, composters, (filled) cauldrons and hoppers don't teleport ever * Teleports allays to their note block if they are outside the 16 m range and their timer runs out, unless <ins>nametaged</ins> or <ins>in a vehicle</ins> * handy in watery environments where allays are slower * has suffocation protection by teleporting them on top of the note block (there is always air above working note blocks) * has leash functionality to counter this note block feature * Allays leashed by players cannot like note blocks and thus follow the player * Shearing an allay causes it to <ins>lose its custom name</ins>

Invulnerable Allays Add-on

* `/trigger invulnerable_allays` makes If allays immortal * trigger again to make them mortal again * If server owners don't want immortal allays, admins with OP may use `/function tpallays:toggle_invulnerability` to toggle between allowing and disallowing invulnerable allays * Invulnerable allays are reset when disabled. * 'invulnerable allays' is disabled by default

---

1.21.5

* Teleports allays to their owner if they are 64 blocks away from them, unless <ins>nametaged</ins> or <ins>in a vehicle</ins> * Allays trapped in or above walls, fences, fence gates, composters, (filled) cauldrons and hoppers don't teleport ever * Teleports allays to their note block if they are outside the 16 m range and their timer runs out, unless <ins>nametaged</ins> or <ins>in a vehicle</ins>

* handy in watery environments where allays are slower * has suffocation protection by teleporting them on top of the note block (there is always air above working note blocks) * has leash functionality to counter this note block feature * Allays leashed by players cannot like note blocks and thus follow the player * Naming an allay "unname" causes it to <ins>lose its custom name</ins> * `/trigger invulnerable_allays` makes your allays immortal

* trigger again to make them mortal again * If server owners don't want immortal allays, admins with OP may use `/function tpallays:toggle_invulnerability` to toggle between allowing and disallowing invulnerable allays * Invulnerable allays are reset when disabled. * 'invulnerable allays' is disabled by default

1.21.4

* Teleports allays to their owner if they are 64 blocks away from them, unless <ins>nametaged</ins> or <ins>in a vehicle</ins> * Allays trapped in or above walls, fences, fence gates, composters, (filled) cauldrons and hoppers don't teleport ever * Teleports allays to their note block if they are outside the 16 m range and their timer runs out, unless <ins>nametaged</ins> or <ins>in a vehicle</ins>

* handy in watery environments where allays are slower * has suffocation protection by teleporting them on top of the note block (there is always air above working note blocks) * has leash functionality to counter this note block feature * Allays leashed by players cannot like note blocks and thus follow the player * Naming an allay "unname" causes it to <ins>lose its custom name</ins> * `/trigger invulnerable_allays` makes your allays immortal

* trigger again to make them mortal again * If server owners don't want immortal allays, then go into the data pack file > data > tpallays > functions and remove `invulnerable.mcfunction` (this is enabled by default)

1.20.5 – 1.21.3

* Teleports allays to their owner if they are 64 blocks away from them, unless <ins>nametaged</ins> * Allays trapped in or above walls, fences, fence gates, composters, (filled) cauldrons and hoppers don't teleport ever * Teleports allays to their note block if they are outside the 16 m range and their timer runs out, unless <ins>nametaged</ins>

* handy in watery environments where allays are slower * has suffocation protection by teleporting them on top of the note block (there is always air above working note blocks) * has leash functionality to counter this note block feature * Allays leashed by players cannot like note blocks and thus follow the player * Naming an allay "unname" causes it to <ins>lose its custom name</ins> (<– broken due to bug MC-128225) * `/trigger invulnerable_allays` makes your allays immortal

* trigger again to make them mortal again * If server owners don't want immortal allays, then go into the data pack file > data > tpallays > functions and remove `invulnerable.mcfunction` (this is enabled by default)

Older

Check the changelog tab for a more accurate picture, these versions differ greatly.

Allays have more issues in Minecraft:

Allays might be my favourite mob, but they are plagued with issues that this data pack might adress in the future. Meanwhile, please vote for this <a href="https://bugs.mojang.com/browse/MC-278599">bug MC-278599</a> and browse through <a href="https://bugs.mojang.com/browse/MC-252400?jql=project%20%3D%20MC%20AND%20status%20in%20(Open%2C%20%22In%20Progress%22%2C%20Reopened%2C%20Postponed%2C%20Pending)%20AND%20text%20~%20allay">other bugs</a>

---

notice

- If you want to support small creators like me, you can turn off ad blocker. - Check out my profile for more creations: https://modrinth.com/user/TQNL

Keep in mind: - Ensure you're familiar with installing data packs. Verify compatibility with your Minecraft version.

Terms of use:

Do: - Use and modify the data pack for private use. - Credit me (ThijquintNL) as the creator when using the data pack in public, such as in video showcases, or when editing and redistributing the original material.

Don't: - Redistribute the data pack for commercial purposes.

Under CC-BY-NC-SA 4.0 license

ADS