HomeJavaModsReplaceBlocksMod
ReplaceBlocksMod
ModsJava

ReplaceBlocksMod

by adil192 · on Modrinth

Which Minecraft do you have?

Every version of the game needs its own build. Pick yours, then download — the wrong build installs fine and then does nothing in the game. This mod is built for Fabric only.

⬇ Download for 1.21–1.21.5⬇ Download for 1.20–1.20.6
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
ReplaceBlocksMod — screenshot 1

ReplaceBlocksMod

A utility mod that lets you replace blocks with other blocks, used entirely through the console.

The provided commands are intended to be more convenient than using the vanilla /fill command.

Commands

1. /replace <sourceBlock> with <targetBlock>

Replaces all nearby instances of sourceBlock with targetBlock.

e.g. /replace oak_planks with cherry_planks

In Vanilla, this would be equivalent to /fill ~-50 ~-10 ~-50 ~50 ~10 ~50 oak_planks replace cherry_planks which is much more difficult to type and fails anyway because the /fill command can't handle that many blocks.


2. /removegrass

Removes all nearby short grass and long grass. Regular grass blocks will not be removed.

In Vanilla, this would be similar to (but more optimized than) /fill ~-50 ~-10 ~-50 ~50 ~10 ~50 air replace short_grass and /fill ~-50 ~-10 ~-50 ~50 ~10 ~50 air replace tall_grass but again, the /fill command can't handle that many blocks.


Suggestions for more commands are welcome! File an issue at https://github.com/adil192/ReplaceBlocksMod

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more