PreventBuild

PreventBuild

A simple but flexible mod that prevents unwanted player actions described in the custom configs

1 143 downloads 2 followers

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

No gallery available for this project.

Version Minecraft Loader Download

PreventBuild 2.0.0 for 26.3

2.0.0

26.3
fabric
Download

PreventBuild 2.0.0 for 26.2

2.0.0

26.2
fabric
Download

PreventBuild 2.0.0 for 26.1.2

2.0.0

26.1, 26.1.1, 26.1.2
fabric
Download

PreventBuild 2.0.0 for 1.21.11

2.0.0

1.21.11
fabric
Download

PreventBuild 2.0.0 for 1.21.4

2.0.0

1.21.4
fabric
Download

PreventBuild 2.0.0 for 1.21.1

2.0.0

1.21, 1.21.1
fabric
Download

PreventBuild 1.4.5+mc1.21.9

1.4.5+mc1.21.9

1.21.10, 1.21.11, 1.21.9
fabric
Download

PreventBuild 1.4.5+mc1.21.6

1.4.5+mc1.21.6

1.21.5, 1.21.6, 1.21.7, 1.21.8
fabric
Download

PreventBuild 1.4.4+mc1.21.9

1.4.4+mc1.21.9

1.21.10, 1.21.11, 1.21.9
fabric
Download

PreventBuild 1.4.4+mc1.21.6

1.4.4+mc1.21.6

1.21.5, 1.21.6, 1.21.7, 1.21.8
fabric
Download

PreventBuild 1.3.5+mc1.21.6

1.3.5+mc1.21.6

1.21.5, 1.21.6, 1.21.7
fabric
Download

PreventBuild 1.3.2+mc1.21.5

1.3.2+mc1.21.5

1.21.5
fabric
Download

PreventBuild 1.3.2+mc1.21.4

1.3.2+mc1.21.4

1.21.4
fabric
Download

PreventBuild 1.2.3

1.2.3+mc1.21.4

1.21.4, 1.21.5
fabric
Download

PreventBuild 1.2.2

1.2.2+mc1.21.4

1.21.4, 1.21.5
fabric
Download

PreventBuild 1.2.0

1.2.0+mc1.21.4

1.21.4, 1.21.5
fabric
Download

PreventBuild 1.1.0

1.1.0+mc1.21.4

1.21.4, 1.21.5
fabric
Download

PreventBuild 1.0.1

1.0.1

1.21.4, 1.21.5
fabric
Download

PreventBuild 1.0

1.0

1.21.4, 1.21.5
fabric
Download

PreventBuild 0.8

0.8

1.21.4, 1.21.5
fabric
Download