{
	"type": "minecraft:chest",
	"pools": [
		{
			"rolls": 1,
			"bonus_rolls": 0,
			"entries": [
				{
					"type": "minecraft:item",
					"weight": 1,
					"name": "minecraft:iron_pickaxe",
					"functions": [
						{
							"function": "minecraft:set_damage",
							"damage": {
								"min": 0.5,
								"max": 0.8
							}
						}
					]
				},
				{
					"type": "minecraft:empty",
					"weight": 2
				}
			]
		},
		{
			"rolls": {
				"type": "minecraft:uniform",
				"min": 2,
				"max": 3
			},
			"bonus_rolls": 0,
			"entries": [
				{
					"type": "minecraft:item",
					"weight": 6,
					"quality": -1,
					"name": "minecraft:flint",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"min": 1,
								"max": 3
							},
							"add": false
						}
					]
				},
				{
					"type": "minecraft:item",
					"weight": 9,
					"name": "minecraft:raw_iron",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 1,
								"max": 4
							},
							"add": false
						}
					]
				},
				{
					"type": "minecraft:item",
					"weight": 9,
					"name": "minecraft:raw_copper",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 1,
								"max": 4
							},
							"add": false
						}
					]
				},
				{
					"type": "minecraft:item",
					"weight": 5,
					"name": "minecraft:raw_gold",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 1,
								"max": 3
							},
							"add": false,
							"conditions": [
								{
									"condition": "minecraft:inverted",
									"term": {
										"condition": "minecraft:any_of",
										"terms": [
											{
												"condition": "minecraft:location_check",
												"predicate": {
													"biome": "minecraft:badlands"
												}
											},
											{
												"condition": "minecraft:location_check",
												"predicate": {
													"biome": "minecraft:eroded_badlands"
												}
											},
											{
												"condition": "minecraft:location_check",
												"predicate": {
													"biome": "minecraft:wooded_badlands"
												}
											}
										]
									}
								}
							]
						},
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 3,
								"max": 6
							},
							"add": false,
							"conditions": [
								{
									"condition": "minecraft:any_of",
									"terms": [
										{
											"condition": "minecraft:location_check",
											"predicate": {
												"biome": "minecraft:badlands"
											}
										},
										{
											"condition": "minecraft:location_check",
											"predicate": {
												"biome": "minecraft:eroded_badlands"
											}
										},
										{
											"condition": "minecraft:location_check",
											"predicate": {
												"biome": "minecraft:wooded_badlands"
											}
										}
									]
								}
							]
						}
					]
				},
				{
					"type": "minecraft:item",
					"weight": 4,
					"name": "minecraft:redstone",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 4,
								"max": 7
							},
							"add": false
						}
					]
				},
				{
					"type": "minecraft:item",
					"weight": 4,
					"quality": 1,
					"name": "minecraft:lapis_lazuli",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 4,
								"max": 7
							},
							"add": false
						}
					]
				},
				{
					"type": "minecraft:item",
					"weight": 10,
					"name": "minecraft:coal",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 3,
								"max": 8
							},
							"add": false
						}
					]
				}
			]
		},
		{
			"rolls": 1,
			"bonus_rolls": 0,
			"entries": [
				{
					"type": "minecraft:item",
					"weight": 20,
					"name": "minecraft:rail",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 4,
								"max": 8
							},
							"add": false
						}
					]
				},
				{
					"type": "minecraft:item",
					"weight": 10,
					"name": "minecraft:minecart"
				},
				{
					"type": "minecraft:item",
					"weight": 15,
					"name": "minecraft:torch",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 1,
								"max": 7
							},
							"add": false
						}
					]
				}
			]
		},
		{
			"rolls": {
				"min": 2,
				"max": 3
			},
			"entries": [
				{
					"type": "minecraft:item",
					"weight": 15,
					"name": "minecraft:bread",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 1,
								"max": 2
							},
							"add": false
						}
					]
				},
				{
					"type": "minecraft:item",
					"weight": 15,
					"name": "minecraft:glow_berries",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 3,
								"max": 5
							},
							"add": false,
							"conditions": [
								{
									"condition": "minecraft:location_check",
									"predicate": {
										"biome": "minecraft:lush_caves"
									}
								}
							]
						}
					]
				},
				{
					"type": "minecraft:item",
					"weight": 10,
					"name": "minecraft:melon_seeds",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 2,
								"max": 4
							},
							"add": false,
							"conditions": [
								{
									"condition": "minecraft:any_of",
									"terms": [
										{
											"condition": "minecraft:location_check",
											"predicate": {
												"biome": "minecraft:bamboo_jungle"
											}
										},
										{
											"condition": "minecraft:location_check",
											"predicate": {
												"biome": "minecraft:jungle"
											}
										},
										{
											"condition": "minecraft:location_check",
											"predicate": {
												"biome": "minecraft:sparse_jungle"
											}
										}
									]
								}
							]
						}
					]
				},
				{
					"type": "minecraft:item",
					"weight": 10,
					"name": "minecraft:pumpkin_seeds",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 2,
								"max": 4
							},
							"add": false,
							"conditions": [
								{
									"condition": "minecraft:any_of",
									"terms": [
										{
											"condition": "minecraft:location_check",
											"predicate": {
												"biome": "minecraft:old_growth_pine_taiga"
											}
										},
										{
											"condition": "minecraft:location_check",
											"predicate": {
												"biome": "minecraft:old_growth_spruce_taiga"
											}
										},
										{
											"condition": "minecraft:location_check",
											"predicate": {
												"biome": "minecraft:taiga"
											}
										},
										{
											"condition": "minecraft:location_check",
											"predicate": {
												"biome": "minecraft:snowy_taiga"
											}
										}
									]
								}
							]
						}
					]
				},
				{
					"type": "minecraft:item",
					"weight": 10,
					"name": "minecraft:beetroot_seeds",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 2,
								"max": 4
							},
							"add": false
						}
					],
					"conditions": [
						{
							"condition": "minecraft:any_of",
							"terms": [
								{
									"condition": "minecraft:location_check",
									"predicate": {
										"biome": "minecraft:plains"
									}
								},
								{
									"condition": "minecraft:location_check",
									"predicate": {
										"biome": "minecraft:sunflower_plains"
									}
								},
								{
									"condition": "minecraft:location_check",
									"predicate": {
										"biome": "minecraft:snowy_plains"
									}
								}
							]
						}
					]
				}
			]
		}
	],
	"random_sequence": "minecraft:chests/abandoned_mineshaft"
}
