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

Killing animals with fire aspect on the first hit does not cook the drops

    XMLWordPrintable

    Details

    • Confirmation Status:
      Unconfirmed

      Description

      I killed a pig with a fire aspect sword on the first hit.

      What I expected to happen was...:

      I expected it to drop cooked pork.

      What actually happened was...:

      Instead, it droped raw pork.

      Steps to Reproduce:

      1. Get a fire aspect sword.
      2. Spawn a pig/cow/chicken.
      3. Poison the animal (so you can do a one hit kill).
      4. Wait till the animal has only 1/2 a heart.
      5. Kill it with the sword.

      Video: http://www.youtube.com/watch?v=cSFhVL_ES3M#t=1m39s

      The problem is that the damage of the sword applies before the entity gets set on fire. By simply first setting it on fire and then calculating the damage (like it is with burning arrows) this problem chould be solved.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                grum [Mojang] Grum (Erik Broes)
                Reporter:
                panda4994 Panda
              • Votes:
                2 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: