{
  "type": "minecraft:chest",
  "pools": [
    {
      "rolls": {
        "min": 2,
        "max": 5
      },
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 3,
          "name": "minecraft:oak_planks",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 4,
          "name": "minecraft:cobweb",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2,
                "max": 5
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "minecraft:poisonous_potato"
        },
        {
          "type": "minecraft:item",
          "weight": 2,
          "name": "minecraft:rotten_flesh",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 4,
                "max": 6
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 5,
          "name": "minecraft:painting"
        }
      ]
    },
    {
      "rolls": {
        "min": 1,
        "max": 2
      },
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "minecraft:diamond"
        },
        {
          "type": "minecraft:item",
          "weight": 8,
          "name": "minecraft:gold_ingot",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 8,
          "name": "minecraft:iron_ingot",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2,
                "max": 4
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 8,
          "name": "minecraft:emerald",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 6
              }
            }
          ]
        },
        {
          "type": "minecraft:loot_table",
          "weight": 3,
          "name": "sanguine:items/binding_veins",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_sword"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_pickaxe"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_axe"
        }
      ],
      "functions": [
        {
          "function": "minecraft:enchant_with_levels",
          "levels": {
            "min": 1,
            "max": 10
          }
        },
        {
          "function": "minecraft:set_damage",
          "damage": {
            "min": 0.4,
            "max": 0.8
          }
        }
      ],
      "conditions": [
        {
          "condition": "minecraft:random_chance",
          "chance": 0.18
        }
      ]
    }
  ],
  "random_sequence": "sanguine:chests/deserted_city/attic"
}
