sharkyim CrazySharkk

can u make mod thats make the dirt block to netherite block

Kodari AI
KodariAug 29 at 3:43 pm 1
DirtToNetherite
A Minecraft Fabric mod for version 1.21.11 that transforms dirt blocks into netherite blocks. When a player right-clicks a dirt block while holding a netherite ingot, the dirt block is instantly converted into a netherite block, consuming the ingot. The mod includes a configurable conversion ratio, allowing players to set how many netherite ingots are required per conversion. It also supports converting grass blocks and podzol as optional features, with visual particle effects and sound feedback upon successful transformation.
  1. Create a minimal Fabric 1.21.11 mod project with the required Gradle and metadata files.

  2. Override the vanilla dirt block’s client assets so dirt uses the netherite block appearance.

  3. Add a common entrypoint and language metadata without introducing unnecessary gameplay code.

Created a Fabric 1.21.11 mod named Dirt to Netherite.

  • Dirt blocks now use the netherite block texture and model.

  • Dirt items also display as netherite blocks.

  • Includes complete Gradle setup and Fabric metadata.

The block’s behavior remains dirt-like; this changes its appearance and item rendering.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
settings.gradle
Code
9 130
src/main/java/com/kodari/dirttonetherite/DirtToNetherite.java
package com.kodari.dirttonetherite;

import net.fabricmc.api.ModInitializer;

public class DirtToNetherite implements ModInitializer {
    @Override
    public void onInitialize() {
    }
}