Topic category: Help with MCreator software
Hello all,
I am trying to make a pickaxe which is powered by redstone and creates an explosion after breaking a block. I'm attempting to get it to check if there's redstone in the player's inventory and if there is, give the player resistance and create an explosion at the location of the broken block. Then, check again for redstone in the player's inventory and if so remove 1 redstone from the player's inventory.
This is what I have so far but it's not working. It doesn't allow me to set this procedure to be triggered when a block is broken by the tool, it says it's missing dependencies. I can set it to be triggered when the player attacks an entity with the tool, but that's not what I'm looking to do.
Any thoughts on why this isn't working?
on global triggers, look for "player breaks block" or something like that. i'm pretty sure it exists
then make an if statement to check if a player is holding the redstone pickaxe and put the code your showing inside the if statement.
hope this helps!!