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.
How to Install Disable Portals (Mod)
Disable Portals by dmunozv04 is verified for Fabric across Minecraft versions 1.16.5, 1.21.10, 1.21.11, 1.21.4, 1.21.5, 1.21.7, 1.21.8, 1.21.9 (latest release: 0.4.4, file size: 34 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.16.5, 1.21.10, 1.21.11, 1.21.4, 1.21.5, 1.21.7, 1.21.8, 1.21.9) and platform (Fabric).
- Make sure you have the compatible loader or environment installed for Fabric.
- Move the downloaded Disable Portals file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version- Update to 1.21.7 by @MaketendoDev in https://github.com/dmunozv04/DisablePortals/pull/2
## New Contributors
- @MaketendoDev made their first contribution in https://github.com/dmunozv04/DisablePortals/pull/2
- Full Changelog**: https://github.com/dmunozv04/DisablePortals/compare/v0.4.2...v0.4.3
- 1.21.5 support by @keetsta in https://github.com/dmunozv04/DisablePortals/pull/1
## New Contributors
- @keetsta made their first contribution in https://github.com/dmunozv04/DisablePortals/pull/1
- Full Changelog**: https://github.com/dmunozv04/DisablePortals/compare/v0.4.1...v0.4.2
Also adds state command and fixes wrong text
### Changelog
``
patch
+ /disableportal allowEndGateways (true|false) - allows for disabling of end gateways
``