PT-BR EN ES
Channel Icon

Crazy Ozz

Official Channel Website

Command Block

How to Make Mobs Attack Each Other in Minecraft (Mob vs Mob)

Minecraft Java Edition 1.21+ and 26+ – Command Block Method to Make Mobs Fight

Want to create mob battles in Minecraft, like Skeleton vs Zombie or Wither Skeleton vs Creeper? In this tutorial you will learn how to make mobs attack each other using commands and command blocks in Minecraft Java Edition 1.21+ and 26+. This method uses the /damage command to apply damage while setting another mob as the attacker, forcing the target to fight back. This is perfect for arenas, minigames, adventure maps, and custom mob fight challenges.

First, place 2 mobs of your choice in an area

In my case, I chose a skeleton and a wither skeleton

The command below will make the skeleton be "attacked" by the nearest wither skeleton

execute as @e[type=minecraft:skeleton] at @s run damage @s 0.1 minecraft:mob_attack by @e[type=minecraft:wither_skeleton,limit=1,sort=nearest]

Just change the mobs to the ones you want and test it!

Want cheap and lag-free Minecraft hosting?

I recommend Sparked Host: affordable plans, great performance, easy panel and fast support.

🚀 Start your Minecraft Server

Still have questions? Watch the video below