resource/README.md: update for Rust implementation

This commit is contained in:
Matthias Schiffer 2023-08-18 18:34:22 +02:00
parent 2a92eefd09
commit 0542f2ea11
Signed by: neocturne
GPG key ID: 16EF3F64CB201D9C

View file

@ -10,7 +10,7 @@ work.
of two different versions
- `extract.py`: Takes the block type information from `blocks.json` and texture data
from an unpacked Minecraft JAR, storing the result in `colors.json`
- `generate.py`: Generates `BlockType.inc.cpp` from `colors.json`
- `generate.py`: Generates `block_types.rs` from `colors.json`
In addition to these scripts, the JSON processor *jq* is a useful tool to work
with MinedMap's resource metadata.
@ -63,7 +63,8 @@ with MinedMap's resource metadata.
7. Update the source code with the new block colors:
```sh
./generate.py colors.json ../src/Resource/BlockType.inc.cpp
./generate.py colors.json ../src/resource/block_types.rs
cargo fmt
```
After the update, the new version should be tested with old savegames (both