{
	"type": "minecraft:chest",
	"pools": [
	  {
      "bonus_rolls": 0.0,
      "entries": [
        {
          "type": "loot_table",
          "value": "academy:basic_underground/t4"
        }
      ],
      "rolls": {
          "type": "minecraft:uniform",
          "max": 1.0,
          "min": 1.0
        }
    },
    {
		"rolls": {
		  "type": "minecraft:uniform",
		  "min": 5,
		  "max": 7
		},
		"bonus_rolls": 0,
		"entries": [
		  {
			"type": "minecraft:item",
			"name": "minecraft:crossbow",
			"weight": 2,
			"functions": [
			  {
				"function": "minecraft:enchant_with_levels",
				"levels": {
				  "min": 15,
				  "max": 29
				}
			  }
			]
		  },
		  {
			"type": "minecraft:item",
			"name": "minecraft:emerald",
			"weight": 10,
			"functions": [
			  {
				"function": "minecraft:set_count",
				"count": {
				  "min": 2,
				  "max": 3
				}
			  }
			]
		  },
		  {
			"type": "minecraft:item",
			"name": "minecraft:iron_ingot",
			"weight": 8,
			"functions": [
			  {
				"function": "minecraft:set_count",
				"count": {
				  "type": "minecraft:uniform",
				  "min": 1,
				  "max": 3
				},
				"add": false
			  }
			]
		  },
		  {
			"type": "minecraft:item",
			"name": "minecraft:gold_ingot",
			"weight": 4,
			"functions": [
			  {
				"function": "minecraft:set_count",
				"count": {
				  "type": "minecraft:uniform",
				  "min": 1,
				  "max": 2
				},
				"add": false
			  }
			]
		  },
		  {
			"type": "minecraft:item",
			"name": "minecraft:redstone",
			"weight": 5,
			"functions": [
			  {
				"function": "minecraft:set_count",
				"count": {
				  "type": "minecraft:uniform",
				  "min": 3,
				  "max": 5
				},
				"add": false
			  }
			]
		  },
		  {
			"type": "minecraft:item",
			"name": "minecraft:bread",
			"weight": 11,
			"functions": [
			  {
				"function": "minecraft:set_count",
				"count": {
				  "type": "minecraft:uniform",
				  "min": 1,
				  "max": 2
				},
				"add": false
			  }
			]
		  },
		  {
			"type": "minecraft:item",
			"name": "minecraft:apple",
			"weight": 10,
			"functions": [
			  {
				"function": "minecraft:set_count",
				"count": {
				  "type": "minecraft:uniform",
				  "min": 1,
				  "max": 2
				},
				"add": false
			  }
			]
		  },
		  {
			"type": "minecraft:item",
			"name": "minecraft:iron_pickaxe",
			"weight": 2
		  },
		  {
			"type": "minecraft:item",
			"name": "minecraft:book",
			"functions": [
			  {
				"function": "minecraft:enchant_with_levels",
				"levels": {
				  "min": 18,
				  "max": 28
				},
				"options": "#minecraft:on_random_loot"
			  }
			]
		  },
		  {
			"type": "minecraft:item",
			"name": "minecraft:golden_apple",
			"quality": 1
		  },
		  {
			"type": "minecraft:item",
			"name": "minecraft:diamond_pickaxe",
			"weight": 1,
			"functions": [
			  {
				"function": "minecraft:set_damage",
				"damage": {
				  "min": 0.2,
				  "max": 0.45
				}
			  }
			]
		  },
		  {
			"type": "minecraft:item",
			"name": "minecraft:iron_sword",
			"functions": [
			  {
				"function": "minecraft:enchant_with_levels",
				"levels": {
				  "min": 15,
				  "max": 29
				},
				"options": "#minecraft:on_random_loot"
			  }
			]
		  },
		  {
			"type": "minecraft:item",
			"name": "minecraft:iron_chestplate",
			"functions": []
		  },
		  {
			"type": "minecraft:item",
			"name": "minecraft:iron_boots",
			"functions": []
		  },
		  {
			"type": "minecraft:item",
			"name": "minecraft:iron_leggings",
			"functions": []
		  },
		  {
			"type": "minecraft:item",
			"name": "minecraft:iron_helmet",
			"functions": []
		  }
		]
	  },
	  {
		"rolls": {
		  "min": -3,
		  "max": 1
		},
		"entries": [
		  {
			"type": "minecraft:item",
			"name": "minecraft:book",
			"functions": [
			  {
				"function": "minecraft:enchant_randomly",
				"options": [
				  "minecraft:protection",
				  "minecraft:blast_protection",
				  "minecraft:fire_protection",
				  "minecraft:projectile_protection"
				]
			  }
			]
		  }
		]
	  }
	]
  }