carpet-extra
carpet-extra copied to clipboard
Suggestion: Dispensers with pickaxes should mine blocks.
Suggesting dispensers with pickaxes (or other tools like shovels & axes) should be able to break the block in front of it. This would allow for quarry designs without the need for withers, TNT or AFK players.
The speed of the break and the drops given would depend on the tool and its enchantments, and damage would be dealt accordingly to the tool in question.
It would be cool if tools with mending could repair themselves in a dispenser as well.
It would be cool if tools with mending could repair themselves in a dispenser as well.
What if that consumed XP bottles in the dispenser? In other words, in order for Mending to work within a dispenser, you will need to supply XP bottles, which would be consumed at a rate of 1 per second (each bottle restores 6 to 22 durability chosen uniformly at random).
I have made a very crude version of that for my server. You may of course use it and I encourage you to improve it:
https://github.com/LeonWilzer/carpet-extra
It gets triggered by MiningToolItems (Pickaxes, Shovels and Axes), doesn't have support enchantments yet and I haven't messed with XP-Bottles, because I don't think that should be a thing. There's probably a much more robust way of implementing a block breaker in fabric/carpet, but I have never modded a game before so yeah ¯_(ツ)_/¯