{
	"display": {
		"icon": {
			"id": "minecraft:oak_fence",
			"components": {
				"minecraft:enchantment_glint_override": true
			}
		},
		"title": {"translate":"A rather pointy fence post"},
		"description": {"color":"dark_purple","translate":"Enchant a wooden sword with Sharpness V. Not really the best weapon, but it could be a minor annoyance to someone"},
		"announce_to_chat": true,
		"frame": "challenge"
	},
	"parent": "blazeandcave:enchanting/newtons_flaming_laser_sword",
	"rewards": {
		"function": "bacap_rewards:enchanting/a_rather_pointy_fence_post"
	},		
	"criteria": {
		"rather_pointy_fence_post": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:wooden_sword"
						],
						"predicates": {
							"enchantments": [
								{
									"enchantments": "minecraft:sharpness",
									"levels": {
										"min": 5
									}
								}	
							]
						}
					}
				]
			}
		}
	}
}