mojira.dev
MCPE-122487

Killing guardians on fire/lava does not drop cooked fish

When you try to kill guardian or elder guardian with lava or fire aspect sword, it doesn't drop cooked cod/salmon. This bug is fixed in the next Java snapshot. (MC-70738)

Step to Reproduce
1. Spawn a guardian/elder guardian
2. Get a sword enchanted with fire aspect or a bucket of lava
3. Kill the guardian/elder guardian
---> ❌ It drops raw cod/salmon, instead of cooked one.

Linked issues

Comments 5

Affects 1.17.40.20

Honestly This can fixed by the code below in (just like the solution way of MCPE-122488)
{
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:fish",
"weight": 2,
"functions": [
{
"function": "looting_enchant",
"count": {
"min": 0,
"max": 1
}
},
{
"function": "furnace_smelt",
"conditions": [
{
"condition": "entity_properties",
"entity": "this",
"properties": {
"on_fire": true
}
}
]
}
]
},
Sorry for my editing too much.

lillybeacon

(Unassigned)

125704

Confirmed

Multiple

vanilla-parity

1.18.10.21 Beta, 1.18.10.20 Beta, 1.18.0.22 Beta, 1.17.30.23 Beta, 1.17.30.20 Beta, ..., 1.21.23 Hotfix, 1.21.30, 1.21.43 Hotfix, 1.21.80, 1.21.94 Hotfix

Retrieved