{
	"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": 1,
			"bonus_rolls": 0,
			"entries": [
				{
					"type": "minecraft:item",
					"name": "minecraft:iron_pickaxe",
					"weight": 1,
					"functions": [
						{
							"function": "minecraft:set_damage",
							"damage": {
								"min": 0.5,
								"max": 0.8
							}
						}
					]
				},
				{
					"type": "minecraft:empty",
					"weight": 2
				}
			]
		},
		{
			"rolls": 2,
			"bonus_rolls": 0,
			"entries": [
				{
					"type": "minecraft:item",
					"name": "minecraft:flint",
					"weight": 6,
					"quality": -1,
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"min": 1,
								"max": 3
							},
							"add": false
						}
					]
				},
				{
					"type": "minecraft:item",
					"name": "minecraft:raw_iron",
					"weight": 9,
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 1,
								"max": 4
							},
							"add": false
						}
					]
				},
				{
					"type": "minecraft:item",
					"name": "minecraft:raw_copper",
					"weight": 9,
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 1,
								"max": 4
							},
							"add": false
						}
					]
				},
				{
					"type": "minecraft:item",
					"name": "minecraft:raw_gold",
					"weight": 5,
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 1,
								"max": 3
							},
							"add": false
						}
					]
				},
				{
					"type": "minecraft:item",
					"name": "minecraft:redstone",
					"weight": 4,
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 4,
								"max": 7
							},
							"add": false
						}
					]
				},
				{
					"type": "minecraft:item",
					"name": "minecraft:lapis_lazuli",
					"weight": 4,
					"quality": 1,
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 4,
								"max": 7
							},
							"add": false
						}
					]
				},
				{
					"type": "minecraft:item",
					"name": "minecraft:coal",
					"weight": 10,
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 3,
								"max": 8
							},
							"add": false
						}
					]
				}
			]
		},
		{
			"rolls": 1,
			"bonus_rolls": 0,
			"entries": [
				{
					"type": "minecraft:item",
					"name": "minecraft:rail",
					"weight": 20,
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 4,
								"max": 8
							},
							"add": false
						}
					]
				},
				{
					"type": "minecraft:item",
					"name": "minecraft:minecart",
					"weight": 10
				},
				{
					"type": "minecraft:item",
					"name": "minecraft:torch",
					"weight": 15,
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 1,
								"max": 7
							},
							"add": false
						}
					]
				}
			]
		},
		{
			"rolls": 2,
			"entries": [
				{
					"type": "minecraft:item",
					"name": "minecraft:bread",
					"weight": 15,
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 1,
								"max": 2
							},
							"add": false
						}
					]
				},
				{
					"type": "minecraft:item",
					"name": "minecraft:glow_berries",
					"weight": 15,
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 2,
								"max": 3
							},
							"add": false
						}
					]
				},
				{
					"type": "minecraft:item",
					"name": "minecraft:melon_seeds",
					"weight": 10,
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 2,
								"max": 3
							},
							"add": false
						}
					]
				},
				{
					"type": "minecraft:item",
					"name": "minecraft:pumpkin_seeds",
					"weight": 10,
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 2,
								"max": 3
							},
							"add": false
						}
					]
				},
				{
					"type": "minecraft:item",
					"name": "minecraft:beetroot_seeds",
					"weight": 10,
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 2,
								"max": 3
							},
							"add": false
						}
					]
				}
			]
		}
	],
	"random_sequence": "minecraft:chests/abandoned_mineshaft"
}
