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

NameAllow Nether
Rule name (Java 1.21.11+)allow_entering_nether_using_portals
Old name (Java 1.21.10 and earlier)allowEnteringNetherUsingPortals
Bedrock nameNo rule with the same name
Value typetrue / false
Defaulttrue

Commands you can copy

Turn off (false)

/gamerule allow_entering_nether_using_portals false

Reset to the default (true)

/gamerule allow_entering_nether_using_portals true

Check the current value

/gamerule allow_entering_nether_using_portals

Java 1.21.10 and earlier

/gamerule allowEnteringNetherUsingPortals false

Notes

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.

Other game rules