Files

1.8 KiB

IMappetSchematic.saveToFile

← IMappetSchematic · ← Master

saveToFile(java.lang.String name)

IMappetSchematic Uses to save schematic.

Method Detail loadFromWorld

IMappetSchematic loadFromWorld(int x1, int y1, int z1, int x2, int y2, int z2)

Uses to copy blocks from world to schematic.

function main(c) { var schematic = c.world.createSchematic(); schematic.loadFromWorld(0, 4, 0, 4, 8, 4).saveToFile("mySchematic").place(0, 4, 4).place(0, 4, 8); }

place

IMappetSchematic place(int x, int y, int z, boolean replaceBlocks, boolean placeAir)

Places schematic's blocks into the world.

function main(c) { var schematic = c.world.createSchematic(); schematic.loadFromFile("myTestSchematic").place(0, 0, 0, true, true); }

place

IMappetSchematic place(int x, int y, int z, boolean replaceBlocks)

Places schematic's blocks into the world.

function main(c) { var schematic = c.world.createSchematic(); schematic.loadFromFile("myTestSchematic").place(0, 0, 0, true); }

place

IMappetSchematic place(int x, int y, int z)

Places schematic's blocks into the world.

function main(c) { var schematic = c.world.createSchematic(); schematic.loadFromFile("myTestSchematic").place(0, 0, 0); }

saveToFile

IMappetSchematic saveToFile(java.lang.String name)

Uses to save schematic.

function main(c) { var schematic = c.world.createSchematic(); schematic.loadFromWorld(0, 4, 0, 4, 8, 4).saveToFile("mySchematic"); }

loadFromFile

IMappetSchematic loadFromFile(java.lang.String name)

Uses to get schematic from file.

function main(c) { var schematic = c.world.createSchematic(); schematic.loadFromFile("mySchematic").place(0, 4, 4); }