{
    "type": "minecraft:chest",
    "pools": [
        {
            "rolls": 1,
            "entries": [
                {
                    "type": "item",
                    "name": "createaddition:copper_wire",
                    "functions": [
                        {
                            "function": "minecraft:set_count",
                            "count": {
                                "min": 16,
                                "max": 64
                            }
                        }
                    ],
                    "conditions": [
                        {
                            "condition": "minecraft:random_chance",
                            "chance": 0.85
                        }
                    ]
                },
                {
                    "type": "item",
                    "name": "createaddition:electrum_wire",
                    "functions": [
                        {
                            "function": "minecraft:set_count",
                            "count": {
                                "min": 8,
                                "max": 16
                            }
                        }
                    ],
                    "conditions": [
                        {
                            "condition": "minecraft:random_chance",
                            "chance": 0.65
                        }
                    ]
                },
                {
                    "type": "item",
                    "name": "tfc:metal/rod/wrought_iron",
                    "functions": [
                        {
                            "function": "minecraft:set_count",
                            "count": {
                                "min": 4,
                                "max": 16
                            }
                        }
                    ],
                    "conditions": [
                        {
                            "condition": "minecraft:random_chance",
                            "chance": 0.50
                        }
                    ]
                },
                {
                    "type": "item",
                    "name": "tfc:metal/sheet/bronze",
                    "functions": [
                        {
                            "function": "minecraft:set_count",
                            "count": {
                                "min": 8,
                                "max": 16
                            }
                        }
                    ],
                    "conditions": [
                        {
                            "condition": "minecraft:random_chance",
                            "chance": 0.50
                        }
                    ]
                },
                {
                    "type": "minecraft:alternatives",
                    "children": [
                        {
                            "type": "item",
                            "name": "immersivegeology:slab_rusty_metal",
                            "functions": [
                                {
                                    "function": "minecraft:set_count",
                                    "count": {
                                        "min": 8,
                                        "max": 32
                                    }
                                }
                            ],
                            "conditions": [
                                {
                                    "condition": "minecraft:random_chance",
                                    "chance": 0.5
                                }
                            ]
                        },
                        {
                            "type": "item",
                            "name": "tfc:metal/sheet/wrought_iron",
                            "functions": [
                                {
                                    "function": "minecraft:set_count",
                                    "count": {
                                        "min": 2,
                                        "max": 16
                                    }
                                }
                            ],
                            "conditions": [
                                {
                                    "condition": "minecraft:random_chance",
                                    "chance": 0.3
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "minecraft:alternatives",
                    "children": [
                        {
                            "type": "item",
                            "name": "tfc:metal/sheet/black_steel",
                            "functions": [
                                {
                                    "function": "minecraft:set_count",
                                    "count": {
                                        "min": 2,
                                        "max": 16
                                    }
                                }
                            ],
                            "conditions": [
                                {
                                    "condition": "minecraft:random_chance",
                                    "chance": 0.5
                                }
                            ]
                        },
                        {
                            "type": "item",
                            "name": "tfc:metal/sheet/blue_steel",
                            "functions": [
                                {
                                    "function": "minecraft:set_count",
                                    "count": {
                                        "min": 2,
                                        "max": 8
                                    }
                                }
                            ],
                            "conditions": [
                                {
                                    "condition": "minecraft:random_chance",
                                    "chance": 0.1
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "minecraft:alternatives",
                    "children": [
                        {
                            "type": "item",
                            "name": "tfc_items:wrought_iron_gear",
                            "functions": [
                                {
                                    "function": "minecraft:set_count",
                                    "count": {
                                        "min": 2,
                                        "max": 8
                                    }
                                }
                            ],
                            "conditions": [
                                {
                                    "condition": "minecraft:random_chance",
                                    "chance": 0.5
                                }
                            ]
                        },
                        {
                            "type": "item",
                            "name": "firmalife:metal/rod/stainless_steel",
                            "functions": [
                                {
                                    "function": "minecraft:set_count",
                                    "count": {
                                        "min": 4,
                                        "max": 12
                                    }
                                }
                            ],
                            "conditions": [
                                {
                                    "condition": "minecraft:random_chance",
                                    "chance": 0.2
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    ]
}