Craig Martin

(Official) LUA Scripting Documentation

copy_region

Copy block data (block id, aux, light) from one cubic region to another.


Spec:

copy_region(
	long x1,
	long y1,
	long z1,
	long x2,
	long y2,
	long z2,
	long x3,
	long y3,
	long z3)

Parameters


Example

copy_region(100,10,200,120,20,240,400,50,200)

This example copies the block id, aux data and light data of all the blocks in the region 100,10,200 to 120,20,240 to a region of the same size starting at 400,50,200.


Incomplete

This documentation is incomplete


back