Started by
GoldenDarius
on
Topic category: Advanced modding
I made some custom tools with my own ore. I want the pickaxe to be able to break command blocks and actually drop them. I know there is a way to do it with procedures, but I have no idea how it should work and what category I should select
Edited by GoldenDarius on Fri, 11/20/2020 - 21:09
It's not possible without modifying the command block itself, cause the durability of a command block is -1, which is unbreakable.
But you can do something similar using the Player left clicks block, and check if the player has pickaxe and heck the coordinates if it is a command block, and do remove block
i will see if i can do as you said, i don't really want to modify the command block's durability, thanks
what I would do is make it so your pickaxe when swung checks if its a command block and then if true it breaks the block and gives you a command block