Schematics Reader


#1

Hello,

For a project i need to generate a structure and after delete it,

I know i can create block by block my structure, but it is long.

Do you know how can i read all of blocks from a .schematic file?

Thx for your help


#2

WorldEdit can do this. You have to put your schematic in server/mods/worldedit/schematics

The command is //schem import name_of_schematic and then it's copied to your clipboard. You have to use //paste to paste it.

This is what I always use as well as MCedit.


#3

i know world edit, but i don't want to a player use it but the server, i want to generate the schematic (and undo) without player, only with plugin.


#4

Oh, you want to paste and generate schematic from coordinates ? I am not sure about how to do it but I am interested as well.


#5

There is a schematic API already included in Sponge... I'm not sure how developed it is, but check out the Schematic class.