NoPlaceNearPortal
by just-ugly
NoPlaceNearPortal stops players from placing blocks on the sides of portal blocks, so a portal frame stays clear of accidental builds.
What it does
The mod forbids block placement next to portal blocks. The restriction covers all four horizontal directions and the blocks above and below, on both the front and back of a portal. When a player tries to place a block in a blocked spot, the attempt is refused and the player sees visual feedback.
A hotkey turns the restriction on or off, and the key can be changed in the controls settings. The feature starts enabled each time the game opens. It works in single-player and on multiplayer servers, because it runs only on the client. Servers need nothing installed, and players only need the mod on their own game.
Installation needs Fabric API on Fabric, and the mod is published for Fabric only, with a single build for 1.21. The code is open source under the MIT License, and the source code is publicly available.
Key features
Portal side blocking
Blocks cannot be placed against the sides of a portal, which keeps portal frames from being built over.
Four-direction coverage
The restriction applies to the front, back, sides, top and bottom of portal blocks, so every approach is checked.
Hotkey toggle
A configurable hotkey switches the restriction on or off without restarting the game.
Placement feedback
A refused placement attempt shows visual feedback so the player knows the block was not placed.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Protecting a nether portal frame
A player building around a nether portal can keep the area beside the frame clear while the restriction is active.
Who it’s for: Players who build around portals in single-player worlds or on multiplayer servers, and who want to avoid placing blocks against portal sides by accident.
How it compares
Offhand place toggle is client-side only, works on Fabric for 1.21.8, and is released under All rights reserved, so its license is not open source. Easy Slice Portal runs on both client and server, targets 1.21 – 1.21.1, and is released under the MIT License, but it is not open source in the sense of the source code being published. CorrectPortals is open source under the GNU Lesser General Public License v3.0 or later and needs the server, with the client optional, for 1.21.5.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| NoPlaceNearPortal | Fabric | 1.21 | Client-side only | 2025-05-02 |
| Offhand place toggle | Fabric | 1.21.8 | Client-side only | 2026-04-22 |
| Easy Slice Portal | Fabric | 1.21 – 1.21.1 | Client and server | 2025-12-04 |
| CorrectPortals | Fabric | 1.21.5 | Server required, client optional | 2025-04-21 |
Questions
Does NoPlaceNearPortal need Fabric API?
Does the server need NoPlaceNearPortal installed?
Can the restriction be turned off during play?
In the catalog
NoPlaceNearPortal is one of 29,952 Game mechanics mods on ModsFinder, and one of 19,630 Game mechanics mods for Fabric. 15,770 mods support Minecraft 1.21.
Similar mods
Official listing
- Modrinth page
- modrinth.com/mod/noplacenearportal
- Owner
- just-ugly
- Published
- 2025-05-02
- Updated on Modrinth
- 2025-05-02
- Facts verified
- 2026-10-15
