A Packet-based Import Library for the BDEngine editor
A packet-based import library for the BDEngine editor
.mcfunction or pre-compiled .bdi (cbor) files.Add to your build.gradle.kts:
repositories {
maven("https://api.modrinth.com/maven")
}
dependencies {
modImplementation("maven.modrinth:bdengineimport:${version}")
}
| Command | Description |
|---|---|
/bdi reload |
Auto-imports files and reloads configs. |
/bdi spawn <id> <file> |
Spawn a model at your location. |
/bdi spawn_at <id> <file> <x> <y> <z> |
Spawn a model at specific coordinates. |
/bdi despawn <id> |
Remove a display. |
Get the API instance to interact programmatically:
BDEngineImportAPI api = BDEngineImportAPI.get("your_mod_id");
// Use api.spawn(), api.despawn(), etc.