mojira.dev
MC-252866

Allay can break lead trying to reach player

I noticed that allays holding an item can sometimes break a lead when they are tethered to a fence post.

Steps to reproduce:

  1. Give an allay an item

  2. Attach it to a lead then tether it to a fence post

  3. Move away from the allay to a distance beyond the maximum lead extension

  4. The allay will occasionally break the lead and move to the player

I can try to provide a video of this happening if it would be helpful, but I found it pretty easy to reproduce consistently. Thank you all!

Linked issues

Attachments

Comments 19

My allays constantly break off leads attached to fences even if they are not holding an item, making them quite annoying to keep in one place.

@CometAurora Interesting. I had thought it was the pathfinding causing them to break the leads, but from your experience it looks like it might just be that they move too fast and erratically to be kept tethered with a leash.

The interesting thing is that, for me, the lead hasn't "broken" in the sense that... it's still attached to the fence post and the item isn't floating on the ground. However, the allay is no longer attached.

[media]

@sepiapages The same thing happens on my end as well. The lead item drops, but texturally it's still wrapped around the fence post. However, I didn't include that in the bug description because I believe that issue is covered by MC-96347. However, that is also an annoying factor.

In 22w44a

9 more comments

Replicated in 1.20.2

Please see attached a duplication video: I duplicate the issue three times in a row on a private survival multiplayer server.

https://drive.google.com/file/d/1asd5XhuSttk22KEv4iYSo1V16on1H1CK/view?usp=sharing

I wanted to add the following notes:

  1. Replication appears to require (or is made easier by) multiple allays attached to the same fence post. In my case, I need three attached before the issue begins to appear.

  2. Replication appears to require (or is made easier by) some type of terrain collision/interference. I have allays attached to other fence posts in other parts of the world, and have never seen this issue duplicated elsewhere.

In 1.20.4.

I'm no longer able to reproduce this bug in 1.21.1. Is anyone else still able to reproduce this behavior, or was it sneakily patched somewhere between 1.20.4 and 1.21.1?

Can confirm this still happening in 1.21.3. I just got a couple allays for the first time and this is happening constantly. When they detach like this it seems to leave these temporary visual bugs with one half of the lead still attached to the fence they were attached to. Has happened both with relogging/reloading as well as when I start to get too far away. Makes me not want to use them because they can be quite annoying while you are working on things.

 

[media]
empressskyfire

this is happening to me in 1.21.1. and when my allays break the lead, the knot texture stays on the fence post until I punch it. super annoying, I ended up having to keep em in an enclosure instead 

200_fly

(Unassigned)

Community Consensus

Gameplay

Normal

Mob behaviour

1.19, 1.19.2, 22w44a, 22w46a, 1.19.3 Pre-release 1, ..., 1.20, 1.20.1, 1.20.2, 1.20.4, 1.21.3

Retrieved