Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Creators
Details
Disable Dimensions
A hard-to-break, grief-resistant solution for preventing players from entering The Nether and/or The End.
Allows you to disable dimensions by removing any possible way for players to enter them. Each dimension can be separately enabled or disabled.
Perfect for vanilla and modded multiplayer servers where you want to disable further dimensions to prevent players from progressing too fast.
Why use this data pack/mod?
- Only Complete Solution: No other data pack currently disables both the Nether and the End for the current Minecraft versions. All older ones are outdated or broken.
- Comprehensive Coverage: Works in every situation. For players in all game modes, teleportation commands, ender pearls, minecarts, and more. Players can enter portals/teleport, but are instantly teleported back. From the Nether to their entry point with a fallback to world spawn, and from the End to their respawn or world spawn.
- Intended Vanilla Reward: Players who try to swap dimensions will still receive the vanilla “entered dimension” advancement (for the Nether or the End). This is intentional and serves as a small reward for their attempt. And you know who tried by checking their achievements. Don’t worry, they’ll get teleported back safely!
- Immersive Feedback: On teleport back, players see a short action bar message, hear a subtle sound cue and get a slowness effect applied, making the experience clear and responsive without being intrusive.
- Flexible and Compatible: Works as either a global mod or a world-specific data pack, fully compatible with both vanilla and modded setups right out of the box.
- Server-Ready: Built to be reliable, grief-resistant, and completely passive, with no extra overhead through tick-based checks. Perfect for public or semi-public multiplayer servers.
- Dynamic Configuration: Can be adjusted in real time through the in-game config panel, no reloads or restarts required.
TL;DR: A stable and lightweight way to stop unwanted dimension travel, made to just work.
Installation
After adding the data pack/mod to your world or server, you should see this confirmation message on login when the world loads:

You can configure it using the config panel. It’s intractable with your mouse. You must set the World Spawn once through it. Make sure you’re standing at the desired spawn location when doing so:
/function disable_dimensions:config

Showcase
'Going Through' Nether Portal
Throwing Ender Pearl at Nether Portal
Teleporting to The Nether
'Going Through' End Portal
Throwing Ender Pearl at End Portal
Teleporting to The End
Contributing & Issues
I warmly welcome:
- Bug reports
- Feature requests
- Pull requests
Please open issues or PRs on GitHub.
License
This project is licensed under the MIT License. See LICENSE for details.









