This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
I'm planning a TreeCapitator command.I need detect it.
I saw people using a grid of armor stands to scan the nearby blocks,
but I guess you only need to know when you break a wood block.
So, add these 2 scoreboards and detect it
/scoreboard objectives add trash stat.mineBlock.minecraft.log
/scoreboard objectives add trash2 stat.mineBlock.minecraft.log2
/execute @a[score_trash_min=1] ...
/execute @a[score_trash2_min=1] ...
I'm planning a TreeCapitator command.I need detect it.
I saw people using a grid of armor stands to scan the nearby blocks,
but I guess you only need to know when you break a wood block.
So, add these 2 scoreboards and detect it
/scoreboard objectives add trash stat.mineBlock.minecraft.log
/scoreboard objectives add trash2 stat.mineBlock.minecraft.log2
/execute @a[score_trash_min=1] ...
/execute @a[score_trash2_min=1] ...