couple bugs with new statistics/commands in 13w36a
A brief couple bug reports on new statistics:
I tried making a scoreboard objective for "stat.craftItem.297" (297 is bread) and displaying the score in the sidebar. If I craft bread, it does increase by 1 each time I craft (drag item out of crafting table output), but if I shift-click the bread out of the crafting table, then my score on the scoreboard erroneously increases by 2 at a time, rather than 1 at a time. (The statistics on the statistics menu don't seem to have the scoreboard objective bug - they correctly track how many bread I actually crafted.)
stat.useItem.297 does not seem to work. I presume this is because 'eating food' does not seem to count as a 'use' - note that even the statistics menu lists 'uses' as 0 after eating some bread. I think that eating food should behave like a 'use' or maybe a 'depletion'.
(Overall, I was experimenting with using scoreboard/command-blocks to create my own food/healing system, by detecting when players eat certain foods and healing the player via commands. Minecraft 13w36a doesn't support that yet, as issues described above block it from working.)
2013-09-09, 04:21 AM
2014-03-06, 07:41 PM
2013-09-09, 05:57 PM
0
0
-