Home
Tutorial
Recipes
Items
Blocks
Tile Entites
GUIs
World Generators
Scripting
Examples
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);";