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

Mobs do not stop holding blocks/items after dropping them upon death, leading to visual duplication

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 1.13, Minecraft 18w30b, Minecraft 18w31a, Minecraft 18w32a, Minecraft 18w33a, Minecraft 1.13.1-pre1, Minecraft 1.13.1-pre2, Minecraft 1.13.1, Minecraft 1.13.2-pre1, Minecraft 1.13.2-pre2, Minecraft 1.13.2, Minecraft 18w43b, Minecraft 18w43c, Minecraft 18w44a, Minecraft 18w45a, Minecraft 18w46a, Minecraft 18w47a, Minecraft 18w47b, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, Minecraft 19w02a, Minecraft 19w03c, Minecraft 19w04a, Minecraft 19w06a, Minecraft 19w07a, Minecraft 19w11a, Minecraft 19w12a, Minecraft 19w12b, Minecraft 19w13a, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b, Minecraft 1.14 Pre-Release 2, Minecraft 1.14 Pre-Release 5, Minecraft 1.14.2 Pre-Release 3, Minecraft 1.14.3 Pre-Release 1, Minecraft 1.14.3 Pre-Release 3, Minecraft 1.14.3 Pre-Release 4, Minecraft 1.14.4 Pre-Release 3, Minecraft 1.14.4 Pre-Release 4, 19w34a, 19w35a, 19w36a, 19w37a, 19w38b, 19w39a, 19w40a, 19w41a, 19w42a, 19w44a, 19w46a, 1.15 Pre-release 1, 1.15 Pre-Release 2, 1.15 Pre-release 3, 1.15 Pre-release 4, 1.15 Pre-release 6, 1.15 Pre-release 7, 1.15.1 Pre-release 1, 1.15.2 Pre-Release 1, 1.15.2 Pre-release 2, 20w06a, 20w07a, 20w08a, 20w09a, 20w10a, 20w11a, 20w12a, 20w21a, 1.16 Pre-release 2, 1.16 Pre-release 3, 1.16.1, 20w28a, 20w29a, 20w30a, 1.16.2 Pre-release 1, 1.16.3, 1.16.4 Pre-release 2
    • Confirmed
    • Rendering

      The bug

      Note how in the attached picture, the zombie, which is dying, has dropped its iron sword, however it still appears to be holding said sword.

      Similar arguments could be given for blocks held by endermen, heads of mobs killed by charged creepers, sheep wool, skeletons' bones, and so on. However, these should likely have their own tickets.

      An easy way to fix this is to make mobs only drop items after the corpse disappears, like experience used to, eliminating this discrepancy.

      How to reproduce

      1. Run:
        /summon minecraft:zombie ~ ~ ~ {HandDropChances:[100f],HandItems:[{id:diamond_sword,Count:1b}],Health:1}
        
      2. Hit the zombie.
        Zombie dies and drops the sword as expected...
         but the zombie still holds the sword while it's already dropped

            Unassigned Unassigned
            Awesoman3000 Connor Steppie
            Votes:
            13 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: