{
	"display": {
		"icon": {
			"id": "minecraft:diamond_sword"
		},
		"title": {"translate":"This name sounds cooler"},
		"description": {"color":"green","translate":"Name your Diamond Sword 'Diamond Edge'"},
		"announce_to_chat": true
	},
	"parent": "blazeandcave:enchanting/heavy_metal",
	"rewards": {
		"function": "bacap_rewards:enchanting/this_name_sounds_cooler"
	},	
	"criteria": {
		"diamond_edge": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:diamond_sword"
						],
						"components": {
							"minecraft:custom_name": "Diamond Edge"
						}
					}
				]
			}
		}
	}
}