{
    "type": "minecraft:chest",
    "pools": [
        {
            "entries": [
                {
                    "type": "minecraft:item",
                    "functions": [
                        {
                            "count": {
                                "max": 7,
                                "min": 1
                            },
                            "function": "minecraft:set_count"
                        }
                    ],
                    "name": "minecraft:snow_block",
                    "weight": 5
                },
                {
                    "type": "minecraft:item",
                    "functions": [
                        {
                            "count": {
                                "max": 2,
                                "min": 1
                            },
                            "function": "minecraft:set_count"
                        }
                    ],
                    "name": "minecraft:powder_snow_bucket",
                    "weight": 3
                },
                {
                    "type": "minecraft:item",
                    "functions": [
                        {
                            "count": {
                                "max": 12,
                                "min": 3
                            },
                            "function": "minecraft:set_count"
                        }
                    ],
                    "name": "minecraft:packed_ice",
                    "weight": 3
                },
                {
                    "type": "minecraft:item",
                    "functions": [
                        {
                            "count": {
                                "max": 7,
                                "min": 3
                            },
                            "function": "minecraft:set_count"
                        }
                    ],
                    "name": "minecraft:blue_ice",
                    "weight": 4
                },
                {
                    "type": "minecraft:item",
                    "functions": [
                        {
                            "count": {
                                "max": 6,
                                "min": 2
                            },
                            "function": "minecraft:set_count"
                        }
                    ],
                    "name": "minecraft:snowball",
                    "weight": 5
                }
            ],
            "rolls": 3
        },
        {
            "conditions": [
                {
                    "chance": 0.5,
                    "condition": "minecraft:random_chance"
                }
            ],
            "entries": [
                {
                    "type": "minecraft:item",
                    "functions": [
                        {
                            "damage": {
                                "max": 1,
                                "min": 0.7
                            },
                            "function": "minecraft:set_damage"
                        }
                    ],
                    "name": "minecraft:trident",
                    "weight": 1
                },
                {
                    "type": "minecraft:item",
                    "functions": [
                        {
                            "conditions": [
                                {
                                    "chance": 1,
                                    "condition": "minecraft:random_chance"
                                }
                            ],
                            "function": "minecraft:enchant_with_levels",
                            "levels": {
                                "max": 27,
                                "min": 10
                            },
                            "options": "#minecraft:on_random_loot"
                        },
                        {
                            "damage": {
                                "max": 1,
                                "min": 0.5
                            },
                            "function": "minecraft:set_damage"
                        }
                    ],
                    "name": "minecraft:diamond_pickaxe",
                    "weight": 1
                },
                {
                    "type": "minecraft:item",
                    "functions": [
                        {
                            "conditions": [
                                {
                                    "chance": 1,
                                    "condition": "minecraft:random_chance"
                                }
                            ],
                            "function": "minecraft:enchant_with_levels",
                            "levels": {
                                "max": 27,
                                "min": 10
                            },
                            "options": "#minecraft:on_random_loot"
                        },
                        {
                            "damage": {
                                "max": 1,
                                "min": 0.5
                            },
                            "function": "minecraft:set_damage"
                        }
                    ],
                    "name": "minecraft:diamond_shovel",
                    "weight": 1
                },
                {
                    "type": "minecraft:item",
                    "functions": [
                        {
                            "conditions": [
                                {
                                    "chance": 1,
                                    "condition": "minecraft:random_chance"
                                }
                            ],
                            "function": "minecraft:enchant_with_levels",
                            "levels": {
                                "max": 27,
                                "min": 10
                            },
                            "options": "#minecraft:on_random_loot"
                        },
                        {
                            "damage": {
                                "max": 1,
                                "min": 0.5
                            },
                            "function": "minecraft:set_damage"
                        }
                    ],
                    "name": "minecraft:diamond_axe",
                    "weight": 1
                },
                {
                    "type": "minecraft:item",
                    "functions": [
                        {
                            "conditions": [
                                {
                                    "chance": 1,
                                    "condition": "minecraft:random_chance"
                                }
                            ],
                            "function": "minecraft:enchant_with_levels",
                            "levels": {
                                "max": 27,
                                "min": 10
                            },
                            "options": "#minecraft:on_random_loot"
                        },
                        {
                            "damage": {
                                "max": 1,
                                "min": 0.5
                            },
                            "function": "minecraft:set_damage"
                        }
                    ],
                    "name": "minecraft:diamond_sword",
                    "weight": 1
                },
                {
                    "type": "minecraft:item",
                    "functions": [
                        {
                            "conditions": [
                                {
                                    "chance": 1,
                                    "condition": "minecraft:random_chance"
                                }
                            ],
                            "function": "minecraft:enchant_with_levels",
                            "levels": {
                                "max": 27,
                                "min": 10
                            },
                            "options": "#minecraft:on_random_loot"
                        },
                        {
                            "damage": {
                                "max": 1,
                                "min": 0.5
                            },
                            "function": "minecraft:set_damage"
                        }
                    ],
                    "name": "minecraft:diamond_chestplate",
                    "weight": 1
                },
                {
                    "type": "minecraft:item",
                    "functions": [
                        {
                            "conditions": [
                                {
                                    "chance": 1,
                                    "condition": "minecraft:random_chance"
                                }
                            ],
                            "function": "minecraft:enchant_with_levels",
                            "levels": {
                                "max": 27,
                                "min": 10
                            },
                            "options": "#minecraft:on_random_loot"
                        },
                        {
                            "damage": {
                                "max": 1,
                                "min": 0.5
                            },
                            "function": "minecraft:set_damage"
                        }
                    ],
                    "name": "minecraft:diamond_leggings",
                    "weight": 1
                },
                {
                    "type": "minecraft:item",
                    "functions": [
                        {
                            "conditions": [
                                {
                                    "chance": 1,
                                    "condition": "minecraft:random_chance"
                                }
                            ],
                            "function": "minecraft:enchant_with_levels",
                            "levels": {
                                "max": 27,
                                "min": 10
                            },
                            "options": "#minecraft:on_random_loot"
                        },
                        {
                            "damage": {
                                "max": 1,
                                "min": 0.5
                            },
                            "function": "minecraft:set_damage"
                        }
                    ],
                    "name": "minecraft:diamond_boots",
                    "weight": 1
                }
            ],
            "rolls": 1
        },
        {
            "entries": [
                {
                    "type": "minecraft:item",
                    "functions": [
                        {
                            "function": "minecraft:enchant_randomly",
                            "options": "#minecraft:on_random_loot"
                        }
                    ],
                    "name": "minecraft:book"
                },
                {
                    "type": "minecraft:item",
                    "functions": [
                        {
                            "function": "minecraft:enchant_with_levels",
                            "levels": {
                                "max": 39,
                                "min": 1
                            },
                            "options": "#minecraft:on_random_loot"
                        }
                    ],
                    "name": "minecraft:book"
                }
            ],
            "rolls": 2
        },
        {
            "entries": [
                {
                    "type": "minecraft:tag",
                    "expand": true,
                    "functions": [
                        {
                            "count": {
                                "max": 4,
                                "min": 2
                            },
                            "function": "minecraft:set_count"
                        }
                    ],
                    "name": "terralith:spire/diamond"
                }
            ],
            "rolls": 2
        },
        {
            "entries": [
                {
                    "type": "minecraft:item",
                    "name": "minecraft:tnt"
                },
                {
                    "type": "minecraft:item",
                    "name": "minecraft:ender_pearl"
                }
            ],
            "functions": [
                {
                    "count": {
                        "max": 6,
                        "min": 3
                    },
                    "function": "minecraft:set_count"
                }
            ],
            "rolls": 1
        },
        {
            "entries": [
                {
                    "type": "minecraft:item",
                    "functions": [
                        {
                            "options": [
                                "minecraft:mending",
                                "minecraft:silk_touch",
                                "minecraft:fortune",
                                "minecraft:looting"
                            ],
                            "function": "minecraft:enchant_randomly"
                        }
                    ],
                    "name": "minecraft:book"
                }
            ],
            "rolls": 1
        }
    ]
}