- Region-Manipulator (.mca file reader/writer): https://github.com/PowerNukkit/Region-Manipulator, https://github.com/smartin1018/Region-Manipulator/tree/1.18.1
- Commons-CLI (Arguments parser): https://commons.apache.org/proper/commons-cli/
- GSon (JSON implementation): https://github.com/google/gson
This application allows you to replace certain blocks (including blocks from mods) in the entire Minecraft world! This works even with very large worlds (takes more time).
Mass-Replacer copies the world, then opens each .mca file and replaces the specified blocks
-
Download and install JRE or JDK. Type
java -version
to check it -
Download
.zip
from releases (or build from sources) -
Unpack
.jar
and.json
files from archive -
Put your blocks to replace into
blocks.json
Example:
[ { "from": "minecraft:grass_block", "to": "minecraft:diamond_block" }, { "from": "minecraft:sand", "to": "minecraft:gold_block" } ]
-
Run Mass-Replacer:
java -jar Mass-Replacer-X.X-SNAPSHOT.jar -world "PATH_TO_WORLD_DIR" -out "PATH_TO_NEW_WORLD"
Example:
java -jar Mass-Replacer-1.0-SNAPSHOT-all.jar -world "%AppData%\.minecraft\saves\New World" -out "%AppData%\.minecraft\saves\New World2"
-
Wait
- Install JDK
- Clone repo:
git clone https://github.com/F33RNI/Mass-Replacer
- Run
gradle buildApp
.jar
andblocks.json
will be inbuild/libs
directory