tayeebpag600_91186

hey create a mod where we can break bedrock with our fist in 5 secs and we will recive the bedrock

Kodari AI
KodariMar 6 at 2:54 pm 7,968 (v2)

I’ll create a Fabric mod that makes bedrock breakable with your fist in 5 seconds and drops the bedrock item.

BedrockBreaker
A Fabric mod that transforms bedrock from an unbreakable barrier into a mineable block. Players can break bedrock with their bare hands in just 5 seconds, and it drops as a collectible item. Perfect for survival players who want to mine through the bottom of the world or collect bedrock as a rare building material. No special tools required - just start punching!

Done! I’ve created a Fabric 1.21.4 mod that makes bedrock breakable with your fist in approximately 5 seconds and drops the bedrock item when broken.

What the mod does:

  • Uses a mixin to override bedrock’s hardness from -1 (unbreakable) to 3.33

  • This makes it breakable by hand in about 5 seconds

  • Adds a loot table so bedrock drops itself when mined

  • Works in both survival and creative mode

To use:

  1. Run ./gradlew build to compile the mod

  2. The mod JAR will be in build/libs/

  3. Place it in your Fabric mods folder

  4. Start punching bedrock - it’ll break in 5 seconds and you’ll receive it as an item!

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
settings.gradle
Code
9 158
src/main/java/com/bedrockbreaker/BedrockBreaker.java
package com.bedrockbreaker;

import net.fabricmc.api.ModInitializer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class BedrockBreaker implements ModInitializer {
	public static final String MOD_ID = "bedrockbreaker";
	public static final Logger LOGGER = LoggerFactory.getLogger(MOD_ID);

	@Override
	public void onInitialize() {
		LOGGER.info("Bedrock Breaker initialized - Bedrock is now breakable!");
	}
}