All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Mine Prevention

Mine Prevention

by BVengo • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

Mine Prevention

GitHub license GitHub release GitHub issues

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

The options screen with all ores denied.

The options screen with only large amethyst buds allowed.

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:

  1. 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).
  2. Make sure you have the compatible loader or environment installed for Fabric.
  3. Move the downloaded Mine Prevention file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.3
Fabric
2mo ago 1
26.2
Fabric
5mo ago 1
26.1.x
Fabric
5mo ago 1
1.21.11
Fabric
11mo ago 1
1.21.x
Fabric
last yr. 1
1.21.x
Fabric
last yr. 1
1.21.5
Fabric
last yr. 1
1.21.4
Fabric
last yr. 1
Updated to MC 26.3! No mod changes.
Updated to MC 26.2!
Updated to MC 26.1!

Changes:
  • Fixed a crash when trying to open the settings via ModMenu when not in a world

Updated for 1.21.11!

No changes to report.
Updated for 1.21.9+!

No changes to report.
Updated for 1.21.6+!

No changes in this updated, just needed to adjust for some new rendering code.
Updated for the 1.21.5 pre-releases (and hopefully 1.21.5 itself).

  • Technical Changes**
  • Updated gradle, loom, and versioning requirements
First release! Includes:

  • searching
  • enabling / disabling items
  • modmenu integration
  • custom menu with keybinding to open

Mine Prevention Icon
Download Mine Prevention
Select game version
Select platform