{
	"format_version": "1.10.0",
	"animation_controllers": {
		"controller.animation.longsword.attack": {
			"states": {
				"default": {
					"transitions": [
						{
							"unsheathe": "variable.longsword && !variable.longswordoh && !variable.shield_off && !v.dagger_left"
						},
						{
							"unsheathe_dual": "variable.longsword && variable.longswordoh && !variable.shield_off && !v.dagger_left"
						},
						{
							"unsheathe_shield": "variable.longsword && variable.shield_off"
						},
						{
							"unsheathe_dagger": "variable.longsword && variable.dagger_left"
						},
						{
							"undefault": "!query.is_item_name_any('slot.hotbar',0,'pixel:wooden_longsword') && !query.is_item_name_any('slot.hotbar',0,'pixel:stone_longsword')&&!query.is_item_name_any('slot.hotbar',0,'pixel:iron_longsword')&&!query.is_item_name_any('slot.hotbar',0,'pixel:golden_longsword')&&!query.is_item_name_any('slot.hotbar',0,'pixel:diamond_longsword')&&!query.is_item_name_any('slot.hotbar',0,'pixel:netherite_longsword')"
						}
					]
				},
				"undefault": {
					"transitions": [
						{
							"longsword": "variable.longsword && !variable.longswordoh && !variable.shield_off"
						},
						{
							"longsword_dual": "variable.longsword && variable.longswordoh && !variable.shield_off"
						},
						{
							"longsword_shield": "variable.longsword && !variable.longswordoh && variable.shield_off"
						},
						{
							"longsword_dagger": "variable.longsword && !variable.longswordoh && variable.dagger_left"
						},
						{
							"default": "query.is_item_name_any('slot.hotbar',0,'pixel:wooden_longsword')||query.is_item_name_any('slot.hotbar',0,'pixel:stone_longsword')||query.is_item_name_any('slot.hotbar',0,'pixel:iron_longsword')||query.is_item_name_any('slot.hotbar',0,'pixel:golden_longsword')||query.is_item_name_any('slot.hotbar',0,'pixel:diamond_longsword')||query.is_item_name_any('slot.hotbar',0,'pixel:netherite_longsword')"
						}
					]
				},
				"unsheathe": {
					"animations": [
					  "longsword_unsheathe"
					],
					"transitions": [
						{
							"longsword": "query.all_animations_finished"
						},
						{
							"default": "!variable.longsword"
						}
					]
				},
				"unsheathe_dual": {
					"animations": [
					  "longsword_unsheathe_dual"
					],
					"transitions": [
						{
							"longsword_dual": "query.all_animations_finished"
						},
						{
							"default": "!variable.longsword"
						}
					]
				},
				"unsheathe_shield": {
					"animations": [
					  "longsword_unsheathe_shield"
					],
					"transitions": [
						{
							"longsword_shield": "query.all_animations_finished"
						},
						{
							"default": "!variable.longsword"
						}
					]
				},
				"unsheathe_dagger": {
					"animations": [
					  "longsword_unsheathe_dagger"
					],
					"transitions": [
						{
							"longsword_dagger": "query.all_animations_finished"
						},
						{
							"default": "!variable.longsword"
						}
					]
				},
				"ride": {
					"animations": [
					  "longsword_riding_pose",
					  "shield_no_back",
					  "glaive_no_back"
					],
					"transitions": [
						{
							"default": "!variable.longsword"
						},
						{
							"longsword": "!query.is_riding"
						}
					]
				},
				"longsword_shield": {
					"animations": [
				      {
				        "longsword_shield_base_pose": "!query.is_moving"
				      },
				      {
				        "longsword_shield_move": "query.is_moving && !query.is_sprinting"
				      },
				      {
				        "longsword_shield_sprint": "query.is_moving && query.is_sprinting"
				      },
"longsword_back_none",
				     "shield_no_back"
					],
					"transitions": [
						{
							"default": "!variable.longsword"
						},
						{
							"longsword_dagger": "variable.longsword && !variable.longswordoh && variable.shield_off && v.dagger_left"
						},
						{
							"longsword_dual": "variable.longsword && variable.longswordoh && !variable.shield_off && !v.dagger_left"
						},
						{
							"longsword": "variable.longsword && !variable.longswordoh && !variable.shield_off"
						},
						{
							"ride": "query.is_riding"
						},
						{
							"sneak_shield": "query.is_sneaking"
						}
					],
					"blend_transition": 0.1
				},
				"sneak_shield": {
				    "animations":[
				      {
				        "longsword_shield_block": "!query.is_moving && !variable.longswordoh"
				      },
				      {
				          "shield_no_back": "query.get_equipped_item_name('off_hand') == 'shield'"
				      },
				      {
				        "longsword_shield_sneak_move": "query.is_moving"
				      },
				      "longsword_back_none"
				    ],
					"transitions": [
						{
							"default": "!variable.longsword"
						},
						{
							"sneak_dagger": "variable.longsword && !variable.longswordoh && variable.shield_off && v.dagger_left"
						},
						{
							"sneak_dual": "variable.longsword && variable.longswordoh && !variable.shield_off && !v.dagger_left"
						},
						{
							"sneak": "variable.longsword && !variable.longswordoh && !variable.shield_off"
						},
						{
							"longsword_shield": "!query.is_sneaking"
						}
					],
					"blend_transition": 0.1
				},
				"longsword_dual": {
					"animations": [
				      {
				        "dual_longsword_base_pose": "!query.is_moving"
				      },
				      {
				        "dual_longsword_move": "query.is_moving && !query.is_sprinting"
				      },
				      {
				        "dual_longsword_sprint": "query.is_moving && query.is_sprinting"
				      },
"longsword_back_none"
					],
					"transitions": [
						{
							"default": "!variable.longsword"
						},
						{
							"longsword_dagger": "variable.longsword && !variable.longswordoh && !variable.shield_off && v.dagger_left"
						},
						{
							"longsword_shield": "variable.longsword && !variable.longswordoh && variable.shield_off && !v.dagger_left"
						},
						{
							"longsword": "variable.longsword && !variable.longswordoh && !variable.shield_off"
						},
{
							"ride": "query.is_riding"
						},
						{
							"sneak_dual": "query.is_sneaking"
						}
					],
					"blend_transition": 0.1
				},
				"sneak_dual": {
				    "animations":[
				      {
				        "dual_longsword_sneak": "!query.is_moving && !variable.longswordoh"
				      },
				      {
				        "dual_longsword_sneak_move": "query.is_moving"
				      },
				      "longsword_back_none"
				    ],
					"transitions": [
						{
							"default": "!variable.longsword"
						},
						{
							"sneak_shield": "variable.longsword && !variable.longswordoh && variable.shield_off && !v.dagger_left"
						},
						{
							"sneak_dagger": "variable.longsword && !variable.longswordoh && variable.shield_off && v.dagger_left"
						},
						{
							"sneak": "variable.longsword && !variable.longswordoh && !variable.shield_off"
						},
						{
							"longsword_dual": "!query.is_sneaking"
						}
					],
					"blend_transition": 0.1
				},
				"longsword_dagger": {
					"animations": [
				      {
				        "longsword_dagger_base_pose": "!query.is_moving"
				      },
				      {
				        "longsword_dagger_move": "query.is_moving && !query.is_sprinting"
				      },
				      {
				        "longsword_dagger_sprint": "query.is_moving && query.is_sprinting"
				      },
"longsword_back_none",
				     "shield_no_back"
					],
					"transitions": [
						{
							"default": "!variable.longsword"
						},
						{
							"longsword_shield": "variable.longsword && !variable.longswordoh && variable.shield_off && !v.dagger_left"
						},
						{
							"longsword_dual": "variable.longsword && variable.longswordoh && !variable.shield_off && !v.dagger_left"
						},
						{
							"longsword": "variable.longsword && !variable.longswordoh && !variable.shield_off"
						},
{
							"ride": "query.is_riding"
						},
						{
							"sneak_dagger": "query.is_sneaking"
						}
					],
					"blend_transition": 0.1
				},
				"sneak_dagger": {
				    "animations":[
				      {
				        "longsword_dagger_sneak": "!query.is_moving"
				      },
				      {
				          "shield_no_back": "query.get_equipped_item_name('off_hand') == 'shield'"
				      },
				      {
				        "longsword_dagger_sneak_move": "query.is_moving"
				      },
				      "longsword_back_none"
				    ],
					"transitions": [
						{
							"default": "!variable.longsword"
						},
						{
							"sneak": "variable.longsword && !variable.longswordoh && !variable.shield_off && !v.dagger_left"
						},
						{
							"sneak_dual": "variable.longsword && variable.longswordoh && !variable.shield_off && !v.dagger_left"
						},
						{
							"sneak_shield": "variable.longsword && !variable.longswordoh && variable.shield_off && !v.dagger_left"
						},
{
							"ride": "query.is_riding"
						},
						{
							"longsword_dagger": "!query.is_sneaking"
						}
					],
					"blend_transition": 0.1
				},
				"longsword": {
					"animations": [
				      {
				        "longsword_base_pose": "!query.is_moving"
				      },
				      {
				        "longsword_move": "query.is_moving && !query.is_sprinting"
				      },
				      {
				        "longsword_sprint": "query.is_moving && query.is_sprinting"
				      },
"longsword_back_none"
					],
					"transitions": [
						{
							"default": "!variable.longsword"
						},
						{
							"longsword_shield": "variable.longsword && !variable.longswordoh && variable.shield_off"
						},
						{
							"longsword_dual": "variable.longsword && variable.longswordoh && !variable.shield_off && !v.dagger_left"
						},
						{
							"longsword_dagger": "variable.longsword && !variable.longswordoh && variable.shield_off && v.dagger_left"
						},
{
							"ride": "query.is_riding"
						},
						{
							"sneak": "query.is_sneaking"
						}
					],
					"blend_transition": 0.1
				},
				"sneak": {
				    "animations":[
				      {
				        "longsword_sneak": "!query.is_moving && !variable.longswordoh"
				      },
				      {
				          "shield_no_back": "query.get_equipped_item_name('off_hand') == 'shield'"
				      },
				      {
				        "longsword_sneak_move": "query.is_moving"
				      },
				      "longsword_back_none"
				    ],
					"transitions": [
						{
							"default": "!variable.longsword"
						},
						{
							"sneak_shield": "variable.longsword && !variable.longswordoh && variable.shield_off"
						},
						{
							"sneak_dual": "variable.longsword && variable.longswordoh && !variable.shield_off && !v.dagger_left"
						},
						{
							"sneak_dagger": "variable.longsword && !variable.longswordoh && variable.shield_off && v.dagger_left"
						},
						{
							"longsword": "!query.is_sneaking && !variable.longswordoh"
						}
					],
					"blend_transition": 0.1
				},
				"attack_lunge": {
					"animations": [
					  "shield_no_back",				      "longsword_back_none"
					],
					"transitions": [
						{
							"longsword": "query.all_animations_finished"
						},
						{
							"default": "!variable.longsword"
						}
					]
				}
			}
		}
	}
}