Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-54972

Statistics and minecraft.used objectives do not increase when items are used on mobs/entities by right-clicking

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.7.9, Minecraft 14w19a, Minecraft 1.8.2-pre6, Minecraft 15w37a, Minecraft 15w45a, Minecraft 1.9, Minecraft 1.9.1 Pre-Release 1, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.9.1, Minecraft 1.9.2, Minecraft 16w15b, Minecraft 1.9.3 Pre-Release 1, Minecraft 1.9.3 Pre-Release 2, Minecraft 1.9.3 Pre-Release 3, Minecraft 1.9.3, Minecraft 1.9.4, Minecraft 16w20a, Minecraft 16w21a, Minecraft 16w21b, Minecraft 1.10 Pre-Release 1, Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b, Minecraft 16w33a, Minecraft 16w35a, Minecraft 16w36a, Minecraft 16w39a, Minecraft 16w39b, Minecraft 16w40a, Minecraft 16w41a, Minecraft 16w42a, Minecraft 16w43a, Minecraft 16w44a, Minecraft 1.11 Pre-Release 1, Minecraft 1.11, Minecraft 16w50a, Minecraft 1.11.2, Minecraft 17w16a, Minecraft 17w16b, Minecraft 1.12 Pre-Release 5, Minecraft 1.12 Pre-Release 7, Minecraft 1.12, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 17w43b, Minecraft 17w45b, Minecraft 17w49a, Minecraft 17w49b, Minecraft 1.13-pre1, Minecraft 1.13-pre5, Minecraft 1.13, Minecraft 18w33a, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w43b, Minecraft 18w49a, Minecraft 19w05a, Minecraft 19w11b, Minecraft 19w12b
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      The bug

      Using items on mobs does not count as using them in either the statistics screen, or if a minecraft.used objective is created for them, even if using the item in other ways does count.

      • Breaking blocks such as leaves and tall grass by left-clicking with shears is counted as using the item, but shearing sheep or mooshrooms with right-click is not.
      • Eating food such as apples or carrots is counted as using the item, but feeding them to an animal is not.
      • Feeding bones to wolves does not count.
      • Using a saddle on an animal will not count as using the item.
      • flint_and_steel is counted when right-clicking on a block, but not when right-clicking on a creeper, which causes it to detonate.
      • Scooping up water or lava with a bucket counts as using the item, but milking a cow does not.
      • Using a lead on a fence counts, but using it on a mob does not.
      • Using a name_tag on a mob does not count.
      • Using a spawn egg on the ground counts, but using it on a mob such as a cow to spawn baby cows does not.
      • Using wheat_seeds on farmland to plant them counts, but feeding them to a chicken does not.
      • Using bonemeal on grass or plants counts, as does using cocoa beans on jungle wood, but using them or any other dyes on on sheep or wolves does not count.
      • Using coal or charcoal on minecart furnaces

      This means that items which are only used by right-clicking on a mob cannot be tracked with a scoreboard, particularly name_tags and saddles.

      How to reproduce

      1. Change the name of a name tag
      2. Type this command /scoreboard objectives add NameTagTest minecraft.used:minecraft.name_tag
      3. Type this command /scoreboard objectives setdisplay sidebar NameTagTest
      4. Use the name tag with a mob
        The scoreboard won't increase

        Attachments

        1. 1.png
          1.png
          288 kB
        2. 2.png
          2.png
          277 kB
        3. 3.png
          3.png
          319 kB
        4. 4.png
          4.png
          381 kB

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                PneuX PneuX
              • Votes:
                31 Vote for this issue
                Watchers:
                17 Start watching this issue

                Dates

                • Created:
                  Updated:
                  CHK: