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

Off hand item usage isn't prevented while holding shears in the main hand and looking at sheared snow golems or bogged

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21, 1.21.2 Pre-Release 3, 1.21.2
    • None
    • Confirmed
    • Player

      The Bug:

      Off hand item usage isn't prevented while holding shears in the main hand and looking at sheared snow golems or bogged.

      You can utilize the item in your offhand while holding shears in the main hand and looking at snow golems or bogged, but you cannot utilize the item in your offhand while holding shears in the main hand and looking at sheared sheep, therefore introducing an inconsistency.

      Steps to Reproduce:

      1. Summon a sheep, snow golem, and bogged all next to one another by using the commands provided below.
        /summon minecraft:sheep ~-3 ~ ~-3 {NoAI:1b}
        /summon minecraft:snow_golem ~ ~ ~-3 {NoAI:1b}
        /summon minecraft:bogged ~3 ~ ~-3 {NoAI:1b,ArmorItems: [{},{},{},{count:1,id:"minecraft:diamond_helmet"}]}
      2. Hold a shield in your off hand and some shears in your main head.
      3. Shear all of the entities.
      4. Attempt to shear all of the entities again (right-click on them while holding shears) and observe if your off hand item is used while attempting to do so.

      Observed Behavior:

      Off hand item usage isn't prevented while holding shears in the main hand and looking at sheared snow golems or bogged which is inconsistent with sheared sheep.

      Expected Behavior:

      Off hand item usage would be prevented while holding shears in the main hand and looking at sheared snow golems or bogged.

        1. MC-273717 - Sheep.png
          MC-273717 - Sheep.png
          1010 kB
        2. MC-273717 - Bogged.png
          MC-273717 - Bogged.png
          885 kB
        3. MC-273717 - Snow Golem.png
          MC-273717 - Snow Golem.png
          829 kB
        4. MC-273717.mp4
          9.79 MB

            Unassigned Unassigned
            Avoma [Mod] Avoma
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              CHK: