Block Attributes
onBreak
This attribute defines the script that is executed when the block gets removed from the world.
Examples
onBreak[0] = "world.createExplosion(position, 5.0, false);";
This attribute defines the script that is executed when the block gets removed from the world.