{
	"format_version": "1.10.0",
	"minecraft:client_entity": {
		"description": {
			"identifier": "shapescape_mb:phantom_boss",
			"spawn_egg": {
				"base_color": "#91221a",
				"overlay_color": "#91221a"
			},
			"materials": {
				"default": "entity_emissive_alpha"
			},
			"textures": {
				"default": "textures/shapescape/mb/entity/phantom_boss/phantom_boss"
			},
			"geometry": {
				"default": "geometry.shapescape_mb.phantom_boss"
			},
			"scripts": {
				"initialize": ["variable.test = q.life_time < 2 ? 1 : 0;"],
				"pre_animation": [
					"variable.black_overlay = q.is_sheared ? q.life_time : 0;"
				],
				"animate": ["ac.general"]
			},
			"animations": {
				// AC
				"ac.general": "controller.animation.shapescape_mb.phantom_boss.general",
				"ac.move": "controller.animation.shapescape_mb.phantom_boss.move",
				"ac.melee_attack": "controller.animation.shapescape_mb.phantom_boss.melee_attack",
				"ac.wing_attack": "controller.animation.shapescape_mb.phantom_boss.wing_attack",
				"ac.dive_attack": "controller.animation.shapescape_mb.phantom_boss.dive_attack",
				// ANIMATIONS
				"a.look_at_target": "animation.shapescape_mb.phantom_boss.look_at_target",
				"a.idle": "animation.shapescape_mb.phantom_boss.idle",
				"a.walk": "animation.shapescape_mb.phantom_boss.walk",
				"a.wing_attack": "animation.shapescape_mb.phantom_boss.wing_attack",
				"a.dive_attack": "animation.shapescape_mb.phantom_boss.dive_attack",
				"a.melee_attack": "animation.shapescape_mb.phantom_boss.melee_attack",
				"a.death": "animation.shapescape_mb.phantom_boss.death"
			},
			"particle_effects": {
				"wing_attack": "shapescape_mb:wing_attack",
				"dive_attack_1": "shapescape_mb:dive_attack_1",
				"death_phantom_1": "shapescape_mb:death_phantom_1",
				"death_phantom_2": "shapescape_mb:death_phantom_2"
			},
			"sound_effects": {
				"walk": "shapescape_mb.phantom_boss.walk",
				"melee_attack": "shapescape_mb.phantom_boss.melee_attack",
				"wing_attack_1": "shapescape_mb.phantom_boss.wing_attack_1",
				"wing_attack_2": "shapescape_mb.phantom_boss.wing_attack_2",
				"dive_attack_1": "shapescape_mb.phantom_boss.dive_attack_1",
				"dive_attack_2": "shapescape_mb.phantom_boss.dive_attack_2",
				"dive_attack_3": "shapescape_mb.phantom_boss.dive_attack_3"
			},
			"render_controllers": ["controller.render.shapescape_mb.phantom_boss"]
		}
	}
}
