{
	"format_version": "1.10.0",
	"animation_controllers": {
		"controller.animation.halnew.attack": {
			"states": {
				"default": {
					"transitions": [
						{
							"unsheathe": "variable.halberd"
						},
						{
							"undefault": "!query.is_item_name_any('slot.hotbar',0,'pixel:wooden_halberd') && !query.is_item_name_any('slot.hotbar',0,'pixel:stone_halberd') && !query.is_item_name_any('slot.hotbar',0,'pixel:iron_halberd') && !query.is_item_name_any('slot.hotbar',0,'pixel:golden_halberd') && !query.is_item_name_any('slot.hotbar',0,'pixel:diamond_halberd') && !query.is_item_name_any('slot.hotbar',0,'pixel:netherite_halberd')"
						}
					],
					"blend_transition": 0.1
				},
				"undefault": {
					"transitions": [
						{
							"halberd": "variable.halberd"
						},
						{
							"default": "query.is_item_name_any('slot.hotbar',0,'pixel:wooden_halberd')||query.is_item_name_any('slot.hotbar',0,'pixel:stone_halberd')||query.is_item_name_any('slot.hotbar',0,'pixel:iron_halberd')||query.is_item_name_any('slot.hotbar',0,'pixel:golden_halberd')||query.is_item_name_any('slot.hotbar',0,'pixel:diamond_halberd')||query.is_item_name_any('slot.hotbar',0,'pixel:netherite_halberd')"
						}
					],
					"blend_transition": 0.1
				},
				"unsheathe": {
					"animations": [
					  "halberd_fast_unsheathe",
					  "no_offhand"
					],
					"transitions": [
						{
							"halberd": "query.all_animations_finished"
						},
						{
							"default": "!variable.halberd"
						}
					],
					"blend_transition": 0.1
				},
				"halberd": {
					"animations": [
					  "halberd_fast_pose",
					  {
					    "no_offhand": "query.get_equipped_item_name('off_hand') != ''"
					  },
				      "halberd_no_back"
					],
					"transitions": [
						{
							"attack": "variable.attack_time>0 && !query.is_sprinting"
						},
						{
							"default": "!variable.halberd"
						},
					    {
					        "sprint": "query.is_sprinting"
					    },
						{
							"ride": "query.is_riding"
						},
					    {
					        "move": "query.is_moving"
					    },
						{
							"jump": "query.is_jumping"
						},
						{
							"sneak": "query.is_sneaking"
						},
						{
							"fall": "!query.is_jumping && !query.is_on_ground"
						}
					]
				},
				"move": {
					"animations": [
					  {
					    "no_offhand": "query.get_equipped_item_name('off_hand') != ''"
					  },
					  {
					  "halberd_fast_move": "query.is_moving && !query.is_sprinting"
					  },
				      "halberd_no_back"
					],
					"transitions": [
						{
							"attack_lunge": "variable.attack_time>0 && !query.is_sprinting"
						},
						{
							"default": "!variable.halberd"
						},
						{
							"jump": "query.is_jumping"
						},
						{
							"sneak": "query.is_sneaking"
						},
					    {
					        "halberd": "!query.is_moving"
					    },
						{
							"ride": "query.is_riding"
						},
					    {
					        "sprint": "query.is_sprinting"
					    },
						{
							"fall": "!query.is_jumping && !query.is_on_ground"
						}
					]
				},
				"ride": {
					"animations": [
					  "halberd_fast_riding_pose",
					  "shield_no_back"
					],
					"transitions": [
						{
							"default": "!variable.halberd"
						},
						{
							"halberd": "!query.is_riding"
						}
					]
				},
				"sprint": {
					"animations": [
					  {
					    "no_offhand": "query.get_equipped_item_name('off_hand') != ''"
					  },
				"halberd_fast_sprint",
				      "halberd_no_back"
					],
					"transitions": [
						{
							"default": "!variable.halberd"
						},
						{
							"jump": "query.is_jumping"
						},
						{
							"sneak": "query.is_sneaking"
						},
						{
							"ride": "query.is_riding"
						},
					    {
					        "halberd": "!query.is_sprinting && !query.is_moving"
					    },
					    {
					        "move": "!query.is_sprinting && query.is_moving"
					    },
						{
							"fall": "!query.is_jumping && !query.is_on_ground"
						},
						{
							"sprinting_attack": "variable.attack_time>0 && query.is_sprinting"
						}
					]
				},
				"halberd2": {
					"animations": [
					  "halberd_fast_bob",
					  {
					    "no_offhand": "query.get_equipped_item_name('off_hand') != ''"
					  },
				      "halberd_no_back"
					],
					"transitions": [
						{
							"attack1": "variable.attack_time>0 && !query.is_sprinting"
						},
						{
							"default": "!variable.halberd"
						},
					    {
					        "sprint": "query.is_sprinting"
					    },
					    {
					        "move2": "query.is_moving"
					    },
						{
							"ride": "query.is_riding"
						},
						{
							"jump": "query.is_jumping"
						},
						{
							"sneak": "query.is_sneaking"
						},
						{
							"fall": "!query.is_jumping && !query.is_on_ground"
						}
					]
				},
				"move2": {
					"animations": [
					  {
					    "no_offhand": "query.get_equipped_item_name('off_hand') != ''"
					  },
					  {
					  "halberd_fast_move": "query.is_moving && !query.is_sprinting"
					  },
					  {
					  "halberd_fast_sprint": "query.is_sprinting"
					  },
				      "halberd_no_back"
					],
					"transitions": [
						{
							"moving_attack1": "variable.attack_time>0 && !query.is_sprinting"
						},
						{
							"default": "!variable.halberd"
						},
						{
							"jump": "query.is_jumping"
						},
						{
							"sneak": "query.is_sneaking"
						},
					    {
					        "halberd2": "!query.is_moving"
					    },
					    {
					        "sprint": "query.is_sprinting"
					    },
						{
							"fall": "!query.is_jumping && !query.is_on_ground"
						}
					]
				},
				"halberd3": {
					"animations": [
					  "halberd_fast_bob",
					  {
					    "no_offhand": "query.get_equipped_item_name('off_hand') != ''"
					  },
				      "halberd_no_back"
					],
					"transitions": [
						{
							"attack2": "variable.attack_time>0 && !query.is_sprinting"
						},
						{
							"default": "!variable.halberd"
						},
					    {
					        "sprint": "query.is_sprinting"
					    },
						{
							"ride": "query.is_riding"
						},
					    {
					        "move3": "query.is_moving"
					    },
						{
							"jump": "query.is_jumping"
						},
						{
							"sneak": "query.is_sneaking"
						},
						{
							"fall": "!query.is_jumping && !query.is_on_ground"
						}
					]
				},
				"move3": {
					"animations": [
					  {
					    "no_offhand": "query.get_equipped_item_name('off_hand') != ''"
					  },
					  {
					  "halberd_fast_move": "query.is_moving && !query.is_sprinting"
					  },
					  {
					  "halberd_fast_sprint": "query.is_sprinting"
					  },
				      "halberd_no_back"
					],
					"transitions": [
						{
							"moving_attack2": "variable.attack_time>0 && !query.is_sprinting"
						},
						{
							"default": "!variable.halberd"
						},
						{
							"jump": "query.is_jumping"
						},
						{
							"sneak": "query.is_sneaking"
						},
					    {
					        "halberd3": "!query.is_moving"
					    },
					    {
					        "sprint": "query.is_sprinting"
					    },
						{
							"fall": "!query.is_jumping && !query.is_on_ground"
						}
					]
				},
				"sneak": {
					"animations": [
					  {
					    "no_offhand": "query.get_equipped_item_name('off_hand') != ''"
					  },
					  {
				        "halberd_fast_sneak": "!query.is_moving"
					  },
					  {
				        "halberd_fast_sneak_move": "query.is_moving"
					  },
				      "halberd_no_back"
					],
					"transitions": [
						{
							"sneak_attack": "variable.attack_time>0 && !query.is_sprinting"
						},
						{
							"default": "!variable.halberd"
						},
						{
							"jump": "query.is_jumping"
						},
						{
							"fall": "!query.is_jumping && !query.is_on_ground"
						},
						{
							"halberd": "!query.is_sneaking"
						}
					]
				},
				"jump": {
					"animations": [
					    "no_offhand",
			"halberd_fast_jump",
				      "halberd_no_back"
					],
					"transitions": [
						{
							"jump_attack": "variable.attack_time>0 && !query.is_sprinting"
						},
						{
							"default": "!variable.halberd"
						},
						{
							"fall": "query.all_animations_finished"
						}
					]
				},
				"fall": {
					"animations": [
					  {
					    "no_offhand": "query.get_equipped_item_name('off_hand') != ''"
					  },
			"halberd_fast_fall",
				      "halberd_no_back"
					],
					"transitions": [
						{
							"jump_attack": "variable.attack_time>0 && !query.is_sprinting"
						},
						{
							"default": "!variable.halberd"
						},
						{
							"land": "query.is_on_ground"
						}
					]
				},
				"land": {
					"animations": [
					    "no_offhand",
			"halberd_fast_land",
				      "halberd_no_back"
					],
					"transitions": [
						{
							"default": "!variable.halberd"
						},
						{
							"jump": "query.is_jumping"
						},
						{
							"halberd": "query.all_animations_finished"
						}
					]
				},
				"sneak_attack": {
					"animations": [
					  "halberd_fast_sneak_attack",
					  "no_offhand",
				      "halberd_no_back"
					],
					"transitions": [
						{
							"default": "!variable.halberd"
						},
						{
							"sneak": "query.all_animations_finished"
						}
					]
				},
				"attack": {
					"animations": [
					  "halberd_fast_attack",
					  "no_offhand",
				      "halberd_no_back"
					],
					"transitions": [
						{
							"default": "!variable.halberd"
						},
						{
							"halberd2": "query.all_animations_finished"
						}
					]
				},
				"attack1": {
					"animations": [
					  "halberd_fast_attack_inverse",
					  "no_offhand",
				      "halberd_no_back"
					],
					"transitions": [
						{
							"default": "!variable.halberd"
						},
						{
							"halberd3": "query.all_animations_finished"
						}
					]
				},
				"attack2": {
					"animations": [
					  "halberd_fast_attack2",
					  "no_offhand",
				      "halberd_no_back"
					],
					"transitions": [
						{
							"default": "!variable.halberd"
						},
						{
							"halberd": "query.all_animations_finished"
						}
					]
				},
				"moving_attack": {
					"animations": [
					  "halberd_fast_moving_attack_side0",
					  "no_offhand",
					  "halberd_fast_attacking_move",
				      "halberd_no_back"
					],
					"transitions": [
						{
							"default": "!variable.halberd"
						},
						{
							"move2": "query.all_animations_finished"
						}
					]
				},
				"moving_attack1": {
					"animations": [
					  "halberd_fast_moving_attack_inverse_side0",
					  "halberd_fast_attacking_move",
					  "no_offhand",
				      "halberd_no_back"
					],
					"transitions": [
						{
							"default": "!variable.halberd"
						},
						{
							"move3": "query.all_animations_finished"
						}
					]
				},
				"moving_attack2": {
					"animations": [
					  "halberd_fast_moving_attack_side1",
					  "no_offhand",
					  "halberd_fast_attacking_move",
				      "halberd_no_back"
					],
					"transitions": [
						{
							"default": "!variable.halberd"
						},
						{
							"move": "query.all_animations_finished"
						}
					]
				},
				"sprinting_attack": {
					"animations": [
					  "halberd_fast_moving_attack_poke",
					  "no_offhand",
					  "halberd_fast_attacking_sprint",
				      "halberd_no_back"
					],
					"transitions": [
						{
							"default": "!variable.halberd"
						},
						{
							"move": "query.all_animations_finished"
						}
					]
				},
				"jump_attack": {
					"animations": [
					  "halberd_fast_attack_upwards",
					  "no_offhand",
				      "halberd_no_back"
					],
					"transitions": [
						{
							"default": "!variable.halberd"
						},
						{
							"halberd": "query.all_animations_finished"
						}
					]
				},
				"attack_lunge": {
					"animations": [
					  "halberd_fast_poke",
					  "no_offhand",
				      "halberd_no_back"
					],
					"transitions": [
						{
							"default": "!variable.halberd"
						},
						{
							"halberd2": "query.all_animations_finished"
						}
					]
				}
			}
		}
	}
}