{
    "pools": [
        {
            "rolls": 1,
            "entries": [
                {
                    "type": "minecraft:item",
                    "name": "minecraft:gunpowder",
                    "functions": [
                        {
                            "function": "minecraft:set_count",
                            "count": {
                                "min": 4,
                                "max": {
                                    "min": 12,
                                    "max": 20
                                }
                            }
                        }
                    ]
                }
            ],
            "conditions": [
                {
                    "condition": "minecraft:random_chance",
                    "chance": 0.5
                }
            ]
        },
        {
            "rolls": 3,
            "entries": [
                {
                    "type": "minecraft:item",
                    "weight": 1,
                    "name": "minecraft:enchanted_golden_apple",
                    "functions": [
                        {
                            "function": "minecraft:set_count",
                            "count": {
                                "type": "minecraft:binomial",
                                "n": {
                                    "min": 1,
                                    "max": 1
                                },
                                "p": 1
                            },
                            "conditions": [
                                {
                                    "condition": "minecraft:random_chance",
                                    "chance": 0.125
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "minecraft:item",
                    "weight": 6,
                    "name": "minecraft:golden_apple",
                    "functions": [
                        {
                            "function": "minecraft:set_count",
                            "count": {
                                "type": "minecraft:binomial",
                                "n": {
                                    "min": 1,
                                    "max": 3
                                },
                                "p": 0.3
                            },
                            "conditions": [
                                {
                                    "condition": "minecraft:random_chance",
                                    "chance": 0.5
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "minecraft:item",
                    "weight": 18,
                    "name": "minecraft:iron_ingot",
                    "functions": [
                        {
                            "function": "minecraft:set_count",
                            "count": {
                                "type": "minecraft:binomial",
                                "n": {
                                    "min": 8,
                                    "max": 17
                                },
                                "p": 0.4
                            },
                            "conditions": [
                                {
                                    "condition": "minecraft:random_chance",
                                    "chance": 0.5
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "minecraft:item",
                    "weight": 12,
                    "name": "minecraft:gold_ingot",
                    "functions": [
                        {
                            "function": "minecraft:set_count",
                            "count": {
                                "type": "minecraft:binomial",
                                "n": {
                                    "min": 8,
                                    "max": 17
                                },
                                "p": 0.4
                            }
                        }
                    ],
                    "conditions": [
                        {
                            "condition": "minecraft:random_chance",
                            "chance": 0.4
                        }
                    ]
                },
                {
                    "type": "minecraft:item",
                    "weight": 11,
                    "name": "minecraft:raw_iron",
                    "functions": [
                        {
                            "function": "minecraft:set_count",
                            "count": {
                                "type": "minecraft:binomial",
                                "n": {
                                    "min": 10,
                                    "max": 24
                                },
                                "p": 0.375
                            },
                            "conditions": [
                                {
                                    "condition": "minecraft:random_chance",
                                    "chance": 0.4
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "minecraft:item",
                    "weight": 6,
                    "name": "minecraft:raw_gold",
                    "functions": [
                        {
                            "function": "minecraft:set_count",
                            "count": {
                                "type": "minecraft:binomial",
                                "n": {
                                    "min": 10,
                                    "max": 24
                                },
                                "p": 0.375
                            }
                        }
                    ],
                    "conditions": [
                        {
                            "condition": "minecraft:random_chance",
                            "chance": 0.4
                        }
                    ]
                },
                {
                    "type": "minecraft:item",
                    "weight": 25,
                    "name": "minecraft:emerald",
                    "functions": [
                        {
                            "function": "minecraft:set_count",
                            "count": {
                                "type": "minecraft:binomial",
                                "n": {
                                    "min": 5,
                                    "max": 14
                                },
                                "p": 0.6
                            }
                        }
                    ],
                    "conditions": [
                        {
                            "condition": "minecraft:random_chance",
                            "chance": 0.4
                        }
                    ]
                },
                {
                    "type": "minecraft:item",
                    "weight": 3,
                    "name": "minecraft:diamond",
                    "functions": [
                        {
                            "function": "minecraft:set_count",
                            "count": {
                                "type": "minecraft:binomial",
                                "n": {
                                    "min": 5,
                                    "max": 6
                                },
                                "p": 0.2
                            }
                        }
                    ],
                    "conditions": [
                        {
                            "condition": "minecraft:random_chance",
                            "chance": 0.4
                        }
                    ]
                },
                {
                    "type": "minecraft:item",
                    "weight": 12,
                    "name": "minecraft:wild_armor_trim_smithing_template",
                    "functions": [
                        {
                            "function": "minecraft:set_count",
                            "count": {
                                "min": 1,
                                "max": 2
                            }
                        }
                    ],
                    "conditions": [
                        {
                            "condition": "minecraft:random_chance",
                            "chance": 0.8
                        }
                    ]
                }
            ],
            "conditions": [
                {
                    "condition": "minecraft:random_chance",
                    "chance": 0.75
                }
            ]
        },
        {
            "rolls": 1,
            "entries": [
                {
                    "type": "minecraft:item",
                    "weight": 10,
                    "name": "minecraft:iron_helmet",
                    "functions": [
                        {
                            "function": "minecraft:enchant_with_levels",
                            "levels": {
                                "min": 5,
                                "max": {
                                    "min": 12,
                                    "max": 23
                                }
                            },
                            "treasure": true,
                            "conditions": [
                                {
                                    "condition": "minecraft:random_chance",
                                    "chance": 0.5
                                }
                            ]
                        },
                        {
                            "function": "minecraft:set_damage",
                            "damage": {
                                "min": 0.3,
                                "max": 0.7
                            }
                        }
                    ]
                },
                {
                    "type": "minecraft:item",
                    "weight": 10,
                    "name": "minecraft:iron_chestplate",
                    "functions": [
                        {
                            "function": "minecraft:enchant_with_levels",
                            "levels": {
                                "min": 5,
                                "max": {
                                    "min": 12,
                                    "max": 23
                                }
                            },
                            "treasure": true,
                            "conditions": [
                                {
                                    "condition": "minecraft:random_chance",
                                    "chance": 0.5
                                }
                            ]
                        },
                        {
                            "function": "minecraft:set_damage",
                            "damage": {
                                "min": 0.3,
                                "max": 0.7
                            }
                        }
                    ]
                },
                {
                    "type": "minecraft:item",
                    "weight": 10,
                    "name": "minecraft:iron_leggings",
                    "functions": [
                        {
                            "function": "minecraft:enchant_with_levels",
                            "levels": {
                                "min": 5,
                                "max": {
                                    "min": 12,
                                    "max": 23
                                }
                            },
                            "treasure": true,
                            "conditions": [
                                {
                                    "condition": "minecraft:random_chance",
                                    "chance": 0.5
                                }
                            ]
                        },
                        {
                            "function": "minecraft:set_damage",
                            "damage": {
                                "min": 0.3,
                                "max": 0.7
                            }
                        }
                    ]
                },
                {
                    "type": "minecraft:item",
                    "weight": 10,
                    "name": "minecraft:iron_boots",
                    "functions": [
                        {
                            "function": "minecraft:enchant_with_levels",
                            "levels": {
                                "min": 5,
                                "max": {
                                    "min": 12,
                                    "max": 23
                                }
                            },
                            "treasure": true,
                            "conditions": [
                                {
                                    "condition": "minecraft:random_chance",
                                    "chance": 0.5
                                }
                            ]
                        },
                        {
                            "function": "minecraft:set_damage",
                            "damage": {
                                "min": 0.3,
                                "max": 0.7
                            }
                        }
                    ]
                },
                {
                    "type": "minecraft:item",
                    "weight": 2,
                    "name": "minecraft:diamond_boots",
                    "functions": [
                        {
                            "function": "minecraft:set_damage",
                            "damage": {
                                "min": 0.5,
                                "max": 0.8
                            }
                        }
                    ]
                },
                {
                    "type": "minecraft:item",
                    "weight": 5,
                    "name": "minecraft:book",
                    "functions": [
                        {
                            "function": "minecraft:enchant_with_levels",
                            "levels": {
                                "min": 5,
                                "max": {
                                    "min": 12,
                                    "max": 23
                                }
                            },
                            "treasure": false
                        }
                    ]
                },
                {
                    "type": "minecraft:item",
                    "weight": 2,
                    "name": "minecraft:book",
                    "functions": [
                        {
                            "function": "minecraft:enchant_with_levels",
                            "levels": {
                                "min": 10,
                                "max": {
                                    "min": 15,
                                    "max": 26
                                }
                            },
                            "treasure": true
                        }
                    ]
                }
            ],
            "conditions": [
                {
                    "condition": "minecraft:random_chance",
                    "chance": 0.5
                }
            ]
        },
        {
            "rolls": 1,
            "entries": [
                {
                    "type": "minecraft:item",
                    "weight": 10,
                    "name": "minecraft:iron_pickaxe",
                    "functions": [
                        {
                            "function": "minecraft:enchant_with_levels",
                            "levels": {
                                "min": 5,
                                "max": {
                                    "min": 12,
                                    "max": 23
                                }
                            },
                            "treasure": true,
                            "conditions": [
                                {
                                    "condition": "minecraft:random_chance",
                                    "chance": 0.5
                                }
                            ]
                        },
                        {
                            "function": "minecraft:set_damage",
                            "damage": {
                                "min": 0.3,
                                "max": 0.7
                            }
                        }
                    ]
                },
                {
                    "type": "minecraft:item",
                    "weight": 8,
                    "name": "minecraft:iron_shovel",
                    "functions": [
                        {
                            "function": "minecraft:enchant_with_levels",
                            "levels": {
                                "min": 5,
                                "max": {
                                    "min": 12,
                                    "max": 23
                                }
                            },
                            "treasure": true,
                            "conditions": [
                                {
                                    "condition": "minecraft:random_chance",
                                    "chance": 0.5
                                }
                            ]
                        },
                        {
                            "function": "minecraft:set_damage",
                            "damage": {
                                "min": 0.3,
                                "max": 0.7
                            }
                        }
                    ]
                },
                {
                    "type": "minecraft:item",
                    "weight": 6,
                    "name": "minecraft:iron_axe",
                    "functions": [
                        {
                            "function": "minecraft:enchant_with_levels",
                            "levels": {
                                "min": 5,
                                "max": {
                                    "min": 12,
                                    "max": 23
                                }
                            },
                            "treasure": true,
                            "conditions": [
                                {
                                    "condition": "minecraft:random_chance",
                                    "chance": 0.5
                                }
                            ]
                        },
                        {
                            "function": "minecraft:set_damage",
                            "damage": {
                                "min": 0.3,
                                "max": 0.7
                            }
                        }
                    ]
                },
                {
                    "type": "minecraft:item",
                    "weight": 3,
                    "name": "minecraft:iron_sword",
                    "functions": [
                        {
                            "function": "minecraft:enchant_with_levels",
                            "levels": {
                                "min": 5,
                                "max": {
                                    "min": 12,
                                    "max": 23
                                }
                            },
                            "treasure": true,
                            "conditions": [
                                {
                                    "condition": "minecraft:random_chance",
                                    "chance": 0.5
                                }
                            ]
                        },
                        {
                            "function": "minecraft:set_damage",
                            "damage": {
                                "min": 0.3,
                                "max": 0.7
                            }
                        }
                    ]
                },
                {
                    "type": "minecraft:item",
                    "weight": 5,
                    "name": "minecraft:book",
                    "functions": [
                        {
                            "function": "minecraft:enchant_with_levels",
                            "levels": {
                                "min": 5,
                                "max": {
                                    "min": 12,
                                    "max": 23
                                }
                            },
                            "treasure": false
                        }
                    ]
                },
                {
                    "type": "minecraft:item",
                    "weight": 2,
                    "name": "minecraft:book",
                    "functions": [
                        {
                            "function": "minecraft:enchant_with_levels",
                            "levels": {
                                "min": 10,
                                "max": {
                                    "min": 15,
                                    "max": 26
                                }
                            },
                            "treasure": true
                        }
                    ]
                }
            ],
            "conditions": [
                {
                    "condition": "minecraft:random_chance",
                    "chance": 0.7
                }
            ]
        },
        {
            "rolls": 1,
            "entries": [
                {
                    "type": "minecraft:loot_table",
                    "value": "structory:mood/mangrove"
                }
            ]
        },
        {
            "rolls": 1,
            "entries": [
                {
                    "type": "minecraft:item",
                    "weight": 7,
                    "name": "minecraft:ochre_froglight",
                    "functions": [
                        {
                            "function": "minecraft:set_count",
                            "count": {
                                "min": 1,
                                "max": {
                                    "min": 8,
                                    "max": 11
                                }
                            }
                        }
                    ]
                },
                {
                    "type": "minecraft:item",
                    "weight": 7,
                    "name": "minecraft:pearlescent_froglight",
                    "functions": [
                        {
                            "function": "minecraft:set_count",
                            "count": {
                                "min": 1,
                                "max": {
                                    "min": 8,
                                    "max": 11
                                }
                            }
                        }
                    ]
                },
                {
                    "type": "minecraft:item",
                    "weight": 1,
                    "name": "minecraft:verdant_froglight",
                    "functions": [
                        {
                            "function": "minecraft:set_count",
                            "count": {
                                "min": 12,
                                "max": {
                                    "min": 16,
                                    "max": 24
                                }
                            }
                        }
                    ]
                },
                {
                    "type": "minecraft:item",
                    "weight": 1,
                    "name": "minecraft:ochre_froglight",
                    "functions": [
                        {
                            "function": "minecraft:set_count",
                            "count": {
                                "min": 12,
                                "max": {
                                    "min": 16,
                                    "max": 24
                                }
                            }
                        }
                    ]
                },
                {
                    "type": "minecraft:item",
                    "weight": 1,
                    "name": "minecraft:pearlescent_froglight",
                    "functions": [
                        {
                            "function": "minecraft:set_count",
                            "count": {
                                "min": 12,
                                "max": {
                                    "min": 16,
                                    "max": 24
                                }
                            }
                        }
                    ]
                },
                {
                    "type": "minecraft:item",
                    "weight": 7,
                    "name": "minecraft:verdant_froglight",
                    "functions": [
                        {
                            "function": "minecraft:set_count",
                            "count": {
                                "min": 1,
                                "max": {
                                    "min": 8,
                                    "max": 11
                                }
                            }
                        }
                    ]
                },
                {
                    "type": "minecraft:item",
                    "weight": 10,
                    "name": "minecraft:frogspawn",
                    "functions": [
                        {
                            "function": "minecraft:set_count",
                            "count": {
                                "min": 1,
                                "max": 5
                            }
                        }
                    ]
                }
            ],
            "conditions": [
                {
                    "condition": "minecraft:random_chance",
                    "chance": 0.5
                }
            ]
        },
        {
            "rolls": 1,
            "entries": [
                {
                    "type": "minecraft:item",
                    "weight": 7,
                    "name": "minecraft:soul_torch",
                    "functions": [
                        {
                            "function": "minecraft:set_count",
                            "count": {
                                "min": 1,
                                "max": {
                                    "min": 4,
                                    "max": 6
                                }
                            }
                        }
                    ]
                },
                {
                    "type": "minecraft:item",
                    "weight": 7,
                    "name": "minecraft:soul_lantern",
                    "functions": [
                        {
                            "function": "minecraft:set_count",
                            "count": {
                                "min": 1,
                                "max": {
                                    "min": 4,
                                    "max": 6
                                }
                            }
                        }
                    ]
                },
                {
                    "type": "minecraft:item",
                    "weight": 7,
                    "name": "minecraft:soul_campfire",
                    "functions": [
                        {
                            "function": "minecraft:set_count",
                            "count": {
                                "min": 1,
                                "max": {
                                    "min": 2,
                                    "max": 3
                                }
                            }
                        }
                    ]
                }
            ],
            "conditions": [
                {
                    "condition": "minecraft:random_chance",
                    "chance": 0.4
                }
            ]
        }
    ]
}