| Crates.io | mc_schem |
| lib.rs | mc_schem |
| version | 1.1.2 |
| created_at | 2024-02-26 06:30:22.638134+00 |
| updated_at | 2024-04-25 05:09:57.069809+00 |
| description | A library to read, create, modify and write various Minecraft schematic files |
| homepage | https://github.com/SlopeCraft/mc_schem |
| repository | https://github.com/SlopeCraft/mc_schem |
| max_upload_size | |
| id | 1153072 |
| size | 667,148 |
A rust library to generate, load, manipulate and save minecraft schematic files.
| Format | Extension | Load | Save |
|---|---|---|---|
| Litematica | .litematica |
√ | √ |
| Vanilla structure | .nbt |
√ | √ |
| WorldEdit schem (1.13+) | .schem |
√ | √ |
| WorldEdit schem (1.12-) | .schematic |
√ |
mc_schem (rlib)
The main rust lib
mc_schem (cdylib)
C ffi for mc_schem
mc_schem C++ wrapper
A header-only c++ wrapper based on C ffi of mc_schem
schemtool (executable)
An executable to do various manipulations on schematics
Build with cargo directly (no c/c++ files)
cargo build # debug
cargo build --release #release
Build with cmake (with c/c++ files)
mkdir build
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DMC_SCHEM_RUST_TARGET=default -DCMAKE_INSTALL_PREFIX=install
cmake --build build --parallel
cmake --install build