Перейти к содержимому
Mineforgian

Mine Prevention

This is a simple client-side mod that gives you the ability to allow or disallow the mining of certain blocks.

Загрузки
1K
Подписчики
11
Обновлён
26 июня 2026 г.
Лицензия
LGPL-3.0-only

Опубликован 13 декабря 2024 г.

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.

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! ko-fi

Ченджлог

1.1.1-mc26.2Релиз26.2 · 26 июня 2026 г.

Updated to MC 26.2!

1.1.0Релиз26.1, 26.1.1, 26.1.2 · 26 июня 2026 г.

Updated to MC 26.1!

Changes:

  • Fixed a crash when trying to open the settings via ModMenu when not in a world
1.0.3Релиз1.21.11 · 31 декабря 2025 г.

Updated for 1.21.11!

No changes to report.

1.0.2-mc1.21.9Релиз1.21.9, 1.21.10 · 19 октября 2025 г.

Updated for 1.21.9+!

No changes to report.

1.0.2Релиз1.21.6, 1.21.7, 1.21.8 · 13 июля 2025 г.

Updated for 1.21.6+!

No changes in this updated, just needed to adjust for some new rendering code.

1.0.1Релиз1.21.5 · 13 марта 2025 г.

Updated for the 1.21.5 pre-releases (and hopefully 1.21.5 itself).

Technical Changes

  • Updated gradle, loom, and versioning requirements
1.0.0Релиз1.21.4 · 13 декабря 2024 г.

First release! Includes:

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

Комментарии

Загружаем…