Block Attributes

onPlaced

This attribute defines the script that is executed when the block gets placed.

Examples

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