https://github.com/f33rni/mass-replacer
Block replacing in the entire Minecraft world
https://github.com/f33rni/mass-replacer
anvil-parser forge mca minecraft minecraft-anvil nbt replacer snbt world worldedit
Last synced: 7 months ago
JSON representation
Block replacing in the entire Minecraft world
- Host: GitHub
- URL: https://github.com/f33rni/mass-replacer
- Owner: F33RNI
- License: apache-2.0
- Created: 2023-02-17T00:38:54.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-02-17T01:09:18.000Z (over 2 years ago)
- Last Synced: 2025-02-15T12:51:23.715Z (8 months ago)
- Topics: anvil-parser, forge, mca, minecraft, minecraft-anvil, nbt, replacer, snbt, world, worldedit
- Language: Java
- Homepage:
- Size: 7 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mass-Replacer
## Block replacing in the entire Minecraft world
----------
## Dependencies
- **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
----------
## Description
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
----------
## How to use
1. Download and install JRE or JDK. Type `java -version` to check it
2. Download `.zip` from releases (or build from sources)
3. Unpack `.jar` and `.json` files from archive
4. Put your blocks to replace into `blocks.json`
Example:
```json
[
{
"from": "minecraft:grass_block",
"to": "minecraft:diamond_block"
},
{
"from": "minecraft:sand",
"to": "minecraft:gold_block"
}
]
```
5. Run Mass-Replacer: `java -jar Mass-Replacer-X.X-SNAPSHOT.jar -world "PATH_TO_WORLD_DIR" -out "PATH_TO_NEW_WORLD"`
Example:
```bash
java -jar Mass-Replacer-1.0-SNAPSHOT-all.jar -world "%AppData%\.minecraft\saves\New World" -out "%AppData%\.minecraft\saves\New World2"
```
6. Wait
----------
## Build from source
1. Install JDK
2. Clone repo: `git clone https://github.com/F33RNI/Mass-Replacer`
3. Run `gradle buildApp`
4. `.jar` and `blocks.json` will be in `build/libs` directory