Block attributes

toolClass

This attribute defines the tool class that is required to harvest the block. It works together with harvestLevel. For example if toolClass is set to pickaxe and harvestLevel is set to 2, only pickaxes with harvest level 2 or higher can harvest the block.

Examples

toolClass[0] = "pickaxe";

toolClass[15] = "shovel";