Ore Extraction | Fabric Mod
Transform the ore mining process in Minecraft with this innovative mod! Instead of leaving empty holes behind, destroyed ore blocks are automatically replaced with corresponding base blocks, preserving the natural landscape of the world.
Main Features
When you mine ore with a pickaxe, magic happens: if there's free space in your inventory, resources from the ore are instantly transferred directly to your inventory, and the destroyed block is replaced with the appropriate base block. For example, stone ore turns into cobblestone, deepslate ore becomes cobbled deepslate, and nether ore transforms into netherrack.
Important note: when using the Silk Touch enchantment, blocks behave normally and drop as whole blocks.
Game Settings
The mod adds a special game rule doOreExtraction, which is enabled by default (true). When active, the automatic extraction system works at full capacity. If the rule is disabled, the mechanic stops functioning.
Compatibility and Versions
This mod is developed exclusively for Fabric and is not planned for porting to Forge. Supported Minecraft versions: 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4.
For proper operation, the mod must be installed on the server. In single-player games, it also needs to be added to the client.
For Mod Developers
The system works through block tags that are sorted into five replacement categories:
- Stone ores → cobblestone
- Deepslate ores → cobbled deepslate
- Nether ores → netherrack
- Blackstone ores → blackstone
- End ores → endstone
To make your custom ores work with this system, add them to the appropriate tags: ore-extraction:stone_ores, ore-extraction:deepslate_ores, ore-extraction:nether_ores, ore-extraction:blackstone_ores, ore-extraction:end_ores.
Note: This mechanic only makes sense for ores that drop as resources when normally mined (like diamond ore), not as blocks.