name Of Block
Get the name of a block.
blocks.nameOfBlock(GRASS)Parameters
- block: the block to get the name of.
Returns
- a string that is the name of the block.
Example
Say what the name of a block of Sandstone is in the game chat.
player.say(blocks.nameOfBlock(SANDSTONE))