Updated:
Forgive dead players game rule (forgive_dead_players)
The "Forgive dead players" rule is called forgive_dead_players in Java 1.21.11 and later, and forgiveDeadPlayers in 1.21.10 and earlier. Controls whether angry neutral mobs calm down when the player they were angry at dies.
Basic data
| Name | Forgive dead players |
|---|---|
| Rule name (Java 1.21.11+) | forgive_dead_players |
| Old name (Java 1.21.10 and earlier) | forgiveDeadPlayers |
| Bedrock name | No rule with the same name |
| Value type | true / false |
| Default | true |
Commands you can copy
Turn off (false)
/gamerule forgive_dead_players falseReset to the default (true)
/gamerule forgive_dead_players trueCheck the current value
/gamerule forgive_dead_playersJava 1.21.10 and earlier
/gamerule forgiveDeadPlayers falseNotes
- Java 1.21.11 renamed game rules to lower case with underscores. If an older command or a map description uses the old name, rewrite it for your version.
- Game rules are saved per world. On a server, a new world starts with the default values again.
Questions
Typing forgiveDeadPlayers gives an error
In Java 1.21.11 and later the rule is called forgive_dead_players. Write /gamerule forgive_dead_players … instead. Worlds on 1.21.10 and earlier keep the old name.
How do I check the current value?
Run /gamerule forgive_dead_players without a value. The current value is shown in chat.