(Official) LUA Scripting Documentation
move_block
Move block data (block id, aux, light) from one map point to another.
Spec:
move_block(
long x1,
long y1,
long z1,
long x2,
long y2,
long z2)
Parameters
x1
: The x component of the source map pointy1
: The y component of the source map pointz1
: The z component of the source map pointx2
: The x component of the destination map pointy2
: The y component of the destination map pointz2
: The z component of the destination map point
Example
local x,y,z = get_script_point()
move_block(x,y,z,x,y+1,z)
This example moves the block id, aux data and light data of the script block that executed this script to the point directly above it.
Incomplete
This documentation is incomplete