Block Attributes

hardness

This attribute defines the block's hardness. The higher the value is, the longer it takes an item to harvest the block.

Examples

// Default value
hardness[0] = 0.0;
// ...
hardness[0] = 0.0;

hardness[0] = 2.0;

hardness[15] = 4.4;