Visit the BDStudioLib releases page and download the version specific to your Minecraft server version. This is a library, NOT a standalone server plugin.
Repository:
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Dependency:
<dependency>
<groupId>com.github.oCrypt</groupId>
<artifactId>BDStudioLib</artifactId>
<version>v1.2</version>
</dependency>
For additional information visit https://jitpack.io/#oCrypt/BDStudioLib.
File modelFile = new File("path"); // ensure that file ends with .bdstudio
try {
DisplayModelSchematic model = DisplayModelSchematic.fromBDStudioFile(modelFile);
} catch (IOException e) {
// handle exception
}
To spawn the schematic at a given location, simply call the DisplayModelSchematic#spawn(location); DisplayModelSchematic#collection() will allow you to view all the BDComponents of the model. Additionally, you will also be able to access all the Matrix4f transformations and modify them freely.