Bedrock Breaking
![]()
A Fabric mod for Minecraft that enables bedrock breaking functionality. Offers extensive configuration options for fine-tuning the process!
Requires two additional libraries: Fabric Language Kotlin and Fabric API. Also includes a copy of ParadoxConfig.
Configuration File
Default Settings:
{
"bedrock_breakers": [
"bedrockbreaking:bedrock_pickaxe",
"minecraft:diamond_pickaxe"
],
"bedrock_drops": false,
"bedrock_effective_hardness": 50.0,
"bedrock_pickaxe_enabled": true,
"use_effective_modifier": false
}
By default, the mod adds a special bedrock pickaxe (without crafting recipe or creative tab, ID: "bedrockpickaxe:bedrock_pickaxe"). To remove this item, set:
"bedrock_pickaxe_enabled": false
The difficulty of breaking bedrock is configurable based on Minecraft's block hardness values:
"bedrock_effective_hardness": 50.0
Any item can be made capable of breaking bedrock:
"bedrock_breakers": [
"bedrockbreaking:bedrock_pickaxe",
"minecraft:diamond_pickaxe"
]
If you select items other than the bedrock pickaxe, it's recommended to set:
"use_effective_modifier": false
Otherwise, all tools except the special pickaxe will be considered "ineffective" when working with bedrock and will mine 30% slower.
The Efficiency enchantment works correctly, while the Fortune enchantment has no effect on bedrock.
License
The mod is distributed under the CC0 license. Author - Nokko.
Technical Details
This is the author's first mod created for Fabric 1.16.4! Utilized Mixins, which proved to be very convenient.
For developers studying the code:
- Bedrock becomes breakable thanks to
AbstractBlockMixin - Theoretically shouldn't cause issues, but since the code hooks into the block breaking process, unexpected errors are possible
- The bedrock pickaxe is a modified version of the standard pickaxe with faster bedrock breaking
- Configuration files are located in the
.minecraft/config/bedrockpickaxe/directory, look forbedrockpickaxe.json
(Client-side configuration is optional if the server has disabled the bedrock pickaxe item)