Minecraft
  1. Minecraft
  2. MC-31047

Use Item Stat Corresponds to Left-click, Not Right-click

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 13w36b, Minecraft 13w37a, Minecraft 13w37b, Minecraft 13w38a, Minecraft 13w39a, Minecraft 13w41b, Minecraft 13w42a, Minecraft 1.7, Minecraft 1.7.1, Minecraft 1.7.2, Minecraft 13w47a, Minecraft 13w47b, Minecraft 13w47c, Minecraft 1.7.4, Minecraft 14w02c, Minecraft 14w03a, Minecraft 14w03b, Minecraft 14w06b
    • Fix Version/s: Minecraft 14w10a
    • Security Level: Minecraft - Public (Viewable by everyone)
    • Confirmation Status:
      Confirmed

      Description

      I was trying to make a scoreboard objective that detects when you use shears, but when I added it and used the shears, it didn't work. I tried shearing both mooshrooms and sheep. Neither worked, and I don't know why. It should work because stat.useitem.359 should detect when shears are used.

      Step 1: Add an objective that detects when you use shears (food, shears, bows, potions, and many more also do not work)
      (/scoreboard objectives add Shear stat.useItem.359)

      Step 2: Set the display to sidebar so you can see if it worked or not.

      Step 3: Shear a sheep. (You can also try using the items listed above)

      If you followed those steps correctly, you should have not gained any points. It should work, but for some reason, it doesn't detect when you used the shears.

        Issue Links

          Activity

          Hide
          Bjorn Pijnacker added a comment -

          Food doesn't work, too

          Show
          Bjorn Pijnacker added a comment - Food doesn't work, too
          Hide
          George Stichel added a comment -

          doesn't work in 14w08a

          Show
          George Stichel added a comment - doesn't work in 14w08a
          Hide
          [Mod] Kumasasa added a comment -

          Bjorn Pijnacker,George Stichel
          This issue is fixed for the next upcoming snapshot 14w09a or 14w10a or...

          Show
          [Mod] Kumasasa added a comment - Bjorn Pijnacker,George Stichel This issue is fixed for the next upcoming snapshot 14w09a or 14w10a or...
          Hide
          Jelle added a comment - - edited

          (1.8) Still not fixed...

          Affects shears and tools, also blocks... Very annoying and this makes the whole stat.useItem useless

          Does work with cocoa beans

          Show
          Jelle added a comment - - edited (1.8) Still not fixed... Affects shears and tools, also blocks... Very annoying and this makes the whole stat.useItem useless Does work with cocoa beans
          Hide
          [Mod] Torabi added a comment -

          I've verified that the specific issue referred to in the title (items that are primarily used by right-clicking, such as bows, food, potions, flint and steel, buckets, spawn eggs, etc. being counted as used when left-clicking, rather than right-clicking) has been fixed, and split the other part of the issue (right-clicking on mobs does not count as using the item) into MC-54972.

          Show
          [Mod] Torabi added a comment - I've verified that the specific issue referred to in the title (items that are primarily used by right-clicking, such as bows, food, potions, flint and steel, buckets, spawn eggs, etc. being counted as used when left-clicking, rather than right-clicking) has been fixed, and split the other part of the issue (right-clicking on mobs does not count as using the item) into MC-54972 .

            People

            • Assignee:
              [Mojang] Searge (Michael Stoyke)
              Reporter:
              Jacob Lawson
            • Votes:
              20 Vote for this issue
              Watchers:
              23 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                CHK: