Craig Martin

(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


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


back