{
  "type": "minecraft:chest",
  "pools": [
    {
      "bonus_rolls": 0,
      "rolls": {
        "type": "minecraft:uniform",
        "min": 2,
        "max": 4
      },
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 15,
          "name": "minecraft:diamond",
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "min": 1,
                "max": 3
              },
              "function": "minecraft:set_count"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "ancient_forgemastery:remnant_artifact",
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "min": 1,
                "max": 1
              },
              "function": "minecraft:set_count"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 5,
          "name": "mace_port:wind_charge",
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "min": 2,
                "max": 6
              },
              "function": "minecraft:set_count"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 10,
          "name": "minecraft:bone",
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "min": 3,
                "max": 9
              },
              "function": "minecraft:set_count"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 2,
          "name": "enigmaticlegacy:earth_heart",
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "min": 1,
                "max": 1
              },
              "function": "minecraft:set_count"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 3,
          "name": "cataclysm:ancient_metal_nugget",
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "min": 1,
                "max": 2
              },
              "function": "minecraft:set_count"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 12,
          "name": "minecraft:gold_ingot",
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "min": 3,
                "max": 6
              },
              "function": "minecraft:set_count"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 10,
          "name": "minecraft:emerald",
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "min": 2,
                "max": 5
              },
              "function": "minecraft:set_count"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 8,
          "name": "minecraft:enchanted_golden_apple"
        },
        {
          "type": "minecraft:item",
          "weight": 6,
          "name": "minecraft:golden_apple",
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "min": 1,
                "max": 2
              },
              "function": "minecraft:set_count"
            }
          ]
        }
      ]
    },
    {
      "bonus_rolls": 0,
      "rolls": {
        "type": "minecraft:uniform",
        "min": 2,
        "max": 3
      },
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 6,
          "name": "fantasy_armor:old_knight_helmet",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "type": "minecraft:uniform",
                "min": 15,
                "max": 25
              },
              "options": "#minecraft:on_random_loot"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 6,
          "name": "fantasy_armor:old_knight_chestplate",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "type": "minecraft:uniform",
                "min": 15,
                "max": 25
              },
              "options": "#minecraft:on_random_loot"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 9,
          "name": "fantasy_weapons:weapon_knight_halberd",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "type": "minecraft:uniform",
                "min": 15,
                "max": 25
              },
              "options": "#minecraft:on_random_loot"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 8,
          "name": "minecraft:book",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "type": "minecraft:uniform",
                "min": 20,
                "max": 30
              },
              "options": "#minecraft:on_random_loot"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 3,
          "name": "minecraft:totem_of_undying"
        }
      ]
    },
    {
      "bonus_rolls": 0,
      "rolls": {
        "type": "minecraft:uniform",
        "min": 0,
        "max": 1
      },
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 10,
          "name": "minecraft:diamond_horse_armor"
        },
        {
          "type": "minecraft:item",
          "weight": 6,
          "name": "minecraft:music_disc_ward"
        },
        {
          "type": "minecraft:item",
          "weight": 4,
          "name": "minecraft:music_disc_mall"
        }
      ]
    },
    {
      "bonus_rolls": 0,
      "rolls": {
        "type": "minecraft:uniform",
        "min": 2,
        "max": 4
      },
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 25,
          "name": "minecraft:sand",
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "min": 4,
                "max": 12
              },
              "function": "minecraft:set_count"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 20,
          "name": "minecraft:sandstone",
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "min": 2,
                "max": 6
              },
              "function": "minecraft:set_count"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 15,
          "name": "minecraft:cactus",
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "min": 1,
                "max": 4
              },
              "function": "minecraft:set_count"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 12,
          "name": "minecraft:gunpowder",
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "min": 2,
                "max": 5
              },
              "function": "minecraft:set_count"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 8,
          "name": "minecraft:bone",
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "min": 2,
                "max": 4
              },
              "function": "minecraft:set_count"
            }
          ]
        }
      ]
    }
  ]
}
