Bamboo is a fast and lightweight schematic library for Minestom.
Bamboo is available on Maven Central
dependencies {
implementation("dev.flavored:bamboo:0.1.0")
}
The following example loads a schematic from a file, then pastes it into the instance
at a given position.
Schematic schematic = Bamboo.fromFile("example.schematic", new SchematicOptions());
schematic.paste(instance, new Pos(0.0, 0.0, 0.0));
There are two other ways to load schematics: from a stream and from a java.nio.file.Path
.
Bamboo.fromStream(inputStream, new SchematicOptions());
Bamboo.fromPath(path, new SchematicOptions());
Bamboo is licensed under the MIT License. See the LICENSE file for more details.