{
  "type": "minecraft:chest",
  "pools": [
    {
      "rolls": {
        "max": 2,
        "min": 1
      },
      "entries": [
        {
          "type": "minecraft:loot_table",
          "value": {
            "type": "chest",
            "pools": [
              {
                "rolls": 1,
                "bonus_rolls": 0.0,
                "entries": [
                  {
                    "type": "loot_table",
                    "weight": 5,
                    "value": {
                      "pools": [
                        {
                          "rolls": 1,
                          "entries": [
                            {
                              "type": "item",
                              "name": "minecraft:iron_ingot",
                              "functions": [
                                {
                                  "function": "set_count",
                                  "count": {
                                    "max": 4,
                                    "min": 2
                                  }
                                }
                              ]
                            }
                          ]
                        },
                        {
                          "rolls": 1,
                          "entries": [
                            {
                              "type": "item",
                              "name": "minecraft:iron_nugget",
                              "functions": [
                                {
                                  "function": "set_count",
                                  "count": {
                                    "max": 3,
                                    "min": 2
                                  }
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  },
                  {
                    "type": "loot_table",
                    "weight": 3,
                    "value": {
                      "pools": [
                        {
                          "rolls": 1,
                          "entries": [
                            {
                              "type": "item",
                              "name": "minecraft:gold_ingot",
                              "functions": [
                                {
                                  "function": "set_count",
                                  "count": {
                                    "max": 3,
                                    "min": 1
                                  }
                                }
                              ]
                            }
                          ]
                        },
                        {
                          "rolls": 1,
                          "entries": [
                            {
                              "type": "item",
                              "name": "minecraft:gold_nugget",
                              "functions": [
                                {
                                  "function": "set_count",
                                  "count": {
                                    "max": 3,
                                    "min": 2
                                  }
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  }
                ]
              }
            ]
          },
          "weight": 4
        },
        {
          "type": "minecraft:loot_table",
          "value": {
            "type": "chest",
            "pools": [
              {
                "rolls": {
                  "max": 2,
                  "min": 1
                },
                "bonus_rolls": 0.0,
                "entries": [
                  {
                    "type": "minecraft:item",
                    "weight": 3,
                    "functions": [
                      {
                        "function": "minecraft:set_count",
                        "count": {
                          "min": 6,
                          "max": 8
                        },
                        "add": false
                      }
                    ],
                    "name": "minecraft:charcoal"
                  },
                  {
                    "type": "minecraft:item",
                    "weight": 5,
                    "functions": [
                      {
                        "function": "minecraft:set_count",
                        "count": {
                          "min": 4,
                          "max": 6
                        },
                        "add": false
                      }
                    ],
                    "name": "minecraft:cooked_rabbit"
                  },
                  {
                    "type": "minecraft:item",
                    "weight": 3,
                    "functions": [
                      {
                        "function": "minecraft:set_count",
                        "count": {
                          "min": 4,
                          "max": 5
                        },
                        "add": false
                      }
                    ],
                    "name": "minecraft:cooked_mutton"
                  },
                  {
                    "type": "minecraft:item",
                    "weight": 3,
                    "functions": [
                      {
                        "function": "minecraft:set_count",
                        "count": {
                          "min": 3,
                          "max": 8
                        },
                        "add": false
                      }
                    ],
                    "name": "minecraft:rabbit_hide"
                  },
                  {
                    "type": "minecraft:item",
                    "weight": 3,
                    "functions": [
                      {
                        "function": "minecraft:set_count",
                        "count": {
                          "min": 4,
                          "max": 5
                        },
                        "add": false
                      }
                    ],
                    "name": "minecraft:leather"
                  }
                ]
              }
            ]
          },
          "weight": 2
        },
        {
          "type": "minecraft:loot_table",
          "value": {
            "type": "chest",
            "pools": [
              {
                "rolls": {
                  "max": 2,
                  "min": 1
                },
                "bonus_rolls": 0.0,
                "entries": [
                  {
                    "type": "minecraft:item",
                    "weight": 3,
                    "functions": [
                      {
                        "function": "minecraft:set_count",
                        "count": {
                          "min": 4,
                          "max": 5
                        },
                        "add": false
                      }
                    ],
                    "name": "minecraft:pumpkin_pie"
                  },
                  {
                    "type": "minecraft:item",
                    "weight": 1,
                    "functions": [
                      {
                        "function": "minecraft:set_count",
                        "count": {
                          "min": 4,
                          "max": 5
                        },
                        "add": false
                      }
                    ],
                    "name": "minecraft:sweet_berries"
                  },
                  {
                    "type": "minecraft:item",
                    "weight": 1,
                    "functions": [
                      {
                        "function": "minecraft:set_count",
                        "count": {
                          "min": 7,
                          "max": 12
                        },
                        "add": false
                      }
                    ],
                    "name": "minecraft:wheat"
                  },
                  {
                    "type": "minecraft:item",
                    "weight": 3,
                    "functions": [
                      {
                        "function": "minecraft:set_count",
                        "count": {
                          "min": 4,
                          "max": 5
                        },
                        "add": false
                      }
                    ],
                    "name": "minecraft:bread"
                  },
                  {
                    "type": "minecraft:item",
                    "weight": 1,
                    "functions": [
                      {
                        "function": "minecraft:set_count",
                        "count": {
                          "min": 1,
                          "max": 3
                        },
                        "add": false
                      }
                    ],
                    "name": "minecraft:hay_block"
                  }
                ]
              }
            ]
          },
          "weight": 2
        }
      ]
    },
    {
      "rolls": 1,
      "bonus_rolls": 0.0,
      "entries": [
		    {
          "type": "minecraft:item",
          "weight": 3,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 10
              },
              "add": false
            }
          ],
          "name": "minecraft:snow_block"
        },
		    {
          "type": "minecraft:item",
          "weight": 3,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              },
              "add": false
            }
          ],
          "name": "minecraft:carved_pumpkin"
        },
        {
          "type": "minecraft:item",
          "weight": 3,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 4,
                "max": 5
              },
              "add": false
            }
          ],
          "name": "minecraft:bone"
        },
        {
          "type": "minecraft:item",
          "weight": 5,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 5,
                "max": 7
              },
              "add": false
            }
          ],
          "name": "minecraft:snowball"
        },
        {
          "type": "minecraft:item",
          "weight": 3,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 5,
                "max": 7
              },
              "add": false
            }
          ],
          "name": "minecraft:ice"
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 2
              },
              "add": false
            }
          ],
          "name": "minecraft:blue_ice"
        },
        {
          "type": "minecraft:item",
          "weight": 2,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 6
              },
              "add": false
            }
          ],
          "name": "minecraft:packed_ice"
        }
      ]
    },
    {
      "rolls": {
        "max": 1,
        "min": 0
      },
      "bonus_rolls": 0.0,
      "entries": [
		    {
          "type": "minecraft:item",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 5
              },
              "add": false
            }
          ],
          "name": "minecraft:emerald"
        },
        {
          "type": "minecraft:item",
          "weight": 3,
          "functions": [
            {
              "function": "set_damage",
              "damage": {
                "min": 0,
                "max": 1
              }
            }
          ],
          "name": "minecraft:stone_axe"
        },
        {
          "type": "empty",
          "weight": 2
        }
      ]
    }
  ],
  "functions": [
    {
      "function": "minecraft:reference",
      "name": "nova_structures:loot_modifier"
    }
  ]
}