{
	"display": {
		"icon": {
			"id": "minecraft:raw_gold_block"
		},
		"title": {"translate":"Mineral Collection"},
		"description": {"color":"#75E1FF","translate":"Craft every type of mineral block"},
		"announce_to_chat": true,
		"frame": "goal"
	},
	"parent": "blazeandcave:mining/diamond_miner",
	"rewards": {
		"function": "bacap_rewards:mining/mineral_collection"
	},			
	"criteria": {
		"coal_block": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:coal_block"
						]
					}
				]
			}
		},
		"iron_block": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:iron_block"
						]
					}
				]
			}
		},
		"gold_block": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:gold_block"
						]
					}
				]
			}
		},
		"lapis_block": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:lapis_block"
						]
					}
				]
			}
		},
		"redstone_block": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:redstone_block"
						]
					}
				]
			}
		},
		"diamond_block": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:diamond_block"
						]
					}
				]
			}
		},
		"emerald_block": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:emerald_block"
						]
					}
				]
			}
		},
		"quartz_block": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:quartz_block"
						]
					}
				]
			}
		},
		"netherite_block": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:netherite_block"
						]
					}
				]
			}
		},
		"copper_block": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:copper_block"
						]
					}
				]
			}
		},
		"amethyst_block": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:amethyst_block"
						]
					}
				]
			}
		},
		"raw_copper_block": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:raw_copper_block"
						]
					}
				]
			}
		},
		"raw_iron_block": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:raw_iron_block"
						]
					}
				]
			}
		},
		"raw_gold_block": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:raw_gold_block"
						]
					}
				]
			}
		}
	}
}