{
	"display": {
		"icon": {
			"id": "minecraft:chainmail_leggings"
		},
		"title": {"translate":"Where are all your clothes?"},
		"description": {"color":"dark_purple","translate":"Break every type of armor piece in the game"},
		"announce_to_chat": true,
		"frame": "challenge"
	},
	"parent": "blazeandcave:mining/weve_broken_our_last_shovel",
	"rewards": {
		"function": "bacap_rewards:mining/where_are_all_your_clothes"
	},		
	"criteria": {
		"leather_helmet": {
			"trigger": "minecraft:item_durability_changed",
			"conditions": {
				"item": {
					"items": [
						"minecraft:leather_helmet"
					]
				},
				"durability": {
					"max": 0
				}
			}
		},
		"leather_chestplate": {
			"trigger": "minecraft:item_durability_changed",
			"conditions": {
				"item": {
					"items": [
						"minecraft:leather_chestplate"
					]
				},
				"durability": {
					"max": 0
				}
			}
		},
		"leather_leggings": {
			"trigger": "minecraft:item_durability_changed",
			"conditions": {
				"item": {
					"items": [
						"minecraft:leather_leggings"
					]
				},
				"durability": {
					"max": 0
				}
			}
		},
		"leather_boots": {
			"trigger": "minecraft:item_durability_changed",
			"conditions": {
				"item": {
					"items": [
						"minecraft:leather_boots"
					]
				},
				"durability": {
					"max": 0
				}
			}
		},
		"copper_helmet": {
			"trigger": "minecraft:item_durability_changed",
			"conditions": {
				"item": {
					"items": [
						"minecraft:copper_helmet"
					]
				},
				"durability": {
					"max": 0
				}
			}
		},
		"copper_chestplate": {
			"trigger": "minecraft:item_durability_changed",
			"conditions": {
				"item": {
					"items": [
						"minecraft:copper_chestplate"
					]
				},
				"durability": {
					"max": 0
				}
			}
		},
		"copper_leggings": {
			"trigger": "minecraft:item_durability_changed",
			"conditions": {
				"item": {
					"items": [
						"minecraft:copper_leggings"
					]
				},
				"durability": {
					"max": 0
				}
			}
		},
		"copper_boots": {
			"trigger": "minecraft:item_durability_changed",
			"conditions": {
				"item": {
					"items": [
						"minecraft:copper_boots"
					]
				},
				"durability": {
					"max": 0
				}
			}
		},
		"golden_helmet": {
			"trigger": "minecraft:item_durability_changed",
			"conditions": {
				"item": {
					"items": [
						"minecraft:golden_helmet"
					]
				},
				"durability": {
					"max": 0
				}
			}
		},
		"golden_chestplate": {
			"trigger": "minecraft:item_durability_changed",
			"conditions": {
				"item": {
					"items": [
						"minecraft:golden_chestplate"
					]
				},
				"durability": {
					"max": 0
				}
			}
		},
		"golden_leggings": {
			"trigger": "minecraft:item_durability_changed",
			"conditions": {
				"item": {
					"items": [
						"minecraft:golden_leggings"
					]
				},
				"durability": {
					"max": 0
				}
			}
		},
		"golden_boots": {
			"trigger": "minecraft:item_durability_changed",
			"conditions": {
				"item": {
					"items": [
						"minecraft:golden_boots"
					]
				},
				"durability": {
					"max": 0
				}
			}
		},
		"chainmail_helmet": {
			"trigger": "minecraft:item_durability_changed",
			"conditions": {
				"item": {
					"items": [
						"minecraft:chainmail_helmet"
					]
				},
				"durability": {
					"max": 0
				}
			}
		},
		"chainmail_chestplate": {
			"trigger": "minecraft:item_durability_changed",
			"conditions": {
				"item": {
					"items": [
						"minecraft:chainmail_chestplate"
					]
				},
				"durability": {
					"max": 0
				}
			}
		},
		"chainmail_leggings": {
			"trigger": "minecraft:item_durability_changed",
			"conditions": {
				"item": {
					"items": [
						"minecraft:chainmail_leggings"
					]
				},
				"durability": {
					"max": 0
				}
			}
		},
		"chainmail_boots": {
			"trigger": "minecraft:item_durability_changed",
			"conditions": {
				"item": {
					"items": [
						"minecraft:chainmail_boots"
					]
				},
				"durability": {
					"max": 0
				}
			}
		},
		"iron_helmet": {
			"trigger": "minecraft:item_durability_changed",
			"conditions": {
				"item": {
					"items": [
						"minecraft:iron_helmet"
					]
				},
				"durability": {
					"max": 0
				}
			}
		},
		"iron_chestplate": {
			"trigger": "minecraft:item_durability_changed",
			"conditions": {
				"item": {
					"items": [
						"minecraft:iron_chestplate"
					]
				},
				"durability": {
					"max": 0
				}
			}
		},
		"iron_leggings": {
			"trigger": "minecraft:item_durability_changed",
			"conditions": {
				"item": {
					"items": [
						"minecraft:iron_leggings"
					]
				},
				"durability": {
					"max": 0
				}
			}
		},
		"iron_boots": {
			"trigger": "minecraft:item_durability_changed",
			"conditions": {
				"item": {
					"items": [
						"minecraft:iron_boots"
					]
				},
				"durability": {
					"max": 0
				}
			}
		},
		"diamond_helmet": {
			"trigger": "minecraft:item_durability_changed",
			"conditions": {
				"item": {
					"items": [
						"minecraft:diamond_helmet"
					]
				},
				"durability": {
					"max": 0
				}
			}
		},
		"diamond_chestplate": {
			"trigger": "minecraft:item_durability_changed",
			"conditions": {
				"item": {
					"items": [
						"minecraft:diamond_chestplate"
					]
				},
				"durability": {
					"max": 0
				}
			}
		},
		"diamond_leggings": {
			"trigger": "minecraft:item_durability_changed",
			"conditions": {
				"item": {
					"items": [
						"minecraft:diamond_leggings"
					]
				},
				"durability": {
					"max": 0
				}
			}
		},
		"diamond_boots": {
			"trigger": "minecraft:item_durability_changed",
			"conditions": {
				"item": {
					"items": [
						"minecraft:diamond_boots"
					]
				},
				"durability": {
					"max": 0
				}
			}
		},
		"netherite_helmet": {
			"trigger": "minecraft:item_durability_changed",
			"conditions": {
				"item": {
					"items": [
						"minecraft:netherite_helmet"
					]
				},
				"durability": {
					"max": 0
				}
			}
		},
		"netherite_chestplate": {
			"trigger": "minecraft:item_durability_changed",
			"conditions": {
				"item": {
					"items": [
						"minecraft:netherite_chestplate"
					]
				},
				"durability": {
					"max": 0
				}
			}
		},
		"netherite_leggings": {
			"trigger": "minecraft:item_durability_changed",
			"conditions": {
				"item": {
					"items": [
						"minecraft:netherite_leggings"
					]
				},
				"durability": {
					"max": 0
				}
			}
		},
		"netherite_boots": {
			"trigger": "minecraft:item_durability_changed",
			"conditions": {
				"item": {
					"items": [
						"minecraft:netherite_boots"
					]
				},
				"durability": {
					"max": 0
				}
			}
		},
		"turtle_helmet": {
			"trigger": "minecraft:item_durability_changed",
			"conditions": {
				"item": {
					"items": [
						"minecraft:turtle_helmet"
					]
				},
				"durability": {
					"max": 0
				}
			}
		},
		"elytra": {
			"trigger": "minecraft:item_durability_changed",
			"conditions": {
				"item": {
					"items": [
						"minecraft:elytra"
					]
				},
				"durability": 1
			}
		},
		"copper_helmet": {
			"trigger": "minecraft:item_durability_changed",
			"conditions": {
				"item": {
					"items": [
						"minecraft:copper_helmet"
					]
				},
				"durability": {
					"max": 0
				}
			}
		},
		"copper_chestplate": {
			"trigger": "minecraft:item_durability_changed",
			"conditions": {
				"item": {
					"items": [
						"minecraft:copper_chestplate"
					]
				},
				"durability": {
					"max": 0
				}
			}
		},
		"copper_leggings": {
			"trigger": "minecraft:item_durability_changed",
			"conditions": {
				"item": {
					"items": [
						"minecraft:copper_leggings"
					]
				},
				"durability": {
					"max": 0
				}
			}
		},
		"copper_boots": {
			"trigger": "minecraft:item_durability_changed",
			"conditions": {
				"item": {
					"items": [
						"minecraft:copper_boots"
					]
				},
				"durability": {
					"max": 0
				}
			}
		}
	}
}