Ever wanted to know how many blocks you have mined or how many days you have spent in the nether? What about how much damage you have taken from falling or how many innocent dolphins you have needlessly slaughtered? Well good news, now you can see all of these and many many more!
Select version for changelog:
Changelog
Updated 1.19.50 pack and zip to fix scoreboard not displaying issue
Upon investigation, the tick event has been removed from the api in 1.19.70, so the packs will not work as currently designed for the new release.
I have created a new pack and zip, which should be available in a few days, that have all tracked statistics that require timing remove (this includes the scoreboard updates). Hopefully they will re-add this functionality or a similar mechanic in the future so these can be tracked again.
The latest API changes broke the scoreboard display code (class changed to an interface). I have sent over a new Statistics_1_19_50 mcpack and zip for approval, they should be available for download in a couple of days (addon version 1.0.3).
If you want this update sooner, you can update the "bc_statistics.js" file by replacing lines 13318 and 13361 from
"let newObjecitveDisplay = new minecraftserver.ScoreboardObjectiveDisplayOptions(newObjective);"
to
"let newObjecitveDisplay = { objective: newObjective };"
I downloaded the .mcpack, imported it, created a new world with beta api on, the pack activated, in survival (1.19.50), but when i joined it, there was no message and when i type !s, nothin happened.
Did i do something wrong?
I'm not familiar with how to enable this when creating a new world server, but I got it to work by first creating the world not as a server with the pack on and with the experiment on. Then, replace the server's world files with the newly created non-server world files, and move the pack from inside the world's behavior_packs folder to the server's behavior_packs folder.
Then run the server and in the console log you should see the line "[.... INFO] Experiment(s) active: gtst"