The loot table for guardian/elder_guardian contain a drop that throws a warning on the server when a non-smeltable fish (pufferfish/tropical_fish) is dropped while the mob is on fire.
{
"rolls": 1.0,
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:loot_table",
"functions": [
{
"function": "minecraft:furnace_smelt",
"conditions": [
{
"condition": "minecraft:entity_properties",
"predicate": {
"flags": {
"is_on_fire": true
}
},
"entity": "this"
}
]
}
],
"name": "minecraft:gameplay/fishing/fish"
}
],
"conditions": [
{
"condition": "minecraft:killed_by_player"
},
{
"condition": "minecraft:random_chance_with_looting",
"chance": 0.025,
"looting_multiplier": 0.01
}
]
}Steps to recreate:
1. Give yourself a sword with fire aspect 2 and looting 3 enchantments (increase the looting enchantment extremely high [100+] if you want to speed this up)
2. Find (or summon) a [elder_]guardian onto dry land (common in farms)
3. Kill the guardian with the sword.
4. Repeat steps 2-3 until pufferfish or tropical_fish drops while the [elder_]guardian was on fire.
5. View server log to witness the warning
Server console:
[20:59:04 INFO]: BillyGalbreath issued server command: /give @p minecraft:netherite_sword{Enchantments:[{id:fire_aspect,lvl:2},{id:looting,lvl:100}]} 1
[20:59:04 INFO]: [BillyGalbreath: Gave 1 [Netherite Sword] to BillyGalbreath]
[20:59:08 INFO]: BillyGalbreath issued server command: /summon minecraft:guardian
[20:59:08 INFO]: [BillyGalbreath: Summoned new Guardian]
[20:59:13 INFO]: BillyGalbreath issued server command: /summon minecraft:guardian
[20:59:13 INFO]: [BillyGalbreath: Summoned new Guardian]
[20:59:19 INFO]: BillyGalbreath issued server command: /summon minecraft:guardian
[20:59:19 INFO]: [BillyGalbreath: Summoned new Guardian]
[20:59:36 INFO]: BillyGalbreath issued server command: /summon minecraft:guardian
[20:59:36 INFO]: [BillyGalbreath: Summoned new Guardian]
[20:59:42 INFO]: BillyGalbreath issued server command: /summon minecraft:guardian
[20:59:42 INFO]: [BillyGalbreath: Summoned new Guardian]
[20:59:47 INFO]: BillyGalbreath issued server command: /summon minecraft:guardian
[20:59:47 INFO]: [BillyGalbreath: Summoned new Guardian]
[20:59:51 INFO]: BillyGalbreath issued server command: /summon minecraft:guardian
[20:59:51 INFO]: [BillyGalbreath: Summoned new Guardian]
[20:59:53 WARN]: Couldn't smelt 1 pufferfish because there is no smelting recipeComments 3
I am currently experiencing this bug in version 1.21.4. The described error message in the console is not only sent once, but again and again every few seconds.
This can also occur with tropical fish.