Block.NeighbourChangeFunction
Callable
Parameters
coords: Vector
coords vector of the block
block: BlockState | Tile
Tile object of the block (since 3.1.1b127 passes BlockState)
changedCoords: Vector
coords vector of the neighbour block that was changed
region: BlockSource
BlockSource object
Returns void
Function used to check block's neighbours changes.