Mineral Chance (Legacy Fabric) - Random Minerals While Mining
This mod adds an element of surprise to the resource gathering process. When breaking stone-type blocks in the Overworld and Nether, there's a chance to discover valuable minerals hidden within the rock.
How It Works
When you mine stone blocks in the Overworld (stone, andesite, diorite, granite, tuff, and deepslate) or in the Nether (netherrack, basalt, and blackstone), there's a probability of finding an additional mineral. By default, the chance is 1 in 50 for the Overworld and 1 in 100 for the Nether.
Available Minerals
In the Overworld, you can find: diamonds, iron nuggets, gold nuggets, lapis lazuli, redstone, and emeralds. In the Nether, available minerals include: quartz, gold nuggets, and netherite scraps (for versions 1.16+). All minerals have equal drop chances.
Configuration
The mod offers a flexible configuration system:
- extraMineralChanceOnOverworldStoneBreak (default 0.02): Probability of mineral drop when breaking stone blocks in the Overworld
- extraMineralChanceOnNetherStoneBreak (default 0.01): Probability of mineral drop when breaking stone blocks in the Nether
- enableOverworldMinerals: Enable/disable Overworld minerals
- enableNetherMinerals: Enable/disable Nether minerals
- sendMessageOnMineralFind: Notification when finding a mineral
- foundMineralMessage: Message text upon discovery
- ignoreFakePlayers: Ignore actions from mod simulators
Demonstration
Mod functionality in the Overworld with increased probability:
Mod functionality in the Nether with increased probability:
Requires Collective (Fabric) library and Fabric API for proper functionality.