Updated:
Thrown Ender Pearls vanish on death game rule (ender_pearls_vanish_on_death)
The "Thrown Ender Pearls vanish on death" rule is called ender_pearls_vanish_on_death in Java 1.21.11 and later, and enderPearlsVanishOnDeath in 1.21.10 and earlier. Controls whether thrown ender pearls vanish when the player who threw them dies.
Basic data
| Name | Thrown Ender Pearls vanish on death |
|---|---|
| Rule name (Java 1.21.11+) | ender_pearls_vanish_on_death |
| Old name (Java 1.21.10 and earlier) | enderPearlsVanishOnDeath |
| Bedrock name | No rule with the same name |
| Value type | true / false |
| Default | true |
Commands you can copy
Turn off (false)
/gamerule ender_pearls_vanish_on_death falseReset to the default (true)
/gamerule ender_pearls_vanish_on_death trueCheck the current value
/gamerule ender_pearls_vanish_on_deathJava 1.21.10 and earlier
/gamerule enderPearlsVanishOnDeath 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 enderPearlsVanishOnDeath gives an error
In Java 1.21.11 and later the rule is called ender_pearls_vanish_on_death. Write /gamerule ender_pearls_vanish_on_death … instead. Worlds on 1.21.10 and earlier keep the old name.
How do I check the current value?
Run /gamerule ender_pearls_vanish_on_death without a value. The current value is shown in chat.