{
	"format_version": "1.19.0",
	"animation_controllers": {
		"controller.animation.handshakes": {
			"states": {
				"default": {
					"on_entry": ["/event entity @s no_handshakes",
					"/tag @s remove high_five"],
					"transitions": [
						{"high-five_ask": "q.get_equipped_item_name == 'high-five'"},
						{"high-five": "q.variant==1"}
					]
				},
				"high-five_ask": {
				    "on_entry":["/event entity @s high_five_ask",
				    "/tag @s add high_five"],
					"transitions": [
						{"default":"!q.get_equipped_item_name == 'high-five'"},
						{"high-five": "q.variant==1"}
					]
				},
				"high-five": {
					"on_entry": ["/event entity @s no_handshakes"],
					"animations":[
					    "high-five",
					    "high-five_tp"
					    ],
					"transitions": [
						{"default": "q.variant==0"}
					]
				}
			}
		}
	}
}