I was running some commands to make certain mobs target each other. It looked something like this:
/execute as @e[type=zombie,tag=hurt,limit=1] at @s run summon minecraft:snowball ~ ~2.5 ~ {Tags:["aggro"]}
/data modify entity @e[type=snowball,tag=aggro,limit=1] Owner set from entity @e[tag=target,limit=1] UUID
I used to be able to do this with no issues aside from regular mob behavior. However, when I was hitting zombies with snowballs, they started dealing damage to the targeted mob from far away. The mobs that they seemed able to hit "telepathically" were other zombies, husks, drowned, and zombie villagers.
To recreate this, simply summon a zombie and other mob with tags and use the above commands in a world.
Other: I also noticed that with these commands a husk or zombie villager with telepathically attack their own mob type, but no other mobs.
Linked issues
duplicates 1
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.
Duplicate of MC-110386.