I am making my first minecraft mod but I ran into a small issue. When creating my advanced block properties everything works except for setting the harvest level. When I set the light level, sound type, ect, they all work great but my set harvest level just seems to be doing nothing. I have it set to axe level 3 and anything breaks my blocks for example my fist breaks the block and leaves a drop, a sword works, a wooden axe works and leaves a drop. i have tried changing the levels and nothing works but like i said the other functions in this class work as they should. Here is my code for a reference:
public CoralBlock(String name, Material material) {
super(name, material);
setSoundType(SoundType.STONE);
setHardness(2.0F);
setResistance(1.0F);
setHarvestLevel("axe", 3);
}