Mojira Archive
MC-1079

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

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.

Fixed

[Mojang] Panda

[Mojang] Grum (Erik Broes)

2012-10-28, 10:25 PM

2017-05-08, 09:44 PM

2012-11-05, 03:21 PM

2

2

Unconfirmed

animal, cooked, drop, enchantment, fire_aspect, item, meat, raw

Minecraft 1.4.2

Minecraft 1.4.4