{
  "type": "minecraft:vault",
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:book",
          "weight": 3,
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 30,
                "max": 45
              },
              "options": "#minecraft:on_random_loot"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:book",
          "weight": 2,
          "quality": 1,
          "functions": [
            {
              "function": "minecraft:enchant_randomly",
              "options": [
                "minecraft:mending"
              ]
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:mojang_banner_pattern"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond_block",
          "quality": 1,
          "weight": 2
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_block",
          "weight": 4
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:gold_block",
          "weight": 5
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:golden_apple",
          "weight": 3,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "type": "minecraft:uniform",
                "min": 1,
                "max": 2
              },
              "add": false
            }
          ]
        }
      ]
    }
  ]
}