{
	"display": {
		"icon": {
			"id": "minecraft:netherite_chestplate",
			"components": {
				"minecraft:trim": {
					"material": "minecraft:gold",
					"pattern": "minecraft:sentry"
				}
			}
		},
		"title": {"translate":"Chromatic Armory"},
		"description": {"color":"#75E1FF","translate":"Trim pieces of armor with all types of materials"},
		"announce_to_chat": true,
		"frame": "goal"
	},
	"parent": "blazeandcave:adventure/coordinated_flair",
	"rewards": {
		"function": "bacap_rewards:adventure/chromatic_armory"
	},
	"criteria": {
		"amethyst": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"predicates": {
							"minecraft:trim": {
								"material": "minecraft:amethyst"
							}
						}
					}
				]
			}
		},
		"copper": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"predicates": {
							"minecraft:trim": {
								"material": "minecraft:copper"
							}
						}
					}
				]
			}
		},
		"diamond": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"predicates": {
							"minecraft:trim": {
								"material": "minecraft:diamond"
							}
						}
					}
				]
			}
		},
		"emerald": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"predicates": {
							"minecraft:trim": {
								"material": "minecraft:emerald"
							}
						}
					}
				]
			}
		},
		"gold": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"predicates": {
							"minecraft:trim": {
								"material": "minecraft:gold"
							}
						}
					}
				]
			}
		},
		"iron": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"predicates": {
							"minecraft:trim": {
								"material": "minecraft:iron"
							}
						}
					}
				]
			}
		},
		"lapis": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"predicates": {
							"minecraft:trim": {
								"material": "minecraft:lapis"
							}
						}
					}
				]
			}
		},
		"quartz": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"predicates": {
							"minecraft:trim": {
								"material": "minecraft:quartz"
							}
						}
					}
				]
			}
		},
		"netherite": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"predicates": {
							"minecraft:trim": {
								"material": "minecraft:netherite"
							}
						}
					}
				]
			}
		},
		"redstone": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"predicates": {
							"minecraft:trim": {
								"material": "minecraft:redstone"
							}
						}
					}
				]
			}
		},
		"resin": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"predicates": {
							"minecraft:trim": {
								"material": "minecraft:resin"
							}
						}
					}
				]
			}
		}
	}
}