{
	"type": "minecraft:chest",
	"pools": [
	  {
      "bonus_rolls": 0.0,
      "entries": [
        {
          "type": "loot_table",
          "value": "academy:basic/t5",
          "weight": 7
        },
        {
          "type": "loot_table",
          "value": "academy:basic/t6",
          "weight": 2
        },
        {
          "type": "loot_table",
          "value": "academy:basic/t7",
          "weight": 1
        }
      ],
      "rolls": {
          "type": "minecraft:uniform",
          "max": 1.0,
          "min": 1.0
        }
    },
    {
		"rolls": {
		  "min": 0,
		  "max": 2
		},
		"bonus_rolls": 0,
		"entries": [
		  {
			"type": "minecraft:item",
			"name": "minecraft:diamond",
			"quality": 1
		  },
		  {
			"type": "minecraft:item",
			"name": "minecraft:iron_ingot",
			"weight": 12,
			"functions": [
			  {
				"function": "minecraft:set_count",
				"count": {
				  "type": "minecraft:uniform",
				  "min": 1,
				  "max": 2
				},
				"add": false
			  }
			]
		  },
		  {
			"type": "minecraft:item",
			"name": "minecraft:gold_ingot",
			"weight": 9,
			"functions": [
			  {
				"function": "minecraft:set_count",
				"count": {
				  "type": "minecraft:uniform",
				  "min": 1,
				  "max": 2
				},
				"add": false
			  }
			]
		  },
		  {
			"type": "minecraft:item",
			"name": "minecraft:emerald",
			"weight": 7,
			"functions": [
			  {
				"function": "minecraft:set_count",
				"count": {
				  "min": 1,
				  "max": 2
				},
				"add": false
			  }
			]
		  }
		]
	  },
	  {
		"rolls": {
		  "min": -1,
		  "max": 1
		},
		"entries": [
		  {
			"type": "minecraft:item",
			"name": "minecraft:diamond_sword",
			"weight": 3
		  },
		  {
			"type": "minecraft:item",
			"name": "minecraft:diamond_pickaxe",
			"weight": 3
		  },
		  {
			"type": "minecraft:item",
			"name": "minecraft:diamond_shovel",
			"weight": 3
		  },
		  {
			"type": "minecraft:item",
			"name": "minecraft:diamond_hoe",
			"weight": 3
		  },
		  {
			"type": "minecraft:item",
			"name": "minecraft:diamond_axe",
			"weight": 3
		  },
		  {
			"type": "minecraft:item",
			"name": "minecraft:diamond_horse_armor"
		  }
		],
		"functions": [
		  {
			"function": "minecraft:enchant_with_levels",
			"levels": {
			  "type": "minecraft:uniform",
			  "min": 25,
			  "max": 35
			},
			"options": "#minecraft:on_random_loot"
		  },
		  {
			"function": "minecraft:set_damage",
			"damage": {
			  "min": 0.57,
			  "max": 0.94
			},
			"add": false,
			"conditions": [
			  {
				"condition": "minecraft:random_chance",
				"chance": 0.66
			  }
			]
		  }
		]
	  },
	  {
		"rolls": 2,
		"entries": [
		  {
			"type": "minecraft:item",
			"name": "minecraft:purpur_block",
			"weight": 6,
			"functions": [
			  {
				"function": "minecraft:set_count",
				"count": {
				  "min": 1,
				  "max": 3
				},
				"add": false
			  }
			]
		  },
		  {
			"type": "minecraft:item",
			"name": "minecraft:end_stone",
			"weight": 6,
			"functions": [
			  {
				"function": "minecraft:set_count",
				"count": {
				  "min": 1,
				  "max": 3
				},
				"add": false
			  }
			]
		  },
		  {
			"type": "minecraft:alternatives",
			"children": [
			  {
				"type": "minecraft:item",
				"name": "minecraft:crying_obsidian",
				"weight": 3,
				"functions": [
				  {
					"function": "minecraft:set_count",
					"count": {
					  "min": 2,
					  "max": 4
					}
				  }
				],
				"conditions": [
				  {
					"condition": "minecraft:random_chance",
					"chance": 0.33333
				  }
				]
			  },
			  {
				"type": "minecraft:item",
				"name": "minecraft:obsidian",
				"weight": 3,
				"functions": [
				  {
					"function": "minecraft:set_count",
					"count": {
					  "min": 2,
					  "max": 4
					}
				  }
				]
			  }
			]
		  }
		]
	  },
	  {
		"rolls": 3,
		"entries": [
		  {
			"type": "minecraft:item",
			"name": "minecraft:end_crystal",
			"weight": 5
		  },
		  {
			"type": "minecraft:item",
			"name": "minecraft:ender_pearl",
			"weight": 6,
			"functions": [
			  {
				"function": "minecraft:set_count",
				"count": {
				  "min": 1,
				  "max": 2
				},
				"add": false
			  }
			]
		  },
		  {
			"type": "minecraft:item",
			"name": "minecraft:amethyst_shard",
			"weight": 6,
			"functions": [
			  {
				"function": "minecraft:set_count",
				"count": {
				  "min": 1,
				  "max": 2
				},
				"add": false
			  }
			]
		  },
		  {
			"type": "minecraft:item",
			"name": "minecraft:shulker_shell",
			"weight": 4,
			"functions": [
			  {
				"function": "minecraft:set_count",
				"count": {
				  "min": 1,
				  "max": 2
				},
				"add": false
			  }
			]
		  },
		  {
			"type": "minecraft:item",
			"name": "minecraft:phantom_membrane",
			"weight": 6,
			"functions": [
			  {
				"function": "minecraft:set_count",
				"count": {
				  "min": 1,
				  "max": 2
				},
				"add": false
			  }
			]
		  },
		  {
			"type": "minecraft:item",
			"name": "minecraft:chorus_fruit",
			"weight": 6,
			"functions": [
			  {
				"function": "minecraft:set_count",
				"count": {
				  "min": 1,
				  "max": 2
				},
				"add": false
			  }
			]
		  },
		  {
			"type": "minecraft:item",
			"name": "minecraft:book",
			"weight": 1,
			"quality": 1,
			"functions": [
			  {
				"function": "minecraft:enchant_with_levels",
				"levels": {
				  "min": 25,
				  "max": 35
				},
				"options": "#minecraft:on_random_loot"
			  }
			]
		  },
		  {
			"type": "minecraft:empty",
			"weight": 3
		  },
		  {
			"type": "minecraft:item",
			"name": "minecraft:ender_eye",
			"weight": 3,
			"functions": [
			  {
				"function": "minecraft:set_count",
				"count": {
				  "min": 1,
				  "max": 2
				}
			  }
			]
		  }
		]
	  },
	  {
		"rolls": 1,
		"entries": [
		  {
			"type": "minecraft:empty",
			"weight": 5
		  },
		  {
			"type": "minecraft:item",
			"name": "minecraft:spire_armor_trim_smithing_template"
		  }
		]
	  }
	]
  }  