mojira.dev
MCPE-164588

Custom tamed entities with delayed attacks attack other tamed entities

Steps to Reproduce:

  1. Download the attached pack and create a world using it

  2. Enable all experimental features available (I believe this isn't needed but I've always had experimental features on when testing)

  3. Spawn the "Atlasaurus" entity

  4. Tame it with wheat

  5. Spawn a wolf

  6. Tame the wolf

  7. Make sure the dinosaur is standing and punch the wolf

Observed Behavior

The dinosaur will attack and kill the wolf even though they have been tamed by the same player.

Expected Behavior

The dinosaur will not attack the other entity.

Notes 

Removing the delayed attack component and using the melee attack component fixes this.

Edit: Included video to demonstrate that it doesn't happen every time but does happen sometimes

[media]

Attachments

Comments 3

This is so annoying to deal with, keep trying to find coding ways around it but it just gets more complicated and doesn't work, pls fix

Thank you for your report!

However, this issue has been temporarily closed as Awaiting Response.

Could you please attach a video showcasing the issue? Also, do you need to enable any specific experimental toggles?

This ticket will automatically reopen when you reply.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📓 Project Summary – 📧 Suggestions – 📖 Minecraft Wiki

Xterionix

(Unassigned)

1047028

Confirmed

Windows

Windows 11

1.20.20.22 Preview, 1.20.10.20 Preview, 1.19.80.21 Preview, 1.19.80.20 Preview, 1.19.41, ..., 1.20.62 Hotfix, 1.20.80, 1.20.81 Hotfix, 1.21.30, 1.21.51 Hotfix

Retrieved