Bedrock Breaking

Bedrock Breaking

Mod

A Fabric mod for Minecraft that allows you to break bedrock, and optionally adds a bedrock pickaxe. Very configurable!

Server CursedUtility

355 downloads
4 followers
Created3 years ago
Updated3 years ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

Logo

Bedrock Breaking

A Fabric mod that allows Bedrock to be broken. Much configuration!

This mod has 2 non-loader dependencies (Fabric Language Kotlin and the Fabric API), and ships with a copy of ParadoxConfig.

Config file

Defaults:

{
  "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, a Bedrock Pickaxe item is added (without a crafting recipe or creative tab, ID: "bedrockpickaxe:bedrock_pickaxe").

To remove it, set:

"bedrock_pickaxe_enabled": false

Difficulty of breaking Bedrock is configurable, based on Minecraft hardness values:

"bedrock_effective_hardness": 50.0

Any item can be made to break bedrock:

  "bedrock_breakers": [
    "bedrockbreaking:bedrock_pickaxe",
    "minecraft:diamond_pickaxe"
  ]

If items other than the Bedrock Pickaxe are selected, you may want to set:

"use_effective_modifier": false

Otherwise, everything that isn't a Bedrock Pickaxe will be “ineffective” on Bedrock, and mine at 30% the speed.

The Efficiency enchantment works properly. The Fortune enchantment will not work.

License

This mod is released under the CC0 license. Nokko made it.

Notes

This is the first mod I made for Fabric 1.16.4! Mixins are awesome.

To people looking at this code for reference:

  • Bedrock is made breakable by the AbstractBlockMixin.
    • It shouldn't break anything, but it does hook into the piece of code that runs every time you break a block, so... beware, potential bugs abound.
  • The item is just a reskinned vanilla pickaxe. It breaks more quickly when being used to mine Bedrock.
  • Configs will be in your .minecraft/config/bedrockpickaxe/ directory or similar, look for bedrockpickaxe.json.

(Optional on the clientside if server has disabled the bedrock pickaxe item)

External resources



Project members

nokko

Owner


Technical information

License
CC0-1.0
Client side
unsupported
Server side
required
Project ID