#How to determine if you break certain blocks?

1 messages · Page 1 of 1 (latest)

lament plank
#

I'm trying to add a skill thing to a mod I have been making (kind of like Hypixel Skyblock when you mine certain blocks, it levels up skills relating to those blocks) but how would the game detect if you broke something specific? I don't want to trigger it through mobs dropping items, or other blocks, just one kind of block.

#

Also I don't want to change the functionality of the original blocks.

spice stone
#

I don't know of any command methods for testing block breaks outside of testing for items (I could be wrong). You might be better off using a script

lime ginkgo
#

nothing better than good ol scripts

lament plank
#

How would I use the script then

lime ginkgo