[MC-1079] Killing animals with fire aspect on the first hit does not cook the drops Created: 28/Oct/12  Updated: 08/May/17  Resolved: 05/Nov/12

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.2
Fix Version/s: Minecraft 1.4.4

Type: Bug
Reporter: [Mojang] Panda Assignee: [Mojang] Grum (Erik Broes)
Resolution: Fixed Votes: 2
Labels: animal, cooked, drop, enchantment, fire_aspect, item, meat, raw
Environment:

Not environment dependent.


Issue Links:
Duplicate
is duplicated by MC-1139 Swords with fire aspect deal damage b... Resolved
is duplicated by MC-2204 Killing a mob in one hit using a weap... Resolved
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.



 Comments   
Comment by Russell Speke [ 01/Nov/12 ]

Just to add, this is inconsistent with that of the bow. A bow with Flame will actually cook any dropped meat. This behaviour should apply to swords too.

Generated at Sun Jan 12 11:53:14 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.