- Loaders
- Fabric
- Downloads on Modrinth
- 1.1K
- Followers on Modrinth
- 2
- versions
- 20
- Updated
- November 4, 2026Nov 4
- Published
- in 2025
At a glance
Install in the game only; not needed on the server
PreventBuild
Adds client-side control over preventing the player from performing certain actions that are set in configs. Configs, in turn, have a very flexible YAML structure that allows you to build complex logical conditions describing what actions the mod should prevent.
With PreventBuild, you can prevent:
- placing/attacking a block;
- attacking an entity;
- interacting with a block/entity
- using an item;
...depending:
- block/item/entity;
- block/player's coordinates;
- a specific block's state;
- whether the held item has a specific custom name or enchantment;
- and much more
This mod simply cancels the player's actions on client-side, so it's entirely client-side.
How to use
Visit the mod's Wiki
2.0 update
There were a few issues I couldn't fix with the original implementation approaches. And the best decision was to recreate the mod from a scratch.
Here are essential points that differ 2.x from 1.x:
- More stable and direct preventions;
- Weird custom .cfg configs format + unstable custom parser → YAML + parser dependency;
- Translation keys → Identifiers;
- Custom ore dictionaries → custom and built-in tags;
- Simple GUI instead of commands-only;
- Cleaner code;
- Adequate examples of complex conditions on wiki.
Official links to download the mod
Contacts
- GitHub: https://github.com/Redheris/PreventBuild/issues
- Discord: Server
FAQ
How to install PreventBuild?
Install Fabric for your Minecraft version, download PreventBuild for the same version and loader, put the file into the mods folder and launch the game with the loader profile.
Which Minecraft versions does PreventBuild support?
PreventBuild has builds for Minecraft 1.21–1.21.1, 1.21.4–26.3.
Is PreventBuild needed on the server?
Client only — no need to install it on the server