setBlockState

fun setBlockState(x: Int, y: Int, z: Int, state: BlockState)

Sets the block state at the given position in the chunk. X,Y,Z must be in chunk coordinates (ie x&z in 0..15, y in minY..maxY)

If y lands in an empty section, the section is created and considered to be filled with air