Back to mods
PreventBuild project artwork

CurseForge · Minecraft mod

PreventBuild

Very flexible mod that prevents unwanted player actions described in the custom complex configs

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which PreventBuild release matches 26.1?

Updated 12 days ago
Best match for your filters PreventBuild 2.0.0 for 26.1.2
Game version 26.1, 26.1.1, 26.1.2
Loader Fabric

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.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

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.

All 1 required mods have matching files

Install Fabric API first. We found matching files for this game-version and loader setup. 2 come through another mod in the chain.

5 listed on this file 2 pulled in by those mods
Mod Menu Optional for PreventBuild 2.0.0 for 26.1.2
optional
Matching file found Matched file: v18.0.2 for 26.1
YetAnotherConfigLib Optional for PreventBuild 2.0.0 for 26.1.2
optional
Matching file found Matched file: 3.9.7 for fabric 26.1
Fabric API Needed by PreventBuild 2.0.0 for 26.1.2
required
Matching file found Matched file: [26.1.2] Fabric API 0.155.3+26.1.2
Mod Menu Optional for PreventBuild 2.0.0 for 26.1.2
optional
Matching file found Matched file: 18.0.2
YetAnotherConfigLib (YACL) Optional for PreventBuild 2.0.0 for 26.1.2
optional
Matching file found Matched file: 3.9.7+26.1-fabric
Text Placeholder API Needed by Mod Menu
pulled in
Matching file found Matched file: placeholder-api-3.0.0+26.1.jar

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.

  1. 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.

  2. 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.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 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

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.

15 available setups

Showing 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

1 of 20 releases match
Clear filters

Looking for an older file? The official CurseForge project page is in Resources.