{
  "type": "minecraft:chest",
  "pools": [
    {
      "rolls": {
        "min": 2,
        "max": 3
      },
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 15,
          "name": "mysticalagriculture:nature_essence",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2,
                "max": 4
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 15,
          "name": "mysticalagriculture:nature_essence",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2,
                "max": 5
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 15,
          "name": "mysticalagriculture:nature_essence",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2,
                "max": 5
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 12,
          "name": "minecraft:bread",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 10,
          "name": "minecraft:cooked_chicken",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 8,
          "name": "minecraft:cooked_porkchop",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2,
                "max": 3
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 8,
          "name": "minecraft:cooked_beef",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2,
                "max": 3
              }
            }
          ]
        }
      ]
    },
    {
      "rolls": {
        "min": 1,
        "max": 2
      },
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 15,
          "name": "minecraft:saddle"
        },
        {
          "type": "minecraft:item",
          "weight": 15,
          "name": "minecraft:leather_horse_armor"
        },
        {
          "type": "minecraft:item",
          "weight": 13,
          "name": "minecraft:smithing_table"
        },
        {
          "type": "minecraft:item",
          "weight": 13,
          "name": "minecraft:golden_apple"
        },
        {
          "type": "minecraft:item",
          "weight": 13,
          "name": "minecraft:lava_bucket"
        },
        {
          "type": "minecraft:item",
          "weight": 12,
          "name": "minecraft:golden_horse_armor"
        },
        {
          "type": "minecraft:item",
          "weight": 10,
          "name": "minecraft:iron_horse_armor"
        },
        {
          "type": "minecraft:item",
          "weight": 8,
          "name": "minecraft:book",
          "functions": [
            {
              "function": "minecraft:enchant_randomly"
            }
          ]
        }
      ]
    },
    {
      "rolls": {
        "min": 1,
        "max": 3
      },
      "bonus_rolls": {
        "min": 0,
        "max": 1
      },
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 18,
          "name": "mysticalagriculture:coal_essence",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 4,
                "max": 12
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 12,
          "name": "mysticalagriculture:copper_essence",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 9
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 10,
          "name": "minecraft:raw_gold",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 9
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 10,
          "name": "mysticalagriculture:iron_essence",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 9
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 8,
          "name": "mysticalagriculture:gold_essence",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2,
                "max": 6
              }
            }
          ]
        }
      ]
    },
    {
      "rolls": {
        "min": 0,
        "max": 1
      },
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 12,
          "name": "minecraft:chainmail_helmet",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 10,
                "max": 15
              },
              "treasure": true
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 12,
          "name": "minecraft:chainmail_chestplate",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 10,
                "max": 15
              },
              "treasure": true
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 12,
          "name": "minecraft:chainmail_leggings",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 10,
                "max": 15
              },
              "treasure": true
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 12,
          "name": "minecraft:chainmail_boots",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 10,
                "max": 15
              },
              "treasure": true
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 8,
          "name": "minecraft:iron_helmet",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 5,
                "max": 10
              },
              "treasure": true
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 8,
          "name": "minecraft:iron_chestplate",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 5,
                "max": 10
              },
              "treasure": true
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 8,
          "name": "minecraft:iron_leggings",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 5,
                "max": 10
              },
              "treasure": true
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 8,
          "name": "minecraft:iron_boots",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 5,
                "max": 10
              },
              "treasure": true
            }
          ]
        }
      ]
    },
    {
      "rolls": {
        "min": 0,
        "max": 1
      },
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 10,
          "name": "minecraft:iron_sword",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 10,
                "max": 15
              },
              "treasure": true
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 10,
          "name": "minecraft:iron_pickaxe",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 10,
                "max": 15
              },
              "treasure": true
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 10,
          "name": "minecraft:iron_axe",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 10,
                "max": 15
              },
              "treasure": true
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 10,
          "name": "minecraft:iron_shovel",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 10,
                "max": 15
              },
              "treasure": true
            }
          ]
        }
      ]
    }
  ],
  "functions": [
    {
      "function": "minecraft:set_count",
      "count": {
        "min": 2,
        "max": 4
      }
    }
  ]
}
