BlockArea: Finished rotation and mirroring with meta. Implemented example meta handling for vines, stairs and torches.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1319 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -105,6 +105,37 @@ function Initialize(Plugin)
|
||||
BA1:SaveToSchematicFile("schematics/rot4.schematic");
|
||||
end
|
||||
|
||||
-- Debug block area rotation:
|
||||
if (BA1:LoadFromSchematicFile("schematics/rotm.schematic")) then
|
||||
BA1:RotateCCW();
|
||||
BA1:SaveToSchematicFile("schematics/rotm1.schematic");
|
||||
BA1:RotateCCW();
|
||||
BA1:SaveToSchematicFile("schematics/rotm2.schematic");
|
||||
BA1:RotateCCW();
|
||||
BA1:SaveToSchematicFile("schematics/rotm3.schematic");
|
||||
BA1:RotateCCW();
|
||||
BA1:SaveToSchematicFile("schematics/rotm4.schematic");
|
||||
end
|
||||
|
||||
-- Debug block area mirroring:
|
||||
if (BA1:LoadFromSchematicFile("schematics/ltm.schematic")) then
|
||||
BA1:MirrorXY();
|
||||
BA1:SaveToSchematicFile("schematics/ltm_XY.schematic");
|
||||
BA1:MirrorXY();
|
||||
BA1:SaveToSchematicFile("schematics/ltm_XY2.schematic");
|
||||
|
||||
BA1:MirrorXZ();
|
||||
BA1:SaveToSchematicFile("schematics/ltm_XZ.schematic");
|
||||
BA1:MirrorXZ();
|
||||
BA1:SaveToSchematicFile("schematics/ltm_XZ2.schematic");
|
||||
|
||||
BA1:MirrorYZ();
|
||||
BA1:SaveToSchematicFile("schematics/ltm_YZ.schematic");
|
||||
BA1:MirrorYZ();
|
||||
BA1:SaveToSchematicFile("schematics/ltm_YZ2.schematic");
|
||||
end
|
||||
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user