{
  "type": "minecraft:chest",
  "pools": [
    {
      "rolls": 1,
      "conditions": [
        {
          "condition": "minecraft:random_chance",
          "chance": 0.25
        }
      ],
      "entries": [
        {
          "type": "minecraft:item",
          "name": "quark:ancient_tome",
          "functions": [
            {
              "function": "quark:tome_enchant",
              "levels": 10
            }
          ]
        }
      ]
    },
    {
      "rolls": {
        "type": "minecraft:uniform",
        "min": 0,
        "max": 2
      },
      "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": 3
              },
              "function": "minecraft:set_count"
            }
          ]
        }
      ]
    },
    {
      "rolls": {
        "type": "minecraft:uniform",
        "min": 1,
        "max": 3
      },
      "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": 3,
        "max": 6
      },
      "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/good_end"
}