ModsFinder

ReplaceBlock

by white_elephant

ReplaceBlock is a server-side data pack library that replaces blocks across already generated worlds, using commands and storage instead of Java code.

FabricForgeNeoForgeQuiltServer required, client optionalGNU General Public License v3.0 or laterOpen source1.20.3 – 26.3

What it does

A datapack traverses the loaded chunks in a configurable range and replaces blocks, working outward from the current chunk until it has cleared one chunk. Replacement pairs are read from a storage ID such as test:test, so a world can be altered after world generation with the vanilla command system.

Server owners who need to swap blocks in an existing world, for example to convert a biome's ground or remove a structure's blocks, can script the change with a reset settings file as the example. The mod is published for Fabric, Forge, NeoForge and Quilt, with the data pack form also available, across 21 release versions, 1.20.3 – 26.3.

The server must run the library, while players may leave it out. The library is open source under the GNU General Public License v3.0 or later, and requires the Localization Resource Pack.

Key features

  1. Replacement through storage

    Target blocks and their replacements are stored under a namespaced ID and read by the datapack at run time.

  2. Chunk traversal

    Replacement runs chunk by chunk, outward from the current chunk, and the traversal range can be set in the configuration.

  3. Configurable search and success

    The search range and the success threshold control how far replacement reaches and when a run counts as complete.

  4. Fallback defaults

    Options left out of a configuration fall back to default values, while an invalid value can produce wrong results without a clear error message.

Compatibility

Latest build for each game version and loader.

26.x5 of 5 versions with builds
26.32.0.0+mod2.0.0+mod2.0.0+mod2.0.0+mod
26.22.0.0+mod2.0.0+mod2.0.0+mod2.0.0+mod
26.1.22.0.0+mod2.0.0+mod2.0.0+mod2.0.0+mod
26.1.12.0.0+mod2.0.0+mod2.0.0+mod2.0.0+mod
26.12.0.0+mod2.0.0+mod2.0.0+mod2.0.0+mod
1.21.x12 of 12 versions with builds
1.21.112.0.0+mod2.0.0+mod2.0.0+mod2.0.0+mod
1.21.102.0.0+mod2.0.0+mod2.0.0+mod2.0.0+mod
1.21.92.0.0+mod2.0.0+mod2.0.0+mod2.0.0+mod
1.21.82.0.0+mod2.0.0+mod2.0.0+mod2.0.0+mod
1.21.72.0.0+mod2.0.0+mod2.0.0+mod2.0.0+mod
1.21.62.0.0+mod2.0.0+mod2.0.0+mod2.0.0+mod
1.21.52.0.0+mod2.0.0+mod2.0.0+mod2.0.0+mod
1.21.42.0.0+mod2.0.0+mod2.0.0+mod2.0.0+mod
1.21.32.0.0+mod2.0.0+mod2.0.0+mod2.0.0+mod
1.21.22.0.0+mod2.0.0+mod2.0.0+mod2.0.0+mod
1.21.12.0.0+mod2.0.0+mod2.0.0+mod2.0.0+mod
1.212.0.0+mod2.0.0+mod2.0.0+mod2.0.0+mod
1.20.x4 of 4 versions with builds
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

LR
Localization Resource PackSummary not published
Required

Use cases

Converting existing worlds

A server can replace blocks in terrain that is already generated, without regenerating chunks.

Who it’s for: Server owners and datapack authors who want to replace blocks through commands and storage, and who can check the configuration options before a run.

Questions

Does ReplaceBlock need to be installed on the client?

No. Only the server needs to run it, so players may join without it.

Which loaders does ReplaceBlock support?

It is published for Fabric, Forge, NeoForge and Quilt, and the data pack form is also available for server platforms.

What does Localization Resource Pack do for ReplaceBlock?

Localization Resource Pack is a required dependency, so it must be installed alongside ReplaceBlock on the server.

In the catalog

ReplaceBlock is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 8,071 mods support Minecraft 26.3.

More from white_elephant

All projects

Similar mods

What the author says

This datapack provides a powerful API that can replace blocks in the world after world generation in a completely vanilla way with high performance. Below, {{storage}} is used as a placeholder for the namespaced ID of your command storage, for example test:test.
white_elephant, on the Modrinth page

Official listing

Owner
white_elephant
Published
2025-11-19
Updated on Modrinth
2026-09-20
Facts verified
2026-10-15

Tags