Callback.BlockChangedFunction
Callable
Parameters
coords: Vector
coordinates where block change occurred
oldBlock: BlockState | Tile
the block that is being replaced (since 3.1.1b127 passes BlockState)
newBlock: BlockState | Tile
replacement block (since 3.1.1b127 passes BlockState)
region: BlockSource
Returns void
Function used in "BlockChanged" callback.