Home›Java›Mods›Disable Portals
Disable Portals
ModsJava

Disable Portals

by dmunozv04 · on CurseForge

Which Minecraft do you have?

Every version of the game needs its own build. Pick yours, then download — the wrong build installs fine and then does nothing in the game. This mod is built for Fabric only.

⬇ Download for 1.21.10–1.21.11⬇ Download for 1.21.7⬇ Download for 1.21.5⬇ Download for 1.21.4⬇ Download for 1.17–1.17.1⬇ Download for 1.16.5
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
Disable Portals — screenshot 1

Disable Portals

A simple mod that allows for the disabling of nether portals and end portals. It adds the disableportals command for all operators.

Command Usage

disableportals reloadConfig - reloads the config file, located in config/DisablePortals.json

disableportals (netherAllowed|endAllowed|endGatewaysAllowed) (true|false) - sets the selected dimension's portals to work or not to work.Ex: disableportals endAllowed false will turn off end portals.

Config Usage

A config file (config/DisablePortals.json) will auto generated.

By default, no portals are disabled. To disable nether portals through the config, set disableNetherPortals to true. If you make changes to the config while the game is running, you will have to run disableportals reloadConfig for the changes to take effect.


Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more