{
	"format_version": "1.10.0",
	"animation_controllers": {
		"controller.animation.pole_hammer.attack": {
			"states": {
				"default": {
					"transitions": [
						{
							"unsheathe": "variable.pole_hammer"
						},
						{
							"undefault": "!query.is_item_name_any('slot.hotbar',0,'pixel:pole_hammer')"
						}
					]
				},
				"undefault": {
					"transitions": [
						{
							"polham": "variable.pole_hammer"
						},
						{
							"default": "query.is_item_name_any('slot.hotbar',0,'pixel:pole_hammer')"
						}
					]
				},
				"unsheathe": {
					"animations": [
					  "hammer_unsheathe",
					  "no_offhand"
					],
					"transitions": [
						{
							"polham": "query.all_animations_finished"
						},
						{
							"default": "!variable.pole_hammer"
						}
					]
				},
				"polham": {
					"animations": [
					  "hammer_base_pose",
					  "polham_no_back",
					  "no_offhand"
					],
					"transitions": [
						{
							"attack": "variable.attack_time>0"
						},
					    {
					  	  "sprint":"query.is_moving && query.is_sprinting"
					    },
						{
							"ride": "query.is_riding"
						},
						{
							"sneak": "query.is_sneaking"
						},
					    {
						"move":"query.is_moving"
					    },
						{
							"default": "!variable.pole_hammer"
						}
					],
					"blend_transition": 0.1
				},
				"ride": {
					"animations": [
					  {
					    "no_attack_ride": "!query.is_moving"
					  },
					  {
					    "no_attack_ride_move": "query.is_moving"
					  }
					],
					"transitions": [
						{
							"default": "!variable.pole_hammer"
						},
						{
							"polham": "!query.is_riding"
						}
					]
				},
				"attack": {
					"animations": [
					  "no_offhand",
					  "polham_no_back"
					],
					"transitions": [
						{
							"polham": "query.all_animations_finished"
						},
						{
							"default": "!variable.pole_hammer"
						}
					]
				},
				"sneak": {
					"animations": [
					  "hammer_sneak",
					  "no_offhand",
					  "polham_no_back"
					],
					"transitions": [
						{
							"sneak_move": "query.is_moving && query.is_sneaking"
						},
					    {
						"polham":"!query.is_sneaking"
					    },
						{
							"default": "!variable.pole_hammer"
						}
					]
				},
				"sneak_move": {
					"animations": [
					  "hammer_sneak_move",
					  "no_offhand",
					  "polham_no_back"
					],
					"transitions": [
						{
							"sneak": "!query.is_moving && query.is_sneaking"
						},
					    {
						"polham":"!query.is_sneaking"
					    },
						{
							"default": "!variable.pole_hammer"
						}
					]
				},
				"move": {
					"animations": [
					  "hammer_move",
					  "no_offhand",
					  "polham_no_back"
					],
					"transitions": [
					    {
					  	  "sprint":"query.is_moving && query.is_sprinting"
					    },
						{
							"ride": "query.is_riding"
						},
					    {
						"sneak":"query.is_sneaking"
					    },
					    {
						"polham":"!query.is_moving"
					    },
						{
							"default": "!variable.pole_hammer"
						}
					]
				},
				"sprint": {
					"animations": [
					  "hammer_sprint",
					  "no_offhand",
					  "polham_no_back"
					],
					"transitions": [
					    {
					  	  "move":"query.is_moving && !query.is_sprinting"
					    },
					    {
						"sneak":"query.is_sneaking"
					    },
					    {
						"polham":"!query.is_moving"
					    },
						{
							"default": "!variable.pole_hammer"
						}
					]
				}
			}
		}
	}
}