Total Miner

(Official) LUA Scripting Documentation

set_block

Set block id and aux data at a map point.


Spec:

set_block(
	long x,
	long y,
	long z,
	long block_id,
	long aux)

Parameters


Examples

set_block(100, 201, 100, block.grass)

Sets a grass block at 100, 201, 100.


set_block (100, 201, 100, block.stairs, 14)

Sets a stairs block at 100, 201, 100 that is upside down and facing east.


Incomplete

This documentation is incomplete


back