Block Attributes

onNeighborChange

This attribute defines the script that is executed when a neighbor block changes.

Examples

onNeighborChange[0] = "world.createExplosion(position, 5.0, false);";