I thought making the canHarvestBlock values false would make it so it wouldn't drop the block, but I didn't work. I want it to break the block fast, but not drop it... Any help?
that only works for stuff like stone. Some things like wood will always be harvest able because those things are harvest-able with bare fists. You could make it so that your tool replaces the selected block with air instead, so nothing is dropped, but also nothing is there.
I made a tool called a sledgehammer.
The ItemSledge class is:
I thought making the canHarvestBlock values false would make it so it wouldn't drop the block, but I didn't work. I want it to break the block fast, but not drop it... Any help?