Mojira Archive
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

Unresolved

Xterionix

2022-11-26, 09:08 AM

2025-01-17, 06:26 PM

6

6

Confirmed

1047028

1.20.20.22 Preview - 1.21.51 Hotfix1.20.20.22 Preview, 1.20.10.20 Preview, 1.19.80.21 Preview, 1.19.80.20 Preview, 1.19.41, 1.19.63, 1.19.70, 1.19.83 Hotfix, 1.20.12 Hotfix, 1.20.13 Hotfix, 1.20.30, 1.20.51 Hotfix, 1.20.60, 1.20.62 Hotfix, 1.20.80, 1.20.81 Hotfix, 1.21.30, 1.21.51 Hotfix

-