//bridge-file-version: #7
{
	"format_version": "1.16.100",
	"minecraft:item": {
		"description": {
			"identifier": "agp:tornado_morph"
		},
		"components": {
			"minecraft:foil": true,
			"minecraft:stacked_by_data": true,
			"minecraft:cooldown": {
				"category": "tornado_delay",
				"duration": 80
			},
			"minecraft:liquid_clipped": true,
			"minecraft:max_stack_size": 1,
			"minecraft:allow_off_hand": true,
			"minecraft:icon": {
				"texture": "tornado_item"
			},
			"minecraft:display_name": {
				"value": "Tornado Morph"
			},
			"minecraft:armor": {
				"protection": 100000
			},
			"minecraft:wearable": {
				"slot": "slot.armor.head",
				"dispensable": false
			},
			"minecraft:on_use": {
				"on_use": {
					"event": "Morph"
				}
			}
		},
		"events": {
			"Morph": {
				"run_command": {
					"command": [
						"/execute @a[tag=!TornadoMorph,tag=!InUse] ~~~ title @s actionbar §l§c@p[tag=TornadoMorph] Is A Tornado!",
						"/execute @s[tag=TornadoMorph,tag=!InUse] ~~~ title @s actionbar §l§cYou are now the tornado!",
						"/execute @s[tag=TornadoMorph,tag=!InUse] ~~~ summon agp:morph_tornado1",
						"/execute @s[tag=InUse] ~~~ title @s actionbar §l§c@p[tag=TornadoMorph] Is Already The Tornado..."
					]
				}
			}
		}
	}
} //Made by ItzJeremicer