mojira.dev
MC-55651

Scoreboard Objective doesn't count when rightclicking with specific items

There is a problem with the scoreboard objectives that involve "stat.useItem.minecraft.NAME", where NAME is a weapon or a piece of armor.
If you for example add "stat.useItem.minecraft.diamond_sword" and you rightclick with a diamond sword, it doesn't add a score to you. Same with Axes, Shovels, Pickaxes, Armor, and actually everything that is not use- or placeable.

Please fix this in the next snapshot (if possible) because this bug exists for a long time now and really makes some things more difficult than they would be without this bug.

Attachments

Comments 4

The items which have a right click ability do in fact increase the statistics, see MC-31047 (except maps, this is MC-31032), but the items you've named do not have any function with right click, for what reason the statistics should be increased ?

@Kumasama You're obviously not a mapmaker! 🙂 There are countless reasons for these items to encrease the statistics!
Since Minecraft is adding more and more mapmaking features, they should definitly add a possibility to track if a player has rightclicked an item in his inventory! This is one of the most requested features and can simply be added by fixing this issue. Bukkit Plugins for example allready have the possibility to track if a player has rightclicked in general.

Just a few ideas what could be possible with this:

  • giving special effects while blocking with a special sword such as resistance or slowness or both.

  • making magical spells in minecraft with righclicking different dyes or hoes for example
    it would make things so much more awesome! Axes with special abilities! The possibilities are endless! You could do a whole RPG with this little feature!

enough reasons? I can get you more if you want to 😛

@Kumasasa For example blocking with a sword is in fact an action. Same as rightclicking with a piece of armor to equip it

Ok, understood, but nevertheless, this is not a bug.
This site is for bug reports only. For feature suggestions or changes please see: Minecraft Suggestions on Reddit.

cry wow

(Unassigned)

Unconfirmed

Minecraft 14w21b

Retrieved