Bamboo is a fast and lightweight schematic library for Minestom.
| Format | Reading | Writing |
|---|---|---|
| Sponge V1 | ✅ | ❌ |
| Sponge V2 | ❌ | |
| Sponge V3 | ❌ | |
| MCEdit | ❌ | ❌ |
⚠️ Partial support, most notably tile/block entities and biomes are not supported.
Bamboo is available on Maven Central. Replace <VERSION> with the latest version.
dependencies {
implementation("dev.flavored:bamboo:<VERSION>")
}The following example loads a schematic from a file, then pastes it into the instance at a given position.
import dev.flavored.bamboo.Schematic;
import dev.flavored.bamboo.SchematicReader;
public static void main(String[] args) {
// ... after setting up an instance ...
SchematicReader importer = new SchematicReader();
Schematic schematic = importer.fromPath(new java.nio.Path("example.schem"));
schematic.paste(instance, new Pos(0.0, 0.0, 0.0));
}Bamboo is licensed under the MIT License. See the LICENSE file for more details.