
Modrinth · Minecraft mod
Mine Prevention
This is a simple client-side mod that gives you the ability to allow or disallow the mining of certain blocks.
Quick answer
Which Mine Prevention release should I use?
Mine Prevention 1.1.1-mc26.3 targets 26.3 with Fabric. It must be installed on the client. Do not install it on the dedicated server. All 1 required mods have matching files.
Where it goes
Is Mine Prevention required on the client, server, or both?
It must be installed on the client. Do not install it on the dedicated server.
This file is marked client-only.
What else does Mine Prevention 1.1.1-mc26.3 need?
1.1.1-mc26.3. Change the file and its required mods may change too.
Install Fabric API first. We found matching files for this game-version and loader setup. 1 comes through another mod in the chain.
1 extra mod was pulled in by another dependency. 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 Mine Prevention without breaking your instance.
Built for Mine Prevention 1.1.1-mc26.3. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 1.1.1-mc26.3. It targets 26.3 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. 1 comes through another mod in the chain.
- 03
Put it on the correct side
It must be installed on the client. Do not install it on the dedicated server.
- 04
Pick the file you checked
Use the “Get this file” button beside 1.1.1-mc26.3. It opens that exact file at the source.
About this project
What does Mine Prevention add?
Mine Prevention
This is a simple client-side mod that gives you the ability to avoid mining certain blocks.
For example, block all ores while you're mining without Silktouch or Fortune so you can save them for later! Or perhaps only allow yourself to mine large amethyst buds so that you don't accidentally break the budding block!
Usage
Simply press 'M' to open the GUI and select the blocks you want to block or allow. The keybind can be changed in the controls menu, and you can also choose to remove it in favour of ModMenu.
The config file for this mod is located in the config folder of your Minecraft directory, and is called mineprevention.json. It only contains a deny list, to minimise the amount of data stored.
Images


Contributing
Contributions and suggestions are always welcome! Please limit all issues to only one feature at a time - feel free to open multiple at once if you have many ideas. Similarly, please limit pull requests to a single feature at a time and try to follow the existing code style.
To further discuss or get notifications of new updates, check out my Discord. If you like what I do, consider supporting me on Ko-Fi!
Project description from Modrinth.
Pick your setup
Mine Prevention 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 13 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
Mine Prevention versions and loaders
1.1.1-mc26.3
mineprevention-1.1.1-mc26.3.jar
24 Sept 2026
1.1.1-mc26.2
mineprevention-1.1.1-mc26.2.jar
26 Jun 2026
1.1.0
mineprevention-1.1.0-mc26.1.jar
26 Jun 2026
1.0.3
mineprevention-1.0.3-mc1.21.11.jar
31 Dec 2025
1.0.2-mc1.21.9
mineprevention-1.0.2-mc1.21.9.jar
19 Oct 2025
1.0.2
mineprevention-1.0.2-mc1.21.6.jar
13 Jul 2025
1.0.1
mineprevention-1.0.1.jar
13 Mar 2025
1.0.0
mineprevention-1.0.0-1.21.4.jar
13 Dec 2024
Looking for an older file? The official Modrinth project page is in Resources.