async/api.txt

18 lines
546 B
Plaintext
Raw Normal View History

-- node_funcs
-- Function happens when a node's constructer function is ran in a 3x3x3 near by.
2018-10-29 22:32:52 +01:00
on_construct_node_near_by(pos,other_pos)
-- Function happens when a node's destructer function is ran 3x3x3 near by.
on_destruct_node_near_by(pos,other_pos)
-- async
--
minetest.async.priority(resting,maxtime)
--
minetest.async.iterate(from,to,func,callback)
--
minetest.async.foreach(array, func, callback)
--
minetest.async.do_while(condition, func, callback)
--
minetest.async.register_globalstep(func)
--
minetest.async.queue_task(tasks,callback)