{ "type": "minecraft:entity", "pools": [ { "entries": [ { "type": "minecraft:item", "modifier": [ { "type": "minecraft:set_count", "count": { "type": "minecraft:uniform", "max": 2, "min": 0 } }, { "type": "minecraft:enchanted_count_increase", "count": { "type": "minecraft:uniform", "max": 1.0, "min": 0.0 }, "enchantment": "minecraft:looting" } ], "name": "minecraft:prismarine_shard" } ], "rolls": 1 }, { "entries": [ { "type": "minecraft:item", "modifier": [ { "type": "minecraft:enchanted_count_increase", "count": { "type": "minecraft:uniform", "max": 1.0, "min": 0.0 }, "enchantment": "minecraft:looting" }, { "type": "minecraft:furnace_smelt", "condition": { "type": "minecraft:any_of", "terms": [ { "type": "minecraft:entity_properties", "entity": "this", "predicate": { "minecraft:flags": { "is_on_fire": true } } }, { "type": "minecraft:entity_properties", "entity": "direct_attacker", "predicate": { "minecraft:equipment": { "mainhand": { "predicates": { "minecraft:enchantments": [ { "enchantments": "#minecraft:smelts_loot" } ] } } } } } ] } } ], "name": "minecraft:cod", "weight": 2 }, { "type": "minecraft:item", "modifier": { "type": "minecraft:enchanted_count_increase", "count": { "type": "minecraft:uniform", "max": 1.0, "min": 0.0 }, "enchantment": "minecraft:looting" }, "name": "minecraft:prismarine_crystals", "weight": 2 }, { "type": "minecraft:empty" } ], "rolls": 1 }, { "condition": { "type": "minecraft:all_of", "terms": [ { "type": "minecraft:killed_by_player" }, { "type": "minecraft:random_chance_with_enchanted_bonus", "enchanted_chance": { "type": "minecraft:linear", "base": 0.035, "per_level_above_first": 0.01 }, "enchantment": "minecraft:looting", "unenchanted_chance": 0.025 } ] }, "entries": [ { "type": "minecraft:loot_table", "modifier": { "type": "minecraft:furnace_smelt", "condition": { "type": "minecraft:any_of", "terms": [ { "type": "minecraft:entity_properties", "entity": "this", "predicate": { "minecraft:flags": { "is_on_fire": true } } }, { "type": "minecraft:entity_properties", "entity": "direct_attacker", "predicate": { "minecraft:equipment": { "mainhand": { "predicates": { "minecraft:enchantments": [ { "enchantments": "#minecraft:smelts_loot" } ] } } } } } ] } }, "value": "minecraft:gameplay/fishing/fish" } ], "rolls": 1 } ], "random_sequence": "minecraft:entities/guardian" }