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

Mobs killed by dogs give wrong loot tables

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • Minecraft 1.9, Minecraft 1.9.1 Pre-Release 2, 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.4, Minecraft 1.10, Minecraft 1.10.2, Minecraft 16w33a, Minecraft 16w36a, Minecraft 16w38a, Minecraft 16w41a, Minecraft 16w43a, Minecraft 1.11 Pre-Release 1, Minecraft 1.11, Minecraft 1.11.1, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 17w13a, Minecraft 17w14a, Minecraft 17w17b, Minecraft 1.12 Pre-Release 3, Minecraft 1.12 Pre-Release 6, Minecraft 1.12, Minecraft 1.12.1 Pre-Release 1, Minecraft 1.12.1, Minecraft 1.12.2 Pre-Release 1, Minecraft 1.12.2 Pre-Release 2, Minecraft 1.12.2, Minecraft 17w48a, Minecraft 18w03b, Minecraft 18w16a, Minecraft 1.13-pre5, Minecraft 1.13-pre6, Minecraft 1.13-pre7, Minecraft 1.13-pre8, Minecraft 1.13, Minecraft 18w30b, Minecraft 1.13.1, Minecraft 18w45a, Minecraft 19w02a, Minecraft 19w07a
    • Minecraft 19w11a
    • Confirmed
    • Survival

    Description

      The bug

      Mobs killed by player owned dogs don't give uncommon or rare loot. This bug first appeared when loot tables were changed in 15w43 (works as intended in 15w42) and has not been fixed yet. If the dog does the killing hit it will not give uncommon or rare loot.

      What we would expect

      A player owned dog assist in the player's mob kill by doing the last blow of damage to the mob and the mob's loot has a chance of dropping an uncommon or rare item.

      What happens

      A player owned dog assist in the player's mob kill by doing the last blow of damage to the mob and the mob's loot has no chance, what so ever, of dropping an uncommon or rare item.

      How to reproduce

      1. Summon player owned dog:
        /summon wolf ~ ~ ~ {Owner:"UserName"}
        
      2. Summon in a blaze:
        /summon blaze ~ ~ ~ {Health:2}
        
      3. Punch the blaze once and let your dog finish killing it
      4. Repeat until satisfied
      5. Notice that the blaze never drops a blaze rod as a loot

      It affects all types of mobs (but normal skeletons).

      Code analysis

      Code analysis and fix by Xcom can be found in fix.png.

      Attachments

        Issue Links

          Activity

            People

              cojomax99 [Mojang] Cory Scheviak
              Rays Ray
              Votes:
              284 Vote for this issue
              Watchers:
              71 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                CHK: