//bridge-file-version: #4
{
	"format_version": "1.16.100",
	"minecraft:item": {
		"description": {
			"identifier": "end:endilex_sword",
			"category": "equipment"
		},
		"components": {
			"minecraft:icon": {
				"texture": "endilex_sword"
			},
			"minecraft:max_stack_size": 1,
			"minecraft:hand_equipped": true,
			"minecraft:can_destroy_in_creative": false,
			"minecraft:weapon": {
				"on_hurt_entity": {
					"event": "durability_update"
				}
			},
			"minecraft:damage": 4,
			"minecraft:creative_category": {
				"parent": "itemGroup.name.sword"
			},
			"minecraft:durability": {
				"max_damage": 59
			}
		},
		"events": {
			"durability_update": {
				"damage": {
					"type": "durability",
					"amount": 1,
					"target": "self"
				}
			}
		}
	}
}