Updated:
Allow Nether game rule (allow_entering_nether_using_portals)
The "Allow Nether" rule is called allow_entering_nether_using_portals in Java 1.21.11 and later, and allowEnteringNetherUsingPortals in 1.21.10 and earlier. Controls whether players can enter the Nether through Nether portals.
Basic data
| Name | Allow Nether |
|---|---|
| Rule name (Java 1.21.11+) | allow_entering_nether_using_portals |
| Old name (Java 1.21.10 and earlier) | allowEnteringNetherUsingPortals |
| Bedrock name | No rule with the same name |
| Value type | true / false |
| Default | true |
Commands you can copy
Turn off (false)
/gamerule allow_entering_nether_using_portals falseReset to the default (true)
/gamerule allow_entering_nether_using_portals trueCheck the current value
/gamerule allow_entering_nether_using_portalsJava 1.21.10 and earlier
/gamerule allowEnteringNetherUsingPortals falseNotes
- This rule moved from server.properties to a game rule in Java 1.21.9. Write
allowEnteringNetherUsingPortalsin 1.21.9–1.21.10 andallow_entering_nether_using_portalsin 1.21.11 and later. - 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 allowEnteringNetherUsingPortals gives an error
In Java 1.21.11 and later the rule is called allow_entering_nether_using_portals. Write /gamerule allow_entering_nether_using_portals … instead. Worlds on 1.21.10 and earlier keep the old name.
How do I check the current value?
Run /gamerule allow_entering_nether_using_portals without a value. The current value is shown in chat.