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
relates to 2
Comments 5
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.
Affects 1.17.40.20