{
  "format_version": "1.8.0",
  "minecraft:client_entity": {
    "description": {
      "identifier": "tsu_morph:slime_pet",
      "materials": {
        "default": "slime",
        "outer": "slime_outer"
      },
      "textures": {
        "default": "textures/entity/slime/slime"
      },
      "geometry": {
        "default": "geometry.slime",
        "armor": "geometry.slime.armor"
      },
      "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;"
        ]
      },
      "render_controllers": [
        "controller.render.slime",
        "controller.render.slime_armor"
      ],
      "spawn_egg": {
        "texture": "spawn_egg",
        "texture_index": 10
      }
    }
  }
}