(Official) LUA Scripting Documentation
Pages
Functions to manipulate blocks
add_flying_block*
Add a falling block at the map point.
copy_block*
Copy block data (block id, aux, light) from one map point to another.
copy_region*
Copy block data (block id, aux, light) from one cubic region to another.
get_aux*
Get the aux data at a map point.
get_block*
Get the block id at a map point.
move_block*
Move block data (block id, aux, light) from one map point to another.
move_region*
Move block data (block id, aux, light) from one cubic region to another.
paste*
Paste a component.
replace_region*
Replace a block id with another block id in a cubic region.
set_block*
Set block id and aux data at a map point.
set_block_script*
Assign a script to a block at a map point.
set_falling_block*
Set the block at the map point to be a falling block.
set_region*
Set block id in a cubic region.
set_region_aux*
Set aux data in a cubic region.
set_sphere*
Set block id in a spherical region.
get_block_info*
Get various world data of a block.
get_block_light*
Get the amount of block emitted light at a map point.