Counts all mined blocks

Hi, is it possible to set up a scoreboard on singleplayer that counts all the blocks dug up?
30 Replies
Admincraft Meta
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by grzess.#0
Lildirt
Lildirt2y ago
Any reason you don't want to just refer to the Statistics screen for this?
Auster
Auster2y ago
you can just use those as a scoreboard with the criterion minecraft:mined
Grześ
GrześOP2y ago
I need it to display all the time during gameplay for the episode per channel
Auster
Auster2y ago
gimme a sec i'll throw together a command for that
Grześ
GrześOP2y ago
Yes but it works for individual blocks and I need it for all of them
Auster
Auster2y ago
/scoreboard add blocks_mined minecraft:mined "Blocks Mined" should work
Lildirt
Lildirt2y ago
it's only individual blocks if you specify it that way. e.g., minecraft.mined:dirt would show dirt. but just using minecraft.mined should yield the total.
Grześ
GrześOP2y ago
Does not work on 1.20.1
Auster
Auster2y ago
are you trying it in creative?
Grześ
GrześOP2y ago
yea
Auster
Auster2y ago
it does not work in creative, only survival
Grześ
GrześOP2y ago
Also not working
Grześ
GrześOP2y ago
No description
Auster
Auster2y ago
ah scratch the part in the "" i was just tryna be fancy lmfao
Grześ
GrześOP2y ago
Which part? there is no such argument as add as 1
Auster
Auster2y ago
the part in the " s
Grześ
GrześOP2y ago
the first argument is only objectives or players
Discount Milk
Discount Milk2y ago
What's the full command you used
Grześ
GrześOP2y ago
/scoreboard add blocks_mined minecraft:mined Blocks Mined and /scoreboard add blocks_mined minecraft:mined "Blocks Mined"
Auster
Auster2y ago
fuck its /scoreboard objectives add blocks_mined minecraft:mined my bad it's been a while since i used scoreboards
Grześ
GrześOP2y ago
No description
Grześ
GrześOP2y ago
I think they had to remove it
Auster
Auster2y ago
from a developer perspective that sounds unlikely /scoreboard objectives add blocks_mined minecraft:mined.* maybe, just a wild guess
Grześ
GrześOP2y ago
/scoreboard objectives add blocks_mined minecraft.mined:minecraft.acacia_button This is how it should look correct for the acacia button block. Does not work in any case after the . or : adding *.
Auster
Auster2y ago
well then you are out of luck with that
Grześ
GrześOP2y ago
Unfortunately haha
Auster
Auster2y ago
if you give me an hour i can whip you up a plugin that does that, should not be hard 1.20.1 you said?
Grześ
GrześOP2y ago
I can write plugins, just wanted to avoid making a server and let myself have a simple singleplayer I very much appreciate the offer
Auster
Auster2y ago
really not possible that way sadly

Did you find this page helpful?