{
    "format_version": "1.8.0",
    "minecraft:client_entity": {
        "description": {
            "identifier": "minecraft:slime",
            "materials": {
                "default": "slime",
                "outer": "slime_outer",
                "UP_box": "entity_emissive_alpha"
            },
            "textures": {
                "UP_box": "models/entity/UP_box",
                "transparent": "models/entity/transparent",
                "default": "textures/entity/slime/slime"
            },
            "particle_effects": {

                "invisible": "invisible",
                "status_setup": "status_setup",
                "health_setup": "health_setup",
                "hostile_warnings": "hostile_warnings",
                "pos": "pos",
                "hostile_distance_setup": "hostile_distance_setup",
                "locate_line": "locate_line",
                "locate_mob": "locate_slime",
				"pos_egg": "pos_slime"
            },
            "sound_effects": {
                "mob_sound": "loud_mob.slime.big"
            },

            "geometry": {
                "default": "geometry.slime",
                "armor": "geometry.slime.armor",
                "target_rotate": "geometry.target_rotate_-5",
                "block": "geometry.block_-5"
            },
            "animations": {
                "target_rotate": "animation.target_rotate",
                "camera_rotate": "animation.camera_rotate"
            },
            "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"},
					{"hostile_distance": "controller.animation.hostile_distance"}
            ],
            "scripts": {
                "pre_animation": [
                    "variable.squish_factor = (query.previous_squish_value + (query.current_squish_value - query.previous_squish_value) * query.frame_alpha);",
                    "variable.bounce = 1 / ((variable.squish_factor / (query.variant * 0.5 + 1)) + 1);",
                    "variable.horizontal_scale_amount = variable.bounce * query.variant;",
                    "variable.vertical_scale_amount = (1 / variable.bounce) * query.variant;"
                ],
                "scaleX": "variable.horizontal_scale_amount",
                "scaleY": "variable.vertical_scale_amount",
                "scaleZ": "variable.horizontal_scale_amount"
            },
            "render_controllers": [
                "controller.render.target_rotate",
                "controller.render.block",
                "controller.render.slime",
                "controller.render.slime_armor"
            ],
            "spawn_egg": {
                "texture": "spawn_egg",
                "texture_index": 10
            }
        }
    }
}
