{
  "type": "minecraft:chest",
  "pools": [
    {
      "rolls": 1,
      "bonus_rolls": 0,
      "conditions": [
        {
          "condition": "minecraft:random_chance",
          "chance": 0.25
        }
      ],
      "entries": [
        {
          "type": "minecraft:item",
          "functions": [
            {
              "function": "tconstruct:add_tool_data",
              "materials": [
                {
                  "type": "tconstruct:random"
                },
                {
                  "type": "tconstruct:random"
                },
                {
                  "type": "tconstruct:random"
                }
              ]
            }
          ],
          "name": "tconstruct:war_pick"
        }
      ]
    },
    {
      "rolls": 3,
      "bonus_rolls": 0,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:rotten_flesh",
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "min": 2,
                "max": 4
              },
              "function": "minecraft:set_count"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:bone",
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "min": 2,
                "max": 4
              },
              "function": "minecraft:set_count"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:gunpowder",
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "min": 2,
                "max": 4
              },
              "function": "minecraft:set_count"
            }
          ]
        }
      ]
    },
    {
      "rolls": {
        "type": "minecraft:uniform",
        "min": 0,
        "max": 1
      },
      "bonus_rolls": 0,
      "entries": [
        {
          "type": "minecraft:loot_table",
          "name": "cabin:chests/reliquary_overworld_drop",
          "weight": 20,
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "min": 1,
                "max": 2
              },
              "function": "minecraft:set_count"
            }
          ]
        }
      ]
    },
    {
      "rolls": {
        "type": "minecraft:uniform",
        "min": 0,
        "max": 2
      },
      "bonus_rolls": 0,
      "entries": [
        {
          "type": "minecraft:loot_table",
          "name": "cabin:chests/railshaft/potion"
        }
      ]
    },
    {
      "rolls": 1,
      "bonus_rolls": 0,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:emerald",
          "weight": 5,
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "min": 4,
                "max": 8
              },
              "function": "minecraft:set_count"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "thermal:silver_coin",
          "weight": 5,
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "min": 8,
                "max": 24
              },
              "function": "minecraft:set_count"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond",
          "weight": 5,
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "min": 1,
                "max": 2
              },
              "function": "minecraft:set_count"
            }
          ]
        }
      ]
    },
    {
      "rolls": {
        "type": "minecraft:uniform",
        "min": 1,
        "max": 4
      },
      "bonus_rolls": 0,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:copper_ingot",
          "weight": 20,
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "min": 1,
                "max": 6
              },
              "function": "minecraft:set_count"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "create:zinc_ingot",
          "weight": 20,
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "min": 1,
                "max": 6
              },
              "function": "minecraft:set_count"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_ingot",
          "weight": 20,
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "min": 1,
                "max": 6
              },
              "function": "minecraft:set_count"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:gold_ingot",
          "weight": 10,
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "min": 1,
                "max": 4
              },
              "function": "minecraft:set_count"
            }
          ]
        }
      ]
    }
  ],
  "random_sequence": "cabin:chests/railshaft/bad_end"
}