PreventBuild
by Redheris
PreventBuild is a Fabric utility that blocks chosen player actions, such as placing, breaking or clicking a block, using condition files that the author writes.
What it does
Admins and map builders set up rules in the config files to stop certain actions. Conditions can match a held item, a clicked block or the state of a block, and they can be combined into complex logic. Ore dictionaries.json defines custom lists of items for reuse across conditions. Changes made to the config can be applied to the running game with commands, and configs update automatically when a player joins the world.
The original purpose was to help with hand-building map art without using printers, by preventing mistakes such as placing the wrong block. Cancelling actions happens on the client side, and the mod runs in client-only mode, so servers do not install it. Fabric API is required. Files are published for 1.21.4 – 1.21.11 under the MIT License, and the code is open source.
Key features
Custom condition rules
Config files define which player actions are cancelled and the conditions under which that happens.
Held item checks
A rule can depend on the item in hand, so a right-click with an empty hand can be blocked while other clicks pass.
Ore dictionary lists
Reusable lists of items are defined in one file and referenced by any condition.
Live config updates
Commands reload edited configs in the running game, and configs refresh when a player joins.
Extensible condition registry
Developers can register their own conditions and reuse the same config structure.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Use cases
Map art building
Builders prevent accidental placing or breaking of blocks while assembling large map art.
Restricted build areas
Rules can stop players from placing or breaking blocks in zones an admin wants protected.
Who it’s for: Map artists, adventure map makers and developers who want to control specific player actions with configurable conditions.
How it compares
Mod Configs Wheel is a Fabric client mod for 1.21.1 – 1.21.5 with All rights reserved, and it is not open source. Quick Actions is a Fabric client mod for 1.21.8 – 1.21.10 under the MIT License, which is not open source in its rules. Both are client-side, like PreventBuild, but they do not block actions through condition files.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| PreventBuild | Fabric | 1.21.4 – 1.21.11 | Client-side only | 2025-12-27 |
| Mod Configs Wheel | Fabric | 1.21.1 – 1.21.5 | Client-side only | 2025-12-13 |
| Quick Actions | Fabric | 1.21.8 – 1.21.10 | Client-side only | 2025-10-27 |
Questions
Does PreventBuild need Fabric API?
Does the server need PreventBuild installed?
How are the rules changed after editing?
In the catalog
PreventBuild is one of 36,990 Utility mods on ModsFinder, and one of 25,772 Utility mods for Fabric. 19,862 mods support Minecraft 1.21.11.
More from Redheris
Similar mods
What the author says
Adds control to prevent the player from performing certain actions that are set in configs. Configs, in turn, have a very flexible structure that allows you to build complex logical conditions describing what actions the mod should prevent. Original purpose of creating this mod was enhancing experience of…
Official listing
- Modrinth page
- modrinth.com/mod/preventbuild
- Owner
- Redheris
- Published
- 2025-05-10
- Updated on Modrinth
- 2025-12-27
- Facts verified
- 2026-10-15
