{
    "type": "minecraft:chest",
    "pools": [
        {
            "rolls": 1,
            "entries": [
                {
                    "type": "minecraft:loot_table",
                    "value": "terralith:village/treasure/golem",
                    "weight": 1
                },
                {
                    "type": "minecraft:loot_table",
                    "value": "terralith:village/treasure/emerald",
                    "weight": 3
                },
                {
                    "type": "minecraft:loot_table",
                    "value": "terralith:village/treasure/diamond",
                    "weight": 3
                }
            ]
        },
        {
            "rolls": 1,
            "entries": [
                {
                    "type": "minecraft:item",
                    "name": "minecraft:dune_armor_trim_smithing_template",
                    "weight": 1,
                    "functions": [
                        {
                            "function": "minecraft:set_count",
                            "count": {
                                "min": 1,
                                "max": 2
                            }
                        }
                    ]
                }
            ],
            "conditions": [
                {
                    "condition": "minecraft:random_chance",
                    "chance": 0.15
                }
            ]
        },
        {
            "rolls": {
                "type": "minecraft:uniform",
                "min": 2,
                "max": 5
            },
            "entries": [
                {
                    "type": "minecraft:item",
                    "name": "minecraft:lantern",
                    "functions": [
                        {
                            "function": "minecraft:set_count",
                            "count": {
                                "type": "minecraft:uniform",
                                "min": 1,
                                "max": 2
                            }
                        }
                    ]
                },
                {
                    "type": "minecraft:item",
                    "name": "minecraft:azalea_leaves",
                    "functions": [
                        {
                            "function": "minecraft:set_count",
                            "count": {
                                "type": "minecraft:uniform",
                                "min": 1,
                                "max": 3
                            }
                        }
                    ]
                },
                {
                    "type": "minecraft:item",
                    "name": "minecraft:chain",
                    "functions": [
                        {
                            "function": "minecraft:set_count",
                            "count": {
                                "type": "minecraft:uniform",
                                "min": 1,
                                "max": 3
                            }
                        }
                    ]
                },
                {
                    "type": "minecraft:item",
                    "name": "minecraft:iron_nugget",
                    "functions": [
                        {
                            "function": "minecraft:set_count",
                            "count": {
                                "type": "minecraft:uniform",
                                "min": 3,
                                "max": 6
                            }
                        }
                    ]
                }
            ]
        }
    ]
}