//bridge-file-version: #24
{
	"format_version": "1.17.0",
	"minecraft:item": {
		"description": {
			"identifier": "strat:frypan_44",
			"category": "equipment"
		},
		"components": {
			"minecraft:icon": {
				"texture": "frypan_44"
			},
			"minecraft:display_name": {
				"value": "Cobalt Frypan"
			},
			"minecraft:damage": 5,
			"minecraft:durability": {
				"max_durability": 408,
				"damage_chance": {
					"min": 1,
					"max": 1
				}
			},
			"minecraft:weapon": {
				"on_hurt_entity": {
					"event": "hurt"
				}
			},
			"minecraft:creative_category": {
				"parent": "itemGroup.name.sword"
			},
			"minecraft:can_destroy_in_creative": false,
			"minecraft:hand_equipped": true,
			"minecraft:max_stack_size": 1
		},
		"events": {
			"hurt": {
				"sequence": [
					{
						"damage": {
							"type": "none",
							"amount": 1,
							"target": "self"
						},
						"run_command": {
							"command": [
								"playsound tinkers.frypan_hit @a ~~~"
							],
							"target": "holder"
						}
					},
					{
						"run_command": {
							"command": [
								"effect @s slowness 2 1 true"
							],
							"target": "other"
						}
					}
				]
			}
		}
	}
}