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.
How to Install Mine Prevention (Mod)
Mine Prevention by BVengo is verified for Fabric across Minecraft versions 1.21.10, 1.21.11, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9 (latest release: 1.1.1-mc26.3, file size: 995 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.21.10, 1.21.11, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9) and platform (Fabric).
- Make sure you have the compatible loader or environment installed for Fabric.
- Move the downloaded Mine Prevention file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add VersionChanges:
- Fixed a crash when trying to open the settings via ModMenu when not in a world
No changes to report.
No changes to report.
No changes in this updated, just needed to adjust for some new rendering code.
1.21.5 pre-releases (and hopefully 1.21.5 itself).- Technical Changes**
- Updated gradle, loom, and versioning requirements
- searching
- enabling / disabling items
- modmenu integration
- custom menu with keybinding to open