Teleport Allays Datapack
Latest version over on modrinth, click!
This datapack makes allays teleport to the player or to their noteblock, much like how dogs and cats teleport:
- Teleports allays to the nearest player if they are 64 blocks away from them, unless nametaged
- Teleports allays to their noteblock when they are outside the 16 block range and their timer runs out
- handy in watery environments where allays are slower
- has suffocation protection by teleporting them to a nearby (cave)air block
- leashed allays cannot like noteblocks and thus follow the player
Be sure to check out my other datapacks, including Rock Crusher, Invulnerable Allays and Duplicate Allays in 1.19.
If you encounter issues, leave a comment, and I'll try to address them when it suits me. If you don't know how to install datapacks, I recommend searching up a tutorial, it's very easy.