{
    "format_version": "1.8.0",
    "minecraft:client_entity": {
        "description": {
            "identifier": "minecraft:vex",
            "min_engine_version": "1.8.0",
            "materials": {
                "default": "vex",
                "UP_box": "entity_emissive_alpha"
            },
            "textures": {
                "UP_box": "models/entity/UP_box",
                "transparent": "models/entity/transparent",
                "default": "textures/entity/vex/vex",
                "charging": "textures/entity/vex/vex_charging"
            },
            "geometry": {
                "default": "geometry.vex.v1.8",
                "target_rotate": "geometry.target_rotate_5",
                "block": "geometry.block_5"
            },
            "scripts": {
                "pre_animation": [
                    "variable.tcos0 = (Math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 57.3;",
                    "variable.empty_handed  = !query.is_item_equipped(0) && !query.is_item_equipped(1);"
                ],
                "scale": "1.0"
            },
            "particle_effects": {

                "invisible": "invisible",
                "status_setup": "status_setup",
                "health_setup": "health_setup",
                "hostile_warnings": "hostile_warnings",
                "pos": "pos",
                "locate_line": "locate_line",
                "locate_mob": "locate_vex",
				"pos_egg": "pos_vex"
            },
            "sound_effects": {
                "mob_sound": "loud_mob.vex.charge"
            },

            "animations": {
                "target_rotate": "animation.target_rotate",
                "camera_rotate": "animation.camera_rotate",

                "look_at_target_default": "animation.humanoid.look_at_target.default",
                "vex_charge": "animation.vex.charge",
                "vex_idle": "animation.vex.idle"
            },
            "animation_controllers": [
					{"1": "controller.animation.target_rotate_setup"}, 
					{"1.1": "controller.animation.camera_rotate_setup"}, 
					{"2": "controller.animation.invisible"}, 
					{"3": "controller.animation.status"}, 
					{"4": "controller.animation.health"}, 
					{"5": "controller.animation.hostile_warnings"}, 
					{"6": "controller.animation.pos"}, 
					{"locate": "controller.animation.locate"},
					
                {
                    "look_at_target": "controller.animation.humanoid.look_at_target"}, 
					{"vex_charge": "controller.animation.vex.charge"}, 
					{"vex_idle": "controller.animation.vex.idle"}
            ],
            "render_controllers": [
                "controller.render.target_rotate",
                "controller.render.block",
                "controller.render.vex"
            ],
            "held_item_ignores_lighting": true,
            "spawn_egg": {
                "texture": "spawn_egg",
                "texture_index": 41
            }
        }
    }
}
