Craig Martin

(Official) LUA Scripting Documentation

get_block_light

Get the amount of block emitted light at a map point.


Spec:

get_block_light(
	long x,
	long y,
	long z)

Parameters

Returns


Example

local x,y,z = get_script_point()
if get_block_light(x,y+1,z) > 8 then notify("It is quite light here") end

Incomplete

This documentation is incomplete


back