Item Attributes

effectiveBlocks

This attribute defines the blocks that the item is effective against. For example an axe is effective against logs and planks and a pickaxe is effective against stone and ores. All blocks that can't be mined with hands (for example stone) have also be defined for the harvestBlocks attribute or it won't work.

Examples

// The item is effective against logs and wooden planks.
effectiveBlocks = "17,5";

// The item is effective against white wool.
effectiveBlocks = "35:0";