{
    "type": "minecraft:chest",
    "pools": [
      {
        "rolls": 1,
        "entries": [
          {
            "type": "minecraft:empty",
            "weight": 40
          },
          {
            "type": "minecraft:item",
            "weight": 5,
            "name": "minecraft:map",
            "functions": [
              {
                "function": "minecraft:exploration_map",
                "destination": "dungeons_arise:shiraz_palace",
                "decoration": "target_x",
                "zoom": 2,
                "skip_existing_chunks": false
              }
            ]
          }
        ]
      },
      {
        "rolls": 1,
        "entries": [
          {
            "type": "minecraft:item",
            "weight": 40,
            "name": "minecraft:book",
            "functions": [
              {
                "function": "minecraft:enchant_with_levels",
                "levels": 28,
                "treasure": true
              }
            ]
          },
          {
            "type": "minecraft:item",
            "name": "minecraft:crossbow",
            "functions": [
              {
                "function": "minecraft:enchant_with_levels",
                "levels": {
                  "min": 25,
                  "max": 39
                },
                "treasure": true
              }
            ]
          },
          {
            "type": "minecraft:item",
            "weight": 8,
            "name": "minecraft:bow",
            "functions": [
              {
                "function": "minecraft:enchant_with_levels",
                "levels": {
                  "min": 20,
                  "max": 39
                },
                "treasure": true
              }
            ]
          },
          {
            "type": "minecraft:item",
            "weight": 8,
            "name": "minecraft:diamond_sword",
            "functions": [
              {
                "function": "minecraft:enchant_with_levels",
                "levels": {
                  "min": 20,
                  "max": 25
                },
                "treasure": true
              }
            ]
          },
          {
            "type": "minecraft:item",
            "weight": 8,
            "name": "minecraft:diamond_helmet",
            "functions": [
              {
                "function": "minecraft:enchant_with_levels",
                "levels": {
                  "min": 20,
                  "max": 25
                },
                "treasure": true
              }
            ]
          },
          {
            "type": "minecraft:item",
            "weight": 8,
            "name": "minecraft:diamond_chestplate",
            "functions": [
              {
                "function": "minecraft:enchant_with_levels",
                "levels": {
                  "min": 20,
                  "max": 25
                },
                "treasure": true
              }
            ]
          },
          {
            "type": "minecraft:item",
            "weight": 8,
            "name": "minecraft:diamond_leggings",
            "functions": [
              {
                "function": "minecraft:enchant_with_levels",
                "levels": {
                  "min": 20,
                  "max": 25
                },
                "treasure": true
              }
            ]
          },
          {
            "type": "minecraft:item",
            "weight": 8,
            "name": "minecraft:diamond_boots",
            "functions": [
              {
                "function": "minecraft:enchant_with_levels",
                "levels": {
                  "min": 20,
                  "max": 25
                },
                "treasure": true
              }
            ]
          },
          {
            "type": "minecraft:item",
            "weight": 2,
            "name": "morevanillaarmor:emerald_helmet"
          },
          {
            "type": "minecraft:item",
            "weight": 15,
            "name": "minecraft:ender_pearl",
            "functions": [
              {
                "function": "minecraft:set_count",
                "count": {
                  "min": 1,
                  "max": 2
                }
              }
            ]
          }
        ]
      },
      {
        "rolls": 3,
        "entries": [
          {
            "type": "minecraft:item",
            "weight": 12,
            "name": "minecraft:gold_ingot",
            "functions": [
              {
                "function": "minecraft:set_count",
                "count": {
                  "min": 8,
                  "max": 16
                }
              }
            ]
          },
          {
            "type": "minecraft:item",
            "weight": 12,
            "name": "minecraft:emerald",
            "functions": [
              {
                "function": "minecraft:set_count",
                "count": {
                  "min": 6,
                  "max": 10
                }
              }
            ]
          },
          {
            "type": "minecraft:item",
            "weight": 15,
            "name": "minecraft:diamond",
            "functions": [
              {
                "function": "minecraft:set_count",
                "count": {
                  "min": 4,
                  "max": 6
                }
              }
            ]
          }
        ]
      },
      {
        "rolls": 2,
        "entries": [
          {
            "type": "minecraft:item",
            "name": "minecraft:paper",
            "functions": [
              {
                "function": "minecraft:set_count",
                "count": {
                  "min": 2,
                  "max": 3
                }
              }
            ]
          },
          {
            "type": "minecraft:item",
            "name": "minecraft:glass_bottle",
            "functions": [
              {
                "function": "minecraft:set_count",
                "count": {
                  "min": 2,
                  "max": 3
                }
              }
            ]
          }
        ]
      },
      {
        "rolls": 1,
        "entries": [
          {
            "type": "minecraft:item",
            "name": "minecraft:book",
            "functions": [
              {
                "function": "minecraft:set_count",
                "count": {
                  "min": 1,
                  "max": 2
                }
              }
            ]
          }
        ]
      }
    ]
  }