1.21.6:
shearing an allay causes it to lose its custom name (replacing 'unname' functionality)
1.21.5:
- Server owners (needs 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: re-introduced unnaming feature
- Brought back 'no teleporting when named' and unnaming in a scuffed form. pls vote for https://bugs.mojang.com/browse/MC-128225
- Allays in vehicles now can't teleport
- Now, only allays leashed by the PLAYER ignore note blocks
- 1.20.5
- unname functionality broken due to bug MC-128225
Backport of V3 to V1 for 1.19-1.20.1:
- Added /trigger invulnerable_allays; makes all allays immortal. Trigger again to make them mortal again.
- Made invulnerable allays a looped function of one second for lag optimisation.
- naming an allay "unname" causes it to lose its custom name
- Allays trapped in or above walls, fences, fence gates, composters, (filled) cauldrons and hoppers don't teleport ever
- Fix in the naming scheme used in data pack's load notification
- Added /trigger invulnerable_allays; makes your allays immortal. Trigger again to make them mortal again.
- Made it so allays teleport to their owner, instead of the nearest player.
- Made invulnerable allays a looped function of one second for lag optimisation.
- Unaffected by data pack version 18 changes (personal note)