Importing
Make YML files from structures you have built in your world.
/goop customstructures import <structure name> <cuboid radius> [w] [x] [y] [z]
It can get tedious to write out the co-ordinates of every block, so this is a command to do this task for you!
/goop customstructures build <structure name> [w] [x] [y] [z]
Manifiests a structure in the world from what you have in a YML file. The core block will be placed at the block you are looking at or at the specified coords.
/goop customstructures list
List the loaded structures. If you just imported a structure, dont forget to do /goop reload to load it.
Special Blocks:
Air and Barrier blocks:
Will be ignored completely, and not included in the .yml file.
Means that players can put whatever they want in their place.
Structure Void blocks:
Will be considered as Air.
This requires players to put air in its place for the structure to work.
Args Breakdown (What everything does)
<Structure Name>
The name you want to call your new structure, or the name of the structure you want to build.
<Cuboid Radius>
How many blocks towards every direction do you want to account for when importing? (Check graphic)
If using Worldedit, may use the selecion keyword. You must still look at the core block when calling the command.
[w x y z]
Co-ordinates of the core of the structure in the format world x y z
Must be specified if called from the console. Otherwise optional and will use the block you are looking at.
Tips
Build your structures high in the air, so that when you use the command, they don't take in the ground below them as part of the structure.
This way, you can actually use a huge radius and not worry about counting, as air blocks will be ignored.
Use Barrier Blocks to put torches and other blocks that cant be floating, while allowing players some freedom of choosing what block to put there.
Use Structure Void to force players to leave air in their place.
CustomStructures is compatible with:
MMOItem Custom Blocks (Those mushroom ones)
GooP JSON Furniture
Sign Keywords (Check any line of a sign to contain a specific word)
When importing a structure, you must be looking at its core, or specify the location of the core with coordinates.