Inhibited
Welcome to the world of Inhibited! This is a compact and practical mod that introduces one special potion called Inhibited. Its effect completely mimics adventure mode (command /gamemode 2).

How the effect works
When a player is under the influence of this effect, they effectively switch to adventure mode. It's similar to survival but with an important limitation: blocks cannot be placed or destroyed. Meanwhile, all other interactions work as usual — you can open chests, use doors, switches, buttons, attack mobs, and much more!
Practical applications
This mod was originally created for my upcoming modpack. I needed a way to use command blocks in custom structures (for example, those created via Recurrent Complex) to switch players to adventure mode. This allows creating dungeons, battles, and especially boss fights where obstacles cannot be bypassed by simply breaking or placing blocks, while keeping the rest of the world in the classic Minecraft sandbox style.
Usage examples
- Protecting builds: If you've created a unique area, such as a village marketplace, and want to protect it from destruction, simply apply this effect to players when they enter the zone.
- Tactical combat: Using mods like ROTM, you can configure certain mobs to apply this effect when attacking. This forces players to focus on fighting rather than building shelters.
- Boss arenas: When approaching a boss arena, the player automatically receives the effect, turning the area into a fair battlefield.
- Dungeon exploration: If you've spent a lot of time creating epic dungeons with RC, but players constantly break through walls to reach valuable chests, this effect will force them to navigate the labyrinths as intended.
Why a potion effect?
This solution has several important advantages:
- The effect can be constantly applied every tick using command blocks or other mods like Set Bonus, In Control, etc. This allows making entire dimensions available only in adventure mode!
- When a player leaves the zone on foot, the effect is automatically removed.
- Upon death, the player respawns in the mode they were in before the effect (e.g., survival).
- If the player uses teleportation to exit the zone, the effect is also removed.
Using a potion effect makes all these scenarios achievable.
Example command to apply the effect for 30 seconds without particles: /effect Player inhibited:inhibited 30 0 true
This mod was developed for Minecraft version 1.12.2.