Write script to place blocks in range.
Every game tick module runs your script for all blocks in range, which can be replaced (for example, air, water, sea grass). You can get current block information from currentBlock API.
If your script calls blockPlacer.setBlockId("block_id"); with valid block id, module tries to place block here.
Module can only place 1 block per tick.