ModsFinder

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.

FabricClient-side onlyMIT LicenseOpen source1.21.4 – 1.21.11

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

  1. Custom condition rules

    Config files define which player actions are cancelled and the conditions under which that happens.

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

  3. Ore dictionary lists

    Reusable lists of items are defined in one file and referenced by any condition.

  4. Live config updates

    Commands reload edited configs in the running game, and configs refresh when a player joins.

  5. Extensible condition registry

    Developers can register their own conditions and reuse the same config structure.

Compatibility

Latest build for each game version and loader.

1.21.111.4.5+mc1.21.9
1.21.101.4.5+mc1.21.9
1.21.91.4.5+mc1.21.9
1.21.81.4.5+mc1.21.6
1.21.71.4.5+mc1.21.6
1.21.61.4.5+mc1.21.6
1.21.51.4.5+mc1.21.6
1.21.41.3.2+mc1.21.4
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

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

Full comparison

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.

ModLoadersGame versionsEnvironmentUpdated
PreventBuildFabric1.21.4 – 1.21.11Client-side only2025-12-27
Mod Configs WheelFabric1.21.1 – 1.21.5Client-side only2025-12-13
Quick ActionsFabric1.21.8 – 1.21.10Client-side only2025-10-27

Questions

Does PreventBuild need Fabric API?

Yes. Fabric API is required, and the mod is built for the Fabric loader only.

Does the server need PreventBuild installed?

No. Players add it to their own game, and a server needs no copy.

How are the rules changed after editing?

Commands reload the configs in the running game, and the configs also update when a player joins the world.

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

All projects

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…
Redheris, on the Modrinth page

Official listing

Owner
Redheris
Published
2025-05-10
Updated on Modrinth
2025-12-27
Facts verified
2026-10-15

Tags