Craig Martin

(Official) LUA Scripting Documentation

set_sphere

Set block id in a spherical region.


Spec:

set_sphere(
	long x,
	long y,
	long z,
	long radius,
	long block_id,
	long percent,
	long seed)

Parameters


Example

move_region(100,200,300,50,block.basalt,75)

This example creates a sphere with a radius of 50 blocks at postion 100,200,300 using basalt as the block id and filling it 75%.


Incomplete

This documentation is incomplete


back