-
Bug
-
Resolution: Duplicate
-
None
-
1.17.1
-
None
-
Unconfirmed
-
(Unassigned)
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.
- duplicates
-
MC-110386 Certain mobs attack themselves when targeted by a mob of the same type
- Resolved