Home›Java›Mods›ComplexStructures API
ComplexStructures API
ModsJava

ComplexStructures API

Minecraft Java mod. Downloads from the MC Java Mods app on Android.

Spoiler: Videos GitHUB: To create a structure: Code (Text): ComplexStructureBuilder builder = new ComplexStructureBuilder(); builder.setOrigin(location)…

⬇ Download on Spigot
[​IMG]

Spoiler: Videos

GitHUB:


https://github.com/Cristaling/ComplexStructures

To create a structure:

Code (Text):
ComplexStructureBuilder builder = new ComplexStructureBuilder();
builder.setOrigin(location);
builder.setPoint1(location);
builder.setPoint2(location);
int templateID = builder.build();

To spawn a structure:
Code (Text):
ComplexStructureMove structure = ComplexStructureBuilder.spawnComplexStructure(location, ComplexStructureBuilder.getTemplate(templateID));

Structure functions:
Code (Text):
structure.moveTo(vector);
structure.setYaw(double);
structure.setPitch(double);

//Yaw and Pitch angles are in radians
//The structure isn't "updated" automatically. You have to use
structure.runTick(true);
//OR
structure.updateStructure();
//every tick to keep it in position

Plugins made using this API:

Ultimate Rides 3.0
https://www.spigotmc.org/resources/ultimate-rides.17832/

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

ComplexStructures API is a free Minecraft Java mod. Downloaded 518 times (via Spigot). Download it and open it directly in the game.

Explore more