ReplaceBlocksMod
by adil192
ReplaceBlocksMod is a Fabric command mod that swaps nearby blocks of one type for another through the server console, using a shorter syntax than the vanilla fill command.
What it does
The mod adds commands that replace every nearby instance of a source block with a target block, so an area such as oak planks can be converted to cherry planks in one step. Because the work is driven entirely from the console, no client-side action is needed during the swap.
Two of the commands target grass. One removes nearby short grass and long grass, and a separate command removes regular grass blocks, both of which the vanilla fill command cannot handle in one pass. The mod is server-side only, so players join without installing it, and it requires Fabric API. Files are published for Fabric, with 1.1.1 for 1.21.5 as the latest build, and the code is released under the MIT License as open source.
Key features
Block replacement command
Replaces nearby instances of a chosen source block with a target block over a fixed area.
Grass removal commands
Clears nearby short grass, long grass and regular grass blocks in a single command each.
Shorter syntax than fill
Covers cases where the vanilla fill command cannot handle many blocks, such as replacing tall grass.
Public issue tracker
Source code and an issue tracker are published, and suggestions for more commands are welcome.
Gallery
Compatibility
Latest build for each game version and loader.
1.21.x6 of 6 versions with builds
1.20.x7 of 7 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Use cases
Recoloring builds
Server operators or builders can swap one wood type for another across a constructed area without placing each block by hand.
Clearing vegetation
Nearby grass can be removed before construction or landscaping begins, using commands that the vanilla fill command does not cover.
Who it’s for: Server owners and operators who manage worlds from the console and want quicker bulk block edits than the vanilla fill command allows.
How it compares
WFB's Easy Commands is server-side only and covers Fabric and Forge for 1.18.2 – 1.19.2, under a Creative Commons Attribution Non Commercial 4.0 license that is not open source. /string is also server-side only, published for 1.21.11 – 26.2 on Fabric under All rights reserved, and is not open source. ReplaceBlocksMod supports only Fabric and is open source under the MIT License.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| ReplaceBlocksMod | Fabric | 1.20 – 1.21.5 | Server-side only | 2025-05-01 |
| WFB's Easy Commands | Fabric and Forge | 1.18.2 – 1.19.2 | Server-side only | 2022-11-10 |
| /string | Fabric | 1.21.11 – 26.2 | Server-side only | 2026-09-18 |
Questions
Does ReplaceBlocksMod need Fabric API?
Does a player need to install ReplaceBlocksMod to join a server that runs it?
How many game versions does ReplaceBlocksMod support?
In the catalog
ReplaceBlocksMod is one of 8,016 Management mods on ModsFinder, and one of 5,930 Management mods for Fabric. 15,307 mods support Minecraft 1.21.5.
More from adil192
Similar mods
What the author says
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.
Official listing
- Modrinth page
- modrinth.com/mod/replaceblocksmod
- Owner
- adil192
- Published
- 2025-04-19
- Updated on Modrinth
- 2025-05-01
- Facts verified
- 2026-10-15
