When entering the command
/scoreboard objectives add spawn stat.useItem.345
stat.useItem.345 is listed as a valid choice as is its newer form stat.useItem.minecraft.compass. Neither of these stats are functional and should be removed from autocomplete or made functional.
Linked issues
is duplicated by 1
Comments 4
Item 345 is the compass, brick is item 336.
The compass doesn't have visible left or right click event, the only way to increment its use would be when it was held in hand.
Most likely the reason it is listed in autocomplete is that it was planned to be implemented but for whatever reason wasn't. If all the items that are not supported by useItem at this time were removed from the autocomplete list, it would end much confusion. Then all of the unsupported useItem 'bugs' could be considered requests for implementation.
Item 345 is the compass (sorry changed it), so this makes also no sense that it is listed because stat.useItem is not working for crafting...
I guess they have to change this all very soon anyway, when they stop supporting number ids there, but still a bug 🙂
Also just holding it doesn't count as using (from minecraft wiki, yes I know it is not a official source)
So it seems like this is not the only incorrect suggestion, just type
"/scoreboard objectives add Test stat.useItem.35" and press tab, for example the clock probably also is incorrect as a suggestion...