mojira.dev
MC-260473

When made to fight with /damage zombies can attack at great distances and through walls

When using the /damage command to make one zombie hurt another, the attacker zombie will seemingly fight a ghost, get hurt by it and die.
The zombie that was hurt will try to walk up and attack the attacker zombie as well like normal.

Expermiment:

Zombies with tags are spawned at two sides of a barrier box:
Spawn Attacker: /summon minecraft:zombie 93.50 -60.00 73.50 {Tags:["attacker"]}
Spawn Hurt: /summon minecraft:zombie 93.47 -60.00 62.49 {Tags:["hurt"]}

Damage command to make them attack each other:
damage @e[tag=hurt,limit=1] 0 minecraft:mob_attack by @e[tag=attacker,limit=1]

Result:
When the attack zombie hurts the "hurt" zombie, the attack zombie seems to start fighting a ghost and being attacked by it. This results in the attackers death in 100% of cases.

The same effect happens even if there is a barrier or a wall inbetween both zombies, making interaction imposible.

Was also tested on Creeper and Skeleton but these mobs did not show this effect, even when combined with a zombie

Linked issues

Attachments

Comments 2

Thank you for your report!
We're tracking this issue in MC-110386, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

Tim de Vries

(Unassigned)

Unconfirmed

(Unassigned)

1.19.4 Pre-release 1

Retrieved