{
	"format_version": "1.10.0",
	"animation_controllers": {
		"controller.animation.glaive.attack": {
			"states": {
				"default": {
					"transitions": [
						{
							"unsheathe": "variable.glaive"
						},
						{
							"undefault": "!query.is_item_name_any('slot.hotbar',0,'pixel:wooden_glaive') && !query.is_item_name_any('slot.hotbar',0,'pixel:stone_glaive') && !query.is_item_name_any('slot.hotbar',0,'pixel:iron_glaive') && !query.is_item_name_any('slot.hotbar',0,'pixel:golden_glaive') && !query.is_item_name_any('slot.hotbar',0,'pixel:diamond_glaive') && !query.is_item_name_any('slot.hotbar',0,'pixel:netherite_glaive')"
						}
					]
				},
				"undefault": {
					"transitions": [
						{
							"glaive": "variable.glaive"
						},
						{
							"default": "query.is_item_name_any('slot.hotbar',0,'pixel:wooden_glaive')||query.is_item_name_any('slot.hotbar',0,'pixel:stone_glaive')||query.is_item_name_any('slot.hotbar',0,'pixel:iron_glaive')||query.is_item_name_any('slot.hotbar',0,'pixel:golden_glaive')||query.is_item_name_any('slot.hotbar',0,'pixel:diamond_glaive')||query.is_item_name_any('slot.hotbar',0,'pixel:netherite_glaive')"
						}
					]
				},
				"unsheathe": {
					"animations": [
					  "glaive_fast_unsheathe"
					],
					"transitions": [
						{
							"glaive": "query.all_animations_finished"
						},
						{
							"default": "!variable.glaive"
						}
					]
				},
				"ride": {
					"animations": [
					  "glaive_fast_riding_pose",
					  "shield_no_back",
					  "glaive_no_back"
					],
					"transitions": [
						{
							"default": "!variable.glaive"
						},
						{
							"glaive": "!query.is_riding"
						}
					]
				},
				"glaive": {
					"animations": [
					  "glaive_fast_bob",
					  "shield_no_back",
					  "glaive_no_back"
					],
					"transitions": [
						{
							"attack": "variable.attack_time>0"
						},
						{
							"default": "!variable.glaive"
						},
						{
							"ride": "query.is_riding"
						},
						{
							"jump": "query.is_jumping"
						},
						{
							"fall": "!query.is_jumping && !query.is_on_ground"
						},
						{
							"sneak": "query.is_sneaking"
						},
						{
							"move": "query.is_moving"
						},
						{
							"sprint": "query.is_sprinting"
						}
					]
				},
				"glaive1": {
					"animations": [
					  "glaive_fast_bob",
					  "shield_no_back",
					  "glaive_no_back"
					],
					"transitions": [
						{
							"attack1": "variable.attack_time>0"
						},
						{
							"default": "!variable.glaive"
						},
						{
							"jump": "query.is_jumping"
						},
						{
							"ride": "query.is_riding"
						},
						{
							"fall": "!query.is_jumping && !query.is_on_ground"
						},
						{
							"sneak": "query.is_sneaking"
						},
						{
							"move1": "query.is_moving"
						},
						{
							"sprint": "query.is_sprinting"
						}
					]
				},
				"glaive2": {
					"animations": [
					  "glaive_fast_bob",
					  "shield_no_back",
					  "glaive_no_back"
					],
					"transitions": [
						{
							"attack2": "variable.attack_time>0"
						},
						{
							"default": "!variable.glaive"
						},
						{
							"ride": "query.is_riding"
						},
						{
							"jump": "query.is_jumping"
						},
						{
							"fall": "!query.is_jumping && !query.is_on_ground"
						},
						{
							"sneak": "query.is_sneaking"
						},
						{
							"move2": "query.is_moving"
						},
						{
							"sprint": "query.is_sprinting"
						}
					]
				},
				"move": {
					"animations": [
					  "glaive_fast_move",
					  "glaive_no_back",
					  "shield_no_back"
					],
					"transitions": [
						{
							"glaive": "!query.is_moving"
						},
						{
							"jump": "query.is_jumping"
						},
						{
							"fall": "!query.is_jumping && !query.is_on_ground"
						},
						{
							"sneak": "query.is_sneaking"
						},
						{
							"sprint": "query.is_sprinting"
						},
						{
							"default": "!variable.glaive"
						},
						{
							"moving_attack": "variable.attack_time>0"
						}
					]
				},
				"move1": {
					"animations": [
					  "glaive_fast_move",
					  "glaive_no_back",
					  "shield_no_back"
					],
					"transitions": [
						{
							"glaive1": "!query.is_moving"
						},
						{
							"jump": "query.is_jumping"
						},
						{
							"fall": "!query.is_jumping && !query.is_on_ground"
						},
						{
							"sneak": "query.is_sneaking"
						},
						{
							"sprint": "query.is_sprinting"
						},
						{
							"default": "!variable.glaive"
						},
						{
							"moving_attack1": "variable.attack_time>0"
						}
					]
				},
				"move2": {
					"animations": [
					  "glaive_fast_move",
					  "glaive_no_back",
					  "shield_no_back"
					],
					"transitions": [
						{
							"glaive2": "!query.is_moving"
						},
						{
							"jump": "query.is_jumping"
						},
						{
							"fall": "!query.is_jumping && !query.is_on_ground"
						},
						{
							"sneak": "query.is_sneaking"
						},
						{
							"sprint": "query.is_sprinting"
						},
						{
							"default": "!variable.glaive"
						},
						{
							"moving_attack2": "variable.attack_time>0"
						}
					]
				},
				"sprint": {
					"animations": [
					  "glaive_fast_sprint",
					  "glaive_no_back",
					  "shield_no_back"
					],
					"transitions": [
						{
							"glaive": "!query.is_sprinting"
						},
						{
							"jump": "query.is_jumping"
						},
						{
							"fall": "!query.is_jumping && !query.is_on_ground"
						},
						{
							"sneak": "query.is_sneaking"
						},
						{
							"move": "query.is_moving && !query.is_sprinting"
						},
						{
							"default": "!variable.glaive"
						},
						{
							"sprint_attack": "variable.attack_time>0"
						}
					]
				},
				"sneak": {
					"animations": [
					  {
					  "glaive_fast_sneak":"!query.is_moving"
					  },
					  {
					  "glaive_fast_sneak_move":"query.is_moving"
					  },
					  "glaive_no_back",
					  "shield_no_back"
					],
					"transitions": [
						{
							"glaive": "!query.is_sneaking"
						},
						{
							"jump": "query.is_jumping"
						},
						{
							"fall": "!query.is_jumping && !query.is_on_ground"
						},
						{
							"default": "!variable.glaive"
						},
						{
							"sneak_attack": "variable.attack_time>0"
						}
					]
				},
				"jump": {
					"animations": [
					  "sword_jump",
					  "glaive_no_back",
					  "shield_no_back"
					],
					"transitions": [
						{
							"fall": "query.all_animations_finished && !query.is_on_ground"
						},
						{
							"land": "query.all_animations_finished && query.is_on_ground"
						},
						{
							"default": "!variable.glaive"
						},
						{
							"jump_attack": "variable.attack_time>0"
						}
					]
				},
				"fall": {
					"animations": [
					  "glaive_fast_fall",
					  "glaive_no_back",
					  "shield_no_back"
					],
					"transitions": [
						{
							"land": "query.is_on_ground"
						},
						{
							"default": "!variable.glaive"
						},
						{
							"jump_attack": "variable.attack_time>0"
						}
					]
				},
				"land": {
					"animations": [
					  "glaive_fast_land",
					  "glaive_no_back",
					  "shield_no_back"
					],
					"transitions": [
						{
							"jump": "query.all_animations_finished && query.is_jumping"
						},
						{
							"glaive": "query.all_animations_finished && query.is_on_ground"
						},
						{
							"attack": "variable.attack_time>0"
						},
						{
							"default": "!variable.glaive"
						}
					]
				},
				
				"attack": {
					"animations": [
					  "glaive_fast_attack_slash",
					  "glaive_no_back",
					  "shield_no_back"
					],
					"transitions": [
						{
							"glaive1": "query.all_animations_finished"
						},
						{
							"default": "!variable.glaive"
						}
					]
				},
				"attack1": {
					"animations": [
					  "glaive_fast_attack_slash_right",
					  "glaive_no_back",
					  "shield_no_back"
					],
					"transitions": [
						{
							"glaive2": "query.all_animations_finished"
						},
						{
							"default": "!variable.glaive"
						}
					]
				},
				"attack2": {
					"animations": [
					  "glaive_fast_attack_stab",
					  "glaive_no_back",
					  "shield_no_back"
					],
					"transitions": [
						{
							"glaive": "query.all_animations_finished"
						},
						{
							"default": "!variable.glaive"
						}
					]
				},
				"moving_attack": {
					"animations": [
					  "glaive_fast_moving_attack_slash",
					  "glaive_fast_attacking_move",
					  "glaive_no_back",
					  "shield_no_back"
					],
					"transitions": [
						{
							"move1": "query.all_animations_finished"
						},
						{
							"default": "!variable.glaive"
						}
					]
				},
				"moving_attack1": {
					"animations": [
					  "glaive_fast_moving_attack_slash_right",
					  "glaive_fast_attacking_move",
					  "glaive_no_back",
					  "shield_no_back"
					],
					"transitions": [
						{
							"move2": "query.all_animations_finished"
						},
						{
							"default": "!variable.glaive"
						}
					]
				},
				"moving_attack2": {
					"animations": [
					  "glaive_fast_moving_attack_stab",
					  "glaive_fast_attacking_move",
					  "glaive_no_back",
					  "shield_no_back"
					],
					"transitions": [
						{
							"move": "query.all_animations_finished"
						},
						{
							"default": "!variable.glaive"
						}
					]
				},
				"sprint_attack": {
					"animations": [
					  "glaive_fast_moving_attack_stab",
					  "glaive_fast_attacking_sprint",
					  "glaive_no_back",
					  "shield_no_back"
					],
					"transitions": [
						{
							"sprint": "query.all_animations_finished"
						},
						{
							"default": "!variable.glaive"
						}
					]
				},
				"sneak_attack": {
					"animations": [
					  "glaive_fast_sneak_attack",
					  "glaive_no_back",
					  "shield_no_back"
					],
					"transitions": [
						{
							"sneak": "query.all_animations_finished"
						},
						{
							"default": "!variable.glaive"
						}
					]
				},
				"jump_attack": {
					"animations": [
					  "glaive_fast_attack_slash_upwards",
					  "glaive_no_back",
					  "shield_no_back"
					],
					"transitions": [
						{
							"fall": "query.all_animations_finished && !query.is_on_ground"
						},
						{
							"glaive": "query.all_animations_finished && query.is_on_ground"
						},
						{
							"default": "!variable.glaive"
						}
					]
				}
			}
		}
	}
}