Updated:
Minecart max speed game rule (max_minecart_speed)
The "Minecart max speed" rule is called max_minecart_speed in Java 1.21.11 and later, and minecartMaxSpeed in 1.21.10 and earlier. Sets the top speed of minecarts on rails.
Basic data
| Name | Minecart max speed |
|---|---|
| Rule name (Java 1.21.11+) | max_minecart_speed |
| Old name (Java 1.21.10 and earlier) | minecartMaxSpeed |
| Bedrock name | No rule with the same name |
| Value type | Integer |
| Default | 8 |
Commands you can copy
Set to 16
/gamerule max_minecart_speed 16Reset to the default (8)
/gamerule max_minecart_speed 8Check the current value
/gamerule max_minecart_speedJava 1.21.10 and earlier
/gamerule minecartMaxSpeed 16Notes
- This rule only works in worlds created with the experimental "Minecart Improvements" feature turned on.
- 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 minecartMaxSpeed gives an error
In Java 1.21.11 and later the rule is called max_minecart_speed. Write /gamerule max_minecart_speed … instead. Worlds on 1.21.10 and earlier keep the old name.
How do I check the current value?
Run /gamerule max_minecart_speed without a value. The current value is shown in chat.