Hey, I did Ruby Block in my modification:
public class RubyBlock extends Block {
public RubyBlock() {
super(Block.Properties.create(Material.IRON)
.hardnessAndResistance(5.0f, 6.0f)
.sound(SoundType.METAL)
.harvestLevel(2)
.harvestTool(ToolType.PICKAXE)
);
}
}
I found a list of the hardness and resistance of all blocks on the Internet, the hardness of the emerald block is 5, resistance 6, so I set the same in my block. And now the problems:
Although the harvest level is set to 2, the block will drop an item even if i destroys it with a wooden or stone pickaxe,
When I place my block and emerald block next to each other and destroyed both with a stone and wooden pickaxe, my block breaks faster but iron, diamond and netherite pickaxes both destroy the same amount of time.
How is it possible? I'm from Polish and I don't know English well, I hope everything is understandable, but if not, I will try to explain what I mean better. I am a beginner, but I know java basics