mojira.dev
MC-309977

'minecraft.used:minecraft.name_tag' does not increase when right-clicking a mob with a name tag

Issue summary

Statistic for name tag uses doesn’t increase when using a name tag.

How to reproduce

  1. Create a scoreboard:

    /scoreboard objectives add test minecraft.used:minecraft.name_tag
  2. Get a name tag

  3. Rename the name tag using an anvil

  4. Use the name tag on a mob

  5. Check the score:

    /scoreboard players get @s test

Actual Result

Using this command will yield an error saying that the value is set to none. Additionally you can check the statistics menu, in the items tab the name tag position will have 0 uses.

Expected result

The aforementioned statistic should increase by 1 each time a name tag is used on a mob.

Older versions annotation

Even though the problem was discovered in the latest release (26.2), this bug seems to go way back. I randomly checked a couple of older versions of the game, 1.15.2 being the earliest release on my list. In all of the testing cases outcome was the same.

Linked issues

Attachments

Comments 2

Thank you for helping us improve Minecraft! We saved your files:

[media]

Thank you for your report!
We're tracking this issue in MC-54972, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

Jay Bird

(Unassigned)

Unconfirmed

26.2

Retrieved