{
	"format_version": "1.10.0",
	"minecraft:client_entity": {
		"description": {
			"identifier": "manalabs_zombie:amalgam",
			"materials": {
				"default": "entity_alphatest"
			},
			"textures": {
				"default": "textures/manalabs/zombie/entity/amalgam"
			},
			"geometry": {
				"default": "geometry.manalabs_zombie.amalgam"
			},
			"animations": {
				"idle": "animation.manalabs_zombie.amalgam.idle",
				"idle_back": "animation.manalabs_zombie.amalgam.idle_back",
				"walk": "animation.manalabs_zombie.amalgam.walk",
				"run": "animation.manalabs_zombie.amalgam.run",
				"upright": "animation.manalabs_zombie.amalgam.upright",
				"random_front_observing": "animation.manalabs_zombie.amalgam.random_front_observing",
				"random_back_head_observing_1": "animation.manalabs_zombie.amalgam.random_back_head_observing_1",
				"random_back_head_observing_2": "animation.manalabs_zombie.amalgam.random_back_head_observing_2",
				"random_back_head_observing_3": "animation.manalabs_zombie.amalgam.random_back_head_observing_3",
				"random_back_head_observing_4": "animation.manalabs_zombie.amalgam.random_back_head_observing_4",
				"random_back_head_observing_5": "animation.manalabs_zombie.amalgam.random_back_head_observing_5",
				"aggro": "animation.manalabs_zombie.amalgam.aggro",
				"arms_agitated": "animation.manalabs_zombie.amalgam.arms_agitated",
				"arms_reach_left": "animation.manalabs_zombie.amalgam.arms_reach_left",
				"arms_reach_right": "animation.manalabs_zombie.amalgam.arms_reach_reach",
				"attack_bite": "animation.manalabs_zombie.amalgam.attack_bite",
				"attack_swipe_left": "animation.manalabs_zombie.amalgam.attack_swipe_left",
				"attack_swipe_right": "animation.manalabs_zombie.amalgam.attack_swipe_right",
				"attack_big_swipe_left": "animation.manalabs_zombie.amalgam.attack_big_swipe_left",
				"attack_big_swipe_right": "animation.manalabs_zombie.amalgam.attack_big_swipe_right",
				"attack_spawn": "animation.manalabs_zombie.amalgam.attack_spawn",
				"hit_left": "animation.manalabs_zombie.amalgam.hit_left",
				"hit_right": "animation.manalabs_zombie.amalgam.hit_right",
				"hit_center": "animation.manalabs_zombie.amalgam.hit_center",
				"death": "animation.manalabs_zombie.amalgam.death",
				"spawn": "animation.manalabs_zombie.amalgam.spawn",

				"ac.movement": "controller.animation.manalabs_zombie.amalgam.movement",
				"ac.random_idle": "controller.animation.manalabs_zombie.amalgam.random_idle",
				"ac.random_idle_head_1": "controller.animation.manalabs_zombie.amalgam.random_idle_head_1",
				"ac.random_idle_head_2": "controller.animation.manalabs_zombie.amalgam.random_idle_head_2",
				"ac.random_idle_head_3": "controller.animation.manalabs_zombie.amalgam.random_idle_head_3",
				"ac.random_idle_head_4": "controller.animation.manalabs_zombie.amalgam.random_idle_head_4",
				"ac.random_idle_head_5": "controller.animation.manalabs_zombie.amalgam.random_idle_head_5",
				"ac.hurt": "controller.animation.manalabs_zombie.amalgam.hurt",
				"ac.knockback_attack": "controller.animation.manalabs_zombie.amalgam.knockback_attack",
				"ac.delayed_attack": "controller.animation.manalabs_zombie.amalgam.delayed_attack",
				"ac.summon_attack": "controller.animation.manalabs_zombie.amalgam.summon_attack",
				"ac.death": "controller.animation.manalabs_zombie.amalgam.death"
			},
			"scripts": {
				"pre_animation": [
					"v.idle_delay_0 = math.random(10, 30) + q.life_time;",
					"v.idle_delay_1 = math.random(5, 10) + q.life_time;",
					"v.idle_delay_2 = math.random(5, 10) + q.life_time;",
					"v.idle_delay_3 = math.random(5, 10) + q.life_time;",
					"v.idle_delay_4 = math.random(5, 10) + q.life_time;",
					"v.idle_delay_5 = math.random(5, 10) + q.life_time;",
					"v.choose_hit = math.random(0, 100);",
					"v.choose_knockback_attack = math.random(0, 100);",
					"v.choose_delayed_attack = math.random(0, 100);"
				],
				"animate": [
					{ "idle_back": "q.health > 1" },
					{ "idle": "q.health > 1" },
					{ "ac.movement": "q.health > 1" },
					{ "ac.random_idle": "q.health > 1 && q.ground_speed < 0.1" },
					{ "ac.random_idle_head_1": "q.health > 1" },
					{ "ac.random_idle_head_2": "q.health > 1" },
					{ "ac.random_idle_head_3": "q.health > 1" },
					{ "ac.random_idle_head_4": "q.health > 1" },
					{ "ac.random_idle_head_5": "q.health > 1" },
					{ "ac.hurt": "q.health > 1" },
					{ "ac.knockback_attack": "q.health > 1" },
					{ "ac.delayed_attack": "q.health > 1" },
					{ "ac.summon_attack": "q.health > 1" },
					"ac.death",
					{ "spawn": "q.property('manalabs_zombie:digging_out')" }
				]
			},
			"render_controllers": ["controller.render.default"],
			"sound_effects": {
				"attack": "manalabs_zombie.amalgam.attack",
				"attack_big": "manalabs_zombie.amalgam.attack_big",
				"mouth_open": "manalabs_zombie.amalgam.mouth_open",
				"pre_spawn_breeze": "manalabs_zombie.amalgam.pre_spawn_breeze",
				"roar": "manalabs_zombie.amalgam.roar",
				"spawn_roar": "manalabs_zombie.amalgam.spawn_roar"
			},
			"spawn_egg": {
				"base_color": "#288483",
				"overlay_color": "#2B7135"
			}
		}
	}
}
