CurseForge · Minecraft mod
PreventBuild
Very flexible mod that prevents unwanted player actions described in the custom complex configs
Quick answer
Which PreventBuild release matches 26.1?
PreventBuild 2.0.0 for 26.1.2 targets 26.1, 26.1.1, 26.1.2 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. All 1 required mods have matching files.
Where it goes
Is PreventBuild required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does PreventBuild 2.0.0 for 26.1.2 need?
PreventBuild 2.0.0 for 26.1.2 on 26.1. Every mod below is checked against that same setup.
Install Fabric API first. We found matching files for this game-version and loader setup. 2 come through another mod in the chain.
2 extra mods were pulled in by other dependencies. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.
Before you install it
Add PreventBuild without breaking your instance.
Built for PreventBuild 2.0.0 for 26.1.2 on 26.1. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use PreventBuild 2.0.0 for 26.1.2. It targets 26.1, 26.1.1, 26.1.2 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install Fabric API first. We found matching files for this game-version and loader setup. 2 come through another mod in the chain.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside PreventBuild 2.0.0 for 26.1.2. It opens that exact file at the source.
About this project
What does PreventBuild add?
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
Project description from CurseForge.
Pick your setup
PreventBuild by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.3
1 loader build26.2
1 loader build26.1.2
1 loader build26.1.1
1 loader build26.1
1 loader build1.21.11
1 loader build1.21.10
1 loader build1.21.9
1 loader build1.21.8
1 loader build1.21.7
1 loader build1.21.6
1 loader build1.21.5
1 loader buildShowing the newest 12 of 15 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
PreventBuild versions and loaders
PreventBuild 2.0.0 for 26.1.2
preventbuild-2.0.0-mc26.1.2.jar
4 Nov 2026
Looking for an older file? The official CurseForge project page is in Resources.