{
	"format_version": "1.10.0",
	"minecraft:client_entity": {
		"description": {
			"identifier": "manalabs_zombie:doc_zombie",
			"materials": {
				"default": "entity_alphatest"
			},
			"particle_effects": {
				"syringe_shot_smoke": "minecraft:llama_spit_smoke",
				"flamethrower_idle": "minecraft:basic_flame_particle",
				"flamethrower_shot_1": "minecraft:mobflame_single",
				"flamethrower_shot_2": "minecraft:basic_smoke_particle"
			},
			"textures": {
				"default": "textures/manalabs/zombie/entity/doc_zombie",
				"base": "textures/manalabs/zombie/entity/doc_zombie_base",
				// Glow
				"glow": "textures/manalabs/zombie/entity/doc_zombie_glow",
				// Health
				"health_green": "textures/manalabs/zombie/entity/doc_zombie_health_green",
				"health_orange": "textures/manalabs/zombie/entity/doc_zombie_health_orange",
				"health_red": "textures/manalabs/zombie/entity/doc_zombie_health_red"
			},
			"geometry": {
				"default": "geometry.manalabs_zombie.doc_zombie"
			},
			"animations": {
				"idle": "animation.manalabs_zombie.doc_zombie.idle",
				"walk": "animation.manalabs_zombie.doc_zombie.walk",
				"run": "animation.manalabs_zombie.doc_zombie.run",
				"turn_left": "animation.manalabs_zombie.doc_zombie.turn_left",
				"turn_right": "animation.manalabs_zombie.doc_zombie.turn_right",
				"claw_spin": "animation.manalabs_zombie.doc_zombie.claw_spin",
				"flamethrower_check": "animation.manalabs_zombie.doc_zombie.flamethrower_check",
				"no_potion": "animation.manalabs_zombie.doc_zombie.no_potion",
				"no_thruster_flames": "animation.manalabs_zombie.doc_zombie.no_thruster_flames",
				"potion_check": "animation.manalabs_zombie.doc_zombie.potion_check",
				"taunt_claw": "animation.manalabs_zombie.doc_zombie.taunt_claw",
				"taunt_laugh": "animation.manalabs_zombie.doc_zombie.taunt_laugh",
				"syringe_arm_off": "animation.manalabs_zombie.doc_zombie.syringe_arm_off",
				"syringe_arm_turing_on": "animation.manalabs_zombie.doc_zombie.syringe_arm_turing_on",
				"syringe_arm_turing_off": "animation.manalabs_zombie.doc_zombie.syringe_arm_turing_off",
				"syringe_arm_on": "animation.manalabs_zombie.doc_zombie.syringe_arm_on",
				"scuttle": "animation.manalabs_zombie.doc_zombie.scuttle",
				"aggro": "animation.manalabs_zombie.doc_zombie.aggro",
				"attack_flamethrower": "animation.manalabs_zombie.doc_zombie.attack_flamethrower",
				"attack_stomp_right": "animation.manalabs_zombie.doc_zombie.attack_stomp_right",
				"attack_stomp_left": "animation.manalabs_zombie.doc_zombie.attack_stomp_left",
				"attack_potion": "animation.manalabs_zombie.doc_zombie.attack_potion",
				"attack_syringe": "animation.manalabs_zombie.doc_zombie.attack_syringe",
				"attack_drone_spawn": "animation.manalabs_zombie.doc_zombie.attack_drone_spawn",
				"jump": "animation.manalabs_zombie.doc_zombie.jump",
				"rocket_jump": "animation.manalabs_zombie.doc_zombie.rocket_jump",
				"rocket_hover": "animation.manalabs_zombie.doc_zombie.rocket_hover",
				"rocket_fall": "animation.manalabs_zombie.doc_zombie.rocket_fall",
				"hit": "animation.manalabs_zombie.doc_zombie.hit",
				"hit_heavy": "animation.manalabs_zombie.doc_zombie.hit_heavy",
				"death": "animation.manalabs_zombie.doc_zombie.death",
				"rotate_towards_target": "animation.manalabs_zombie.doc_zombie.rotate_towards_target",
				"spawn": "animation.manalabs_zombie.doc_zombie.spawn",
				"flamethrower_idle_particle": "animation.manalabs_zombie.doc_zombie.flamethrower_idle_particle",

				"ac.movement": "controller.animation.manalabs_zombie.doc_zombie.movement",
				"ac.knockback_attack": "controller.animation.manalabs_zombie.doc_zombie.knockback_attack",
				"ac.summon_attack": "controller.animation.manalabs_zombie.doc_zombie.summon_attack",
				"ac.hovering": "controller.animation.manalabs_zombie.doc_zombie.hovering",
				"ac.random_idle": "controller.animation.manalabs_zombie.doc_zombie.random_idle",
				"ac.shooting_attack": "controller.animation.manalabs_zombie.doc_zombie.shooting_attack",
				"ac.rotate": "controller.animation.manalabs_zombie.doc_zombie.rotate",
				"ac.hurt": "controller.animation.manalabs_zombie.doc_zombie.hurt",
				"ac.death": "controller.animation.manalabs_zombie.doc_zombie.death"
			},
			"scripts": {
				"pre_animation": [
					"v.choose_knockback_attack = math.random(0, 100);",
					"v.idle_delay = math.random(10, 30) + q.life_time;",
					"v.choose_idle = math.random(0, 100);",
					"v.choose_hurt = math.random(0, 100);"
				],
				"animate": [
					{ "idle": "q.health > 1" },
					{ "flamethrower_idle_particle": "q.health > 1" },
					{ "ac.movement": "q.health > 1 && !q.property('manalabs_zombie:hovering')" },
					{ "ac.knockback_attack": "q.health > 1" },
					{ "ac.summon_attack": "q.health > 1" },
					{
						"no_thruster_flames": "q.health > 1 && !q.property('manalabs_zombie:hovering')"
					},
					{ "ac.hovering": "q.health > 1" },
					{ "ac.random_idle": "q.health > 1" },
					{ "ac.shooting_attack": "q.health > 1" },
					// { "ac.rotate": "q.health > 1 && !q.property('manalabs_zombie:hovering')" },
					{ "ac.hurt": "q.health > 1" },
					{ "spawn": "q.property('manalabs_zombie:digging_out')" },
					"ac.death"
				]
			},
			"render_controllers": ["controller.render.manalabs_zombie.doc_zombie"],
			"sound_effects": {
				"spawn": "manalabs_zombie.doc_zombie.spawn",
				"angry": "manalabs_zombie.doc_zombie.angry",
				"attack": "manalabs_zombie.doc_zombie.attack",
				"attack_charge": "manalabs_zombie.doc_zombie.attack_charge",
				"flame_attack": "manalabs_zombie.doc_zombie.flame_attack",
				"projectile_attack": "manalabs_zombie.doc_zombie.projectile_attack",
				"random_attack": "manalabs_zombie.doc_zombie.random_attack",
				"rocket_boost_1": "manalabs_zombie.doc_zombie.rocket_boost_1",
				"rocket_fall": "manalabs_zombie.doc_zombie.rocket_fall",
				"rotate_or_movment": "manalabs_zombie.doc_zombie.rotate_or_movment",
				"hover_bot_spawn": "manalabs_zombie.hover_bot.spawn",
				"second_fight_sequence_start": "manalabs_zombie.doc_zombie.second_fight_sequence_start",
				"idle_click": "manalabs_zombie.hover_bot.idle",
				"flamethrower_check": "manalabs_zombie.hover_bot.angry",
				"step": "manalabs_zombie.doc_zombie.step",
				"hurt_heavy": "manalabs_zombie.doc_zombie.hurt_heavy"
			},
			"spawn_egg": {
				"base_color": "#288483",
				"overlay_color": "#2B7135"
			}
		}
	}
}
