Block method setHardness

Sets the block's hardness property to the parameter of the method. This defines how many hits it takes to break the block.