{
  "type": "minecraft:chest",
  "pools": [
    {
      "rolls": {
        "min": 1,
        "max": 2
      },
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_nugget",
          "weight": 5,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 15
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:gold_nugget",
          "weight": 3,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 15
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "nether_wart",
          "weight": 5,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 7
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:blaze_powder",
          "weight": 5,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 7
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:gold_ingot",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 4,
                "max": 8
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_ingot",
          "weight": 14,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 7
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:blackstone",
          "weight": 5,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 5,
                "max": 20
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:netherrack",
          "weight": 5,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 7,
                "max": 30
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:glowstone",
          "weight": 5,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 5
              }
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:empty",
          "weight": 15
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:coal",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 5
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:nether_brick",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 4,
                "max": 23
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:bone",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 4
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_chain",
          "weight": 7,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 7
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:porkchop",
          "weight": 7,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:crimson_stem",
          "weight": 5,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 6
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:warped_stem",
          "weight": 4,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2,
                "max": 5
              }
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:empty",
          "weight": 15
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:stone_sword",
          "weight": 3,
          "functions": [
            {
              "function": "minecraft:set_damage",
              "count": {
                "min": 0.1,
                "max": 0.9
              },
              "damage": {
                "min": 0.1,
                "max": 0.9
              }
            },
            {
              "function": "minecraft:enchant_randomly",
              "options": "#nova_structures:wither_coated"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:experience_bottle",
          "weight": 7,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 6
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:arrow",
          "weight": 7,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 5,
                "max": 15
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:fire_charge",
          "weight": 5,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 5
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:book",
          "weight": 3,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 5
              }
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:empty",
          "weight": 25
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond",
          "weight": 5,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2,
                "max": 7
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_sword",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.3,
                "max": 0.9
              }
            },
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 5,
                "max": 20
              },
              "options": "#nova_structures:structure/sealing_halls"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:bow",
          "weight": 7,
          "functions": [
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.2,
                "max": 0.8
              }
            },
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 5,
                "max": 20
              },
              "options": "#nova_structures:structure/sealing_halls"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_chestplate",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.3,
                "max": 0.7
              }
            },
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 5,
                "max": 20
              },
              "options": "#nova_structures:structure/sealing_halls"
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:empty",
          "weight": 35
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:dried_ghast",
          "weight": 4
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:obsidian",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 4
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:crying_obsidian",
          "weight": 7,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_block",
          "weight": 5,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:empty",
          "weight": 50
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:book",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 5,
                "max": 25
              },
              "options": "#minecraft:on_random_loot"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:book",
          "weight": 5,
          "functions": [
            {
              "function": "minecraft:enchant_randomly",
              "options": "#nova_structures:structure/sealing_halls"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:rib_armor_trim_smithing_template"
        }
      ]
    }
  ],
  "functions": [
    {
      "function": "minecraft:reference",
      "name": "nova_structures:loot_modifier"
    }
  ]
}