TransWikia.com

How to make mobs attack each other in Minecraft

Arqade Asked on March 3, 2021

Is there a relatively easy way to make mobs attack other mobs, for example zombies attack other zombies? I have tested summonning a snowball as another mob over a zombie, so the zombie thinks it was the other zombie that hurt him, but it didn’t work at all, or I did something wrong.
I’m playing in 1.16 (20w22a).
I tested this command:

/execute at @e[type=minecraft:zombie,limit=1,sort=nearest] as @e[type=minecraft:zombie,limit=1,sort=furthest] run summon minecraft:snowball ~ ~3 ~

I also tested these commands, but they didn’t work 🙁

1 /summon zombie ~ ~ ~ {UUIDMost:1L,UUIDLeast:0L}
2 /summon zombie ~ ~ ~ {Tags:["target"]}
3 /execute as @e[tag=target] at @s run summon snowball ~ ~4 ~ {owner:{L:0L,M:1L}}

here is an video link!

3 Answers

I know that archers can trigger attack between mobs, try with an arrow

Answered by Leonardo Bonadimani on March 3, 2021

Though this is not universal to all mobs, you could name a vindicator "Johnny", and it would attack all mobs in its vicinity, except for other illagers.

Alternatively, you could try spawning a skeleton and a different mob, and going into Survival mode, running between the two mobs. The skeleton would try and shoot you, but you dodge it, causing the fired arrow to hit the other mob. This would cause a mob fight to be staged.

I hope these methods work well.

Answered by fasterthanlight on March 3, 2021

You can use the /team and make two teams and assign the mobs to the teams. The mobs will fight each other automatically.

Answered by TGPMinecraft on March 3, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP