Block Attributes

onBonemeal

This attribute defines the script that is called when a player uses bonemeal on the block.

Examples

onBonemeal[0] = "world.setBlockId(position, 5);";