A lightweight, server-side NeoForge mod that lets administrators control access to the End, access to the Nether, and Minecraft's standard fall-flying mechanic with persistent game rules.
GitHub Releases contain source-code archives only. Compiled JAR files are distributed through Modrinth and CurseForge.
All restrictions are disabled by default. Installing the mod does not block anything until an administrator explicitly enables a game rule.
- Minecraft Java Edition 1.21.1
- NeoForge 21.1.x
- Java 21
The mod is installed on the dedicated server only. Clients do not need this mod, and the project contains no client classes, screens, rendering resources, or custom network payloads.
- Blocks travel by any entity to
minecraft:the_end. - Blocks travel by any entity to
minecraft:the_nether. - Blocks the standard Minecraft fall-flying state without deleting, unequipping, damaging, or identifying specific elytra items.
- Changes take effect immediately and persist with the world.
- Server operators are subject to the same restrictions as other players.
- Portals and dimensions remain intact and are usable again as soon as their game rule is disabled.
| Game rule | Default | Description |
|---|---|---|
disableEnd | false | Blocks travel to the End |
disableElytraFlight | false | Blocks vanilla fall-flying mechanics |
disableNether | false | Blocks travel to the Nether |
All three rules default to false, including when the mod is first added to an
existing world, so the mod initially restricts nothing.
Enable the End restriction:
/gamerule disableEnd true
Allow travel to the End:
/gamerule disableEnd false
Disable fall flying:
/gamerule disableElytraFlight true
Allow fall flying:
/gamerule disableElytraFlight false
Disable travel to the Nether:
/gamerule disableNether true
Allow travel to the Nether:
/gamerule disableNether false
The vanilla /gamerule command requires the usual command permission level.
- Install a Minecraft 1.21.1 dedicated server with NeoForge 21.1.x.
- Stop the server.
- Copy
dimensionelytracontrol-1.0.0.jarinto the server'smodsdirectory. - Start the server and enable only the game rules you want.
Do not install the JAR on clients. There are no required dependencies other than Minecraft and NeoForge.
The repository includes the Gradle Wrapper. Build with Java 21:
./gradlew buildOn Windows:
.\gradlew.bat buildThe installable JAR is generated at:
build/libs/dimensionelytracontrol-1.0.0.jar
Dimension restrictions use NeoForge's cancellable
EntityTravelToDimensionEvent, so vanilla portals, commands, and modded
dimension-transfer mechanisms are blocked when they use NeoForge's standard
travel path. Portal blocks, frames, dimensions, and entities already inside a
restricted dimension are not modified.
The elytra restriction targets the shared Minecraft fall flying state rather
than an item ID. It therefore also covers modded elytras and effects, such as a
cardboard elytra or Angel Wings, when they use the standard fall-flying
mechanic. It does not remove items or effects.
Creative flight, mayfly, abilities.flying, jetpacks, levitation, vehicle
flight, Create: Aeronautics, and other movement systems that do not use
Minecraft's fall-flying state are not affected.
Keep this setting in server.properties:
allow-nether=trueThis allows disableNether to control Nether access immediately without a
server restart. If allow-nether=false, the vanilla server may disable the
Nether independently, and the mod cannot restore access with a game-rule
command alone.
Dimension and Elytra Control is available under the MIT License.