{
	"format_version": "1.10.0",
	"minecraft:attachable": {
		"description": {
			"identifier": "manalabs_zombie:siegebreaker",
			"materials": {
				"default": "entity_emissive_alpha",
				"enchanted": "entity_alphatest_glint"
			},
			"textures": {
				"default": "textures/manalabs/zombie/attachables/siegebreaker",
				"enchanted": "textures/misc/enchanted_item_glint"
			},
			"geometry": {
				"default": "geometry.manalabs_zombie.siegebreaker"
			},
			"animations": {
				"attack_swing_right": "animation.manalabs_zombie.siegebreaker.attack_swing_right",
				"attack_swing_left": "animation.manalabs_zombie.siegebreaker.attack_swing_left",
				"attack_launch_all": "animation.manalabs_zombie.siegebreaker.attack_launch_all",
				"attack_launch": "animation.manalabs_zombie.siegebreaker.attack_launch",
				"attack_in_air": "animation.manalabs_zombie.siegebreaker.attack_in_air",
				"attack_slam": "animation.manalabs_zombie.siegebreaker.attack_slam",
				"hold_first_person": "animation.manalabs_zombie.siegebreaker.hold_first_person",
				"hold_third_person": "animation.manalabs_zombie.siegebreaker.hold_third_person"
			},
			"scripts": {
				"animate": [
					{
						"hold_first_person": "c.is_first_person"
					},
					{
						"hold_third_person": "!c.is_first_person"
					},
					{
						"attack_launch_all": "q.is_using_item"
					},
					{
						"attack_swing_right": "q.is_using_item && q.item_in_use_duration > 0.1 &&  q.target_y_rotation >= 0"
					},
					{
						"attack_swing_left": "q.is_using_item && q.item_in_use_duration > 0.1 && q.target_y_rotation < 0"
					}
				]
			},
			"render_controllers": ["controller.render.item_default"]
		}
	}
}
