{
  "pools": [
    {
      "rolls": {
        "min": 1,
        "max": 2
      },
      "bonus_rolls": {
        "min": 1,
        "max": 1
	  },
  	  "name":"dimdungeons:pool_4",
      "entries": [
        {
          "type": "item",
          "name": "minecraft:emerald",
          "weight": 3,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 12,
                "max": 16
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "minecraft:diamond",
          "weight": 3,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 4,
                "max": 8
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "minecraft:totem_of_undying",
          "weight": 3,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 1,
                "max": 1
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "minecraft:shulker_box",
          "weight": 3,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 1,
                "max": 1
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "minecraft:ghast_tear",
          "weight": 3,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 3,
                "max": 6
              }
            }
          ]		  
        },
        {
          "type": "item",
          "name": "minecraft:trident",
          "weight": 3,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 1,
                "max": 1
              }
            }
          ]		  
        },
        {
		  "type": "item",
		  "name": "minecraft:enchanted_book",
		  "entryName": "dimdungeons:ebook_mending",
		  "weight": 4,
		  "functions": [
		    {
			  "function": "set_nbt",
			  "tag": "{StoredEnchantments:[{id:\"minecraft:mending\",lvl:1}]}"
			}
		  ]
		},	
        {
          "type": "item",
          "name": "minecraft:diamond_chestplate",
          "weight": 4,
          "functions": [
            {
              "function": "enchant_with_levels",
              "treasure": false,
              "levels": {
                "min": 30,
                "max": 40
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "minecraft:diamond_helmet",
          "weight": 4,
          "functions": [
            {
              "function": "enchant_with_levels",
              "treasure": false,
              "levels": {
                "min": 30,
                "max": 40
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "minecraft:diamond_leggings",
          "weight": 4,
          "functions": [
            {
              "function": "enchant_with_levels",
              "treasure": false,
              "levels": {
                "min": 30,
                "max": 40
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "minecraft:diamond_boots",
          "weight": 4,
          "functions": [
            {
              "function": "enchant_with_levels",
              "treasure": false,
              "levels": {
                "min": 30,
                "max": 40
              }
            }
          ]
        },		
        {
          "type": "item",
          "name": "minecraft:diamond_pickaxe",
          "weight": 4,
          "functions": [
            {
              "function": "enchant_with_levels",
              "treasure": false,
              "levels": {
                "min": 30,
                "max": 40
              }
            }
          ]
        },		
        {
          "type": "item",
          "name": "minecraft:diamond_sword",
          "weight": 4,
          "functions": [
            {
              "function": "enchant_with_levels",
              "treasure": false,
              "levels": {
                "min": 30,
                "max": 40
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "minecraft:crossbow",
          "weight": 4,
          "functions": [
            {
              "function": "enchant_with_levels",
              "treasure": false,
              "levels": {
                "min": 30,
                "max": 40
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "minecraft:bow",
          "weight": 4,
          "functions": [
            {
              "function": "enchant_with_levels",
              "treasure": false,
              "levels": {
                "min": 30,
                "max": 40
              }
            }
          ]
        },		
        {
          "type": "item",
          "name": "dimdungeons:item_portal_key",
          "weight": 8,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            }
          ]
        },	
        {
          "type": "item",
          "name": "minecraft:globe_banner_pattern",
          "weight": 5,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 1,
                "max": 1
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "enigmaticlegacy:etherium_ore",
          "weight": 20,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 1,
                "max": 4
              }            
			}
          ]
        },		
        {
          "type": "loot_table",
          "name": "dimdungeons:chests/trophy_1",
          "weight": 1
        },
        {
          "type": "loot_table",
          "name": "dimdungeons:chests/chestbooks_3",
          "weight": 32
        }
      ]
    }
  ]
}