mojira.dev
MC-129836

Scoreboard objectives for tracking non-useable item usage not working

I was trying to use the scoreboard to track how many times a player right clicked with a minecraft:heart_of_the_sea, but the scoreboard was not updating.

What I expected to happen was...:
The score for my character to increment by one when using a Heart of the Sea.

What actually happened was...:
The score never updated.

Steps to Reproduce:
1. Run Command: /scoreboard objectives add use_hos minecraft.used:minecraft.heart_of_the_sea
2. Run Command: /scoreboard objectives setdisplay sidebar use_hos
3. Run Command: /give @p minecraft:heart_of_the_sea
4. Right click given item
5. Notice sidebar didn't update

Additional Notes

  • I also tried this with a nether star and got the same result

Comments 3

this has never been a thing but i still hope it gets fixed

Im relatively new to commands, and I didn't know that wasn't a thing before. Though it is strange that they allow you to set it up, but not be able to use it.

All statistics are allowed, regardless of it they get values changed or not.

MaskOfLoki

(Unassigned)

Unconfirmed

Minecraft 18w20c

Retrieved