minetest.register abm

Description
The Active Block Modifier consists of a function that is executed at a specific interval for single nodes.

is a table which can contain following fields:

abms only work in active blocks, there's the active_block_range setting telling how far blocks are active, and abm_interval sets the Length of time between ABM execution cycles

abms begin south/west