Topic category: Help with modding (Java Edition)
I’m fairly new to using mcreator, but I don’t have a problem with using the code at all. But, today I found something that I’m struggling to get around. I’m trying to make a tool that breaks bedrock, now this can’t be done by traditionally “breaking” it, rather you have to make a procedure in order to do so. I thought that if I make a “right click on block” procedure and used, “break block at y x z and drop block at x y z”, that it would simply replace the bedrock (or any block) with air and drop the corresponding block. This worked perfectly with every block BUT bedrock, the bedrock would break but wouldn’t drop. I’ve though of everything I’m capable of but can’t find anything. What can I do to make bedrock drop bedrock, without messing with anything else?
My best attempts were:
Making a “bedrock2” which would replace the block when replaced and just be a mineable version of bedrock, this didn’t work because any block could become bedrock
Deleting the block and giving the player the corresponding item, this didn’t work because there’s not a sort of “checking system” that would let this work.
Is there any sort of string of things I could do that would make it so that when I right click on a block it detects what block it is?