Block Attributes

onWalking

This attribute defines the script that is executed when an entity is walking on the block.

Examples

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