{
  "type": "minecraft:chest",
  "pools": [
    {
      "rolls": {
        "min": 1,
        "max": 2
      },
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:cobblestone",
          "weight": 5,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 16
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:cobbled_deepslate",
          "weight": 5,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 16
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "tuff",
          "weight": 3,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 8
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:granite",
          "weight": 3,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 8
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:andesite",
          "weight": 3,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 8
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:diorite",
          "weight": 3,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 8
              }
            }
          ]
        }
      ]
    },
    {
      "rolls": {
        "min": 0,
        "max": 1
      },
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:torch",
          "weight": 3,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 4,
                "max": 16
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:coal",
          "weight": 5,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 4
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:stick",
          "weight": 5,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 4
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "candle",
          "weight": 3,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 5
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:redstone_torch",
          "weight": 1,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 4,
                "max": 8
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:redstone",
          "weight": 2,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 9
              }
            }
          ]
        }
      ]
    },
    {
      "rolls": {
        "min": 0,
        "max": 2
      },
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:raw_copper",
          "weight": 7,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 14
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:raw_iron",
          "weight": 6,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 9
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:raw_gold",
          "weight": 5,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 5
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:gunpowder",
          "weight": 4,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 5
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:bundle",
          "weight": 3
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:name_tag",
          "weight": 2,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:writable_book",
          "weight": 2
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:saddle",
          "weight": 1
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_horse_armor",
          "weight": 1
        },
		{
          "type": "minecraft:item",
          "name": "minecraft:copper_horse_armor",
          "weight": 1
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:emerald",
          "weight": 4,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 5
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:copper_ingot",
          "weight": 4,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 16
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "iron_ingot",
          "weight": 4,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 5
              }
            }
          ],
          "conditions": []
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:gold_ingot",
          "weight": 3,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:lapis_lazuli",
          "weight": 3,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 7
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond",
          "weight": 1,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ],
          "conditions": []
        }
      ]
    },
    {
      "rolls": {
        "min": 0,
        "max": 2
      },
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:flint_and_steel",
          "weight": 5,
          "functions": [
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.1,
                "max": 0.7
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:stone_sword",
          "weight": 5,
          "functions": [
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.1,
                "max": 0.7
              }
            },
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 5,
                "max": 20
              },
              "options": "#minecraft:on_random_loot"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:stone_pickaxe",
          "weight": 5,
          "functions": [
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.1,
                "max": 0.7
              }
            },
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 5,
                "max": 20
              },
              "options": "#minecraft:on_random_loot"
            }
          ]
        },
		{
          "type": "minecraft:item",
          "name": "minecraft:copper_sword",
          "weight": 5,
          "functions": [
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.1,
                "max": 0.7
              }
            },
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 5,
                "max": 20
              },
              "options": "#minecraft:on_random_loot"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:copper_pickaxe",
          "weight": 5,
          "functions": [
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.1,
                "max": 0.7
              }
            },
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 5,
                "max": 20
              },
              "options": "#minecraft:on_random_loot"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "bow",
          "weight": 4,
          "functions": [
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.1,
                "max": 0.7
              }
            },
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 5,
                "max": 20
              },
              "options": "#minecraft:on_random_loot"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_sword",
          "weight": 3,
          "functions": [
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.1,
                "max": 0.7
              }
            },
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 5,
                "max": 20
              },
              "options": "#minecraft:on_random_loot"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_pickaxe",
          "weight": 3,
          "functions": [
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.1,
                "max": 0.7
              }
            },
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 5,
                "max": 20
              },
              "options": "#minecraft:on_random_loot"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_helmet",
          "weight": 2,
          "functions": [
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.1,
                "max": 0.7
              }
            },
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 5,
                "max": 20
              },
              "options": "#minecraft:on_random_loot"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_chestplate",
          "weight": 2,
          "functions": [
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.1,
                "max": 0.7
              }
            },
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 5,
                "max": 20
              },
              "options": "#minecraft:on_random_loot"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_leggings",
          "weight": 2,
          "functions": [
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.1,
                "max": 0.7
              }
            },
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 5,
                "max": 20
              },
              "options": "#minecraft:on_random_loot"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_boots",
          "weight": 2,
          "functions": [
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.1,
                "max": 0.7
              }
            },
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 5,
                "max": 20
              },
              "options": "#minecraft:on_random_loot"
            }
          ]
        },
		{
          "type": "minecraft:item",
          "name": "minecraft:copper_helmet",
          "weight": 3,
          "functions": [
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.1,
                "max": 0.7
              }
            },
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 5,
                "max": 20
              },
              "options": "#minecraft:on_random_loot"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:copper_chestplate",
          "weight": 3,
          "functions": [
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.1,
                "max": 0.7
              }
            },
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 5,
                "max": 20
              },
              "options": "#minecraft:on_random_loot"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:copper_leggings",
          "weight": 3,
          "functions": [
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.1,
                "max": 0.7
              }
            },
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 5,
                "max": 20
              },
              "options": "#minecraft:on_random_loot"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:copper_boots",
          "weight": 3,
          "functions": [
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.1,
                "max": 0.7
              }
            },
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 5,
                "max": 20
              },
              "options": "#minecraft:on_random_loot"
            }
          ]
        }
      ]
    },
    {
      "rolls": {
        "min": 1,
        "max": 3
      },
      "bonus_rolls": {
        "min": 1,
        "max": 2
      },
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:mushroom_stew",
          "weight": 5,
          "functions": []
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:baked_potato",
          "weight": 4,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 6
              }
            }
          ],
          "conditions": []
        },
        {
          "type": "minecraft:item",
          "name": "bread",
          "weight": 4,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 5
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "cookie",
          "weight": 2,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 5,
                "max": 8
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:carrot",
          "weight": 4,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 5
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:cooked_porkchop",
          "weight": 1,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:cooked_chicken",
          "weight": 2,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 5
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:beetroot_soup",
          "weight": 3
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:suspicious_stew",
          "weight": 3,
          "functions": [
            {
              "function": "minecraft:set_stew_effect",
              "effects": [
                {
                  "type": "minecraft:night_vision",
                  "duration": 30
                }
              ]
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:suspicious_stew",
          "weight": 3,
          "functions": [
            {
              "function": "minecraft:set_stew_effect",
              "effects": [
                {
                  "type": "minecraft:blindness",
                  "duration": 30
                }
              ]
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:suspicious_stew",
          "weight": 3,
          "functions": [
            {
              "function": "minecraft:set_stew_effect",
              "effects": [
                {
                  "type": "minecraft:poison",
                  "duration": 30
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:empty",
          "weight": 20
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:music_disc_otherside",
          "weight": 1
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:music_disc_13",
          "weight": 5
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:music_disc_11",
          "weight": 5
        }
      ]
    }
  ],
  "functions": [
    {
      "function": "minecraft:reference",
      "name": "nova_structures:loot_modifier"
    }
  ]
}