{ "type": "minecraft:entity", "pools": [ { "bonus_rolls": 0.0, "entries": [ { "type": "minecraft:item", "functions": [ { "conditions": [ { "condition": "minecraft:any_of", "terms": [ { "condition": "minecraft:entity_properties", "entity": "this", "predicate": { "flags": { "is_on_fire": true } } }, { "condition": "minecraft:entity_properties", "entity": "direct_attacker", "predicate": { "equipment": { "mainhand": { "predicates": { "minecraft:enchantments": [ { "enchantments": "#minecraft:smelts_loot" } ] } } } } } ] } ], "function": "minecraft:furnace_smelt" }, { "add": false, "count": { "type": "minecraft:uniform", "max": 2.0, "min": 0.0 }, "function": "minecraft:set_count" }, { "count": { "type": "minecraft:uniform", "max": 1.0, "min": 0.0 }, "enchantment": "minecraft:looting", "function": "minecraft:enchanted_count_increase" } ], "name": "minecraft:cod", "weight": 3 }, { "type": "minecraft:item", "functions": [ { "conditions": [ { "condition": "minecraft:any_of", "terms": [ { "condition": "minecraft:entity_properties", "entity": "this", "predicate": { "flags": { "is_on_fire": true } } }, { "condition": "minecraft:entity_properties", "entity": "direct_attacker", "predicate": { "equipment": { "mainhand": { "predicates": { "minecraft:enchantments": [ { "enchantments": "#minecraft:smelts_loot" } ] } } } } } ] } ], "function": "minecraft:furnace_smelt" }, { "add": false, "count": { "type": "minecraft:uniform", "max": 2.0, "min": 0.0 }, "function": "minecraft:set_count" }, { "count": { "type": "minecraft:uniform", "max": 1.0, "min": 0.0 }, "enchantment": "minecraft:looting", "function": "minecraft:enchanted_count_increase" } ], "name": "minecraft:salmon" } ], "rolls": 1.0 } ], "random_sequence": "minecraft:entities/polar_bear" }