Item Attributes

onUseFirst

Defines the script that is executed when the player right clicks a block with a block. It is called before the block is activated.

Examples

onUseFirst[0] = "player.sendMessage('Right clicked a block!');";