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

"minecraft.used:minecraft.<ITEM>" doesn't increase when items are used on entities

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 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, Minecraft 1.14.2, Minecraft 1.14.3 Pre-Release 2, 1.14.4, 19w37a, 1.15 Pre-Release 2, 1.15.2, 20w15a, 1.16.1, 20w27a, 20w29a, 1.16.2 Pre-release 3, 1.16.2 Release Candidate 1, 1.16.2 Release Candidate 2, 1.16.2, 1.16.3, 1.16.4 Pre-release 2, 1.16.4 Release Candidate 1, 1.16.4, 20w46a, 20w48a, 21w03a, 1.16.5, 21w05b, 21w06a, 21w07a, 21w14a, 21w15a, 21w16a, 21w17a, 1.17, 1.17.1, 21w38a, 21w39a, 21w40a, 21w42a, 1.18 Pre-release 1, 1.18 Pre-release 7, 1.18, 1.18.1, 22w03a, 22w05a, 22w07a, 1.18.2 Release Candidate 1, 1.18.2, 22w17a, 22w18a, 1.19, 1.19.1, 1.19.2, 22w43a, 1.19.3 Pre-release 2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.4, 23w51b, 24w10a
    • Confirmed
    • Player, Statistics
    • Normal
    • Platform

      The Bug:

      "minecraft.used:minecraft.<ITEM>" doesn't increase when items are used on entities.

      There are several examples of where this issue can be seen. Here is a list of some of these.

      • Shearing mushrooms, sheep, and snow golems.
      • Feeding food to entities.
      • Using a saddle on entities.
      • Using a chest on entities.
      • Using flint and steel to detonate a creeper.
      • Using buckets or bowls to milk entities.
      • Using fuel on a furnace minecart.
      • Using a dye to color the collar of a pet.
      • Using an iron ingot to heal an iron golem.
      • Using gold to barter with piglins.
      • Using water buckets to catch fish and axolotls.
      • Using name tags on entities.

      Steps to Reproduce:

      1. Create a scoreboard objective for tracking the usage of some shears and set it to display on the sidebar by using the commands provided below.
        /scoreboard objectives add UseShears minecraft.used:minecraft.shears
        /scoreboard objectives setdisplay sidebar UseShears
      2. Obtain some shears and summon a sheep.
      3. Shear the sheep using the shears.
      4. Take note as to whether or not "minecraft.used:minecraft.<ITEM>" increases when items are used on entities.

      Observed Behavior:

      The scoreboard doesn't increase.

      Expected Behavior:

      The scoreboard would increase.

        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
        5. MC-54972.mp4
          6.02 MB

            Unassigned Unassigned
            Avoma [Mod] Avoma
            Votes:
            69 Vote for this issue
            Watchers:
            21 Start watching this issue

              Created:
              Updated:
              CHK: