Skip to content
/SLASHPLAY

How to make neutral mobs attack everyone in Minecraft

Run /gamerule universal_anger true and angered neutral mobs attack every nearby player, not only the one who provoked them.

universal_anger

Controls whether angered neutral mobs attack every nearby player, not only the one who provoked them.

/gamerule universal_anger <true|false>

Examples

/gamerule universal_anger true

Angry neutral mobs attack anyone.

Values

ValueWhat it does
true On
falseDefault Off

Arguments

true|falseOptional
true turns the rule on, false turns it off. Leave it out to show the current value.

What it does

When true, a provoked zombified piglin or similar neutral mob turns hostile toward any player nearby. Works best with forgive_dead_players set to false.

Run it on your server

On a SLASHPLAY server, type it in the Console tab without the leading slash; in game, operators type it in chat with the slash. New to this? Start a Minecraft server first.

Your own
Minecraft server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.