{
    "format_version": "1.10.0",
    "animation_controllers": {
		"controller.animation.fares_portal_dummy.interact": {
			"states": {
				"default": {
					"transitions": [
						{ "interact_1": "q.variant == 1" },
						{ "interact_2": "q.variant == 2" }
					]
				},
				"interact_1": {
					"on_entry": [
						"/function fares_portal/dummy_interacted"
					],
					"transitions": [
						{ "default": "true" }
					]
				},
				"interact_2": {
					"on_entry": [
						"/function fares_portal/dummy_interacted_false"
					],
					"transitions": [
						{ "default": "true" }
					]
				}
			}
		},
		"controller.animation.fares_portal_dummy.sfx_timer": {
			"states": {
				"default": {
					"transitions": [
						{ "clock": "q.is_tamed" }
					],
					"on_exit": [
						"/scoreboard objectives add SFXTimer dummy"
					]
				},
				"clock": {
					"on_entry": [
						"/function fares_portal/sfx_timer"
					],
					"transitions": [
						{ "clock_loop": "q.is_tamed" },
						{ "clock_end": "!q.is_tamed" }
					]
				},
				"clock_loop": {
					"on_entry": [
						"/function fares_portal/sfx_timer"
					],
					"transitions": [
						{ "clock": "q.is_tamed" },
						{ "clock_end": "!q.is_tamed" }
					]
				},
				"clock_end": {
					"on_entry": [
						"/scoreboard players reset @s SFXTimer"
					],
					"transitions": [
						{ "default": "true" }
					]
				}
			}
		}
    }
}