I killed a pig with a fire aspect sword on the first hit.
I expected it to drop cooked pork.
Instead, it droped raw pork.
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.
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.