Block Attributes

onPlacedByPlayer

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

Examples

onPlacedByPlayer[0] = "player.sendMessage('You placed me.');";