Minecraft Scoreboard stat.mineBlock won’t work

minecraft-commandsminecraft-java-edition

So I wanted to set up something that uses stat.mineBlock.snow, but it wouldn't work. I tried other stat.mineBlock, but they wouldn't work either. I did the command /scoreboard objectives add snow stat.mineBlock.snow Snow But it returns with Usage: Invalid objective criteria type 'stat.mineBlock.snow'
So what am I doing wrong, and how do I fix this?

Best Answer

Even though it seems you got it working by using the numerical ID, there is a way to add it by using the friendly names. instead of stat.mineBlock.snow, it would have to be stat.mineBlock.minecraft.snow.