Item Attributes

toolClass

This attribute defines the item's tool class. It works together with harvestLevel. For example if toolClass is set to pickaxe and harvestLevel set to 2, the item can harvest all blocks registered with toolClass pickaxe and harvestLevel less or equal 2. Blocks that can be harvest this way are automatically affected by the efficiency of the item. If this attribute is set to 'noHarvest' isn't able to harvest any block no matter if there are blocks specified in harvestBlocks.

Examples

toolClass = "noHarvest";

toolClass = "pickaxe";

toolClass = "myOwnToolClass";