{
  "format_version": "1.19.0",
  "minecraft:attachable": {
    "description": {
      "identifier": "tsu_morph:squid_morph",
      "materials": {
        "default": "entity_emissive_alpha"
      },
      "textures": {
        "default": "textures/entity/squid"
      },
      "geometry": {
        "default": "geometry.tsu_morph.squid"
      },
      "animations": {
        "move": "animation.tsu_morph.squid.move",
        "rotate": "animation.tsu_morph.squid.rotate",
        "on_land": "animation.tsu_morph.squid.on_land",

        "hurt_sounds": "controller.animation.tsu_morph.hurt_sounds",
        "idle_sounds": "animation.tsu_morph.idle_sounds"
      },
      "sound_effects": {
        "hurt": "mob.squid.hurt",
        "idle": "mob.squid.ambient"
      },
      "scripts": {
        "pre_animation": [
          "v.display_fp = c.is_first_person && !q.is_in_ui && q.is_local_player;",
          "variable.tentacle_angle = math.sin(q.anim_time * 360) * 10;"
        ],
        "animate": [
          {
            "move": "q.modified_move_speed"
          },
          {
            "rotate": "q.is_in_water"
          },
          {
            "on_land": "!q.is_in_water && q.is_on_ground"
          },
          "hurt_sounds",
          "idle_sounds"
        ]
      },
      "render_controllers": [
        {
          "controller.render.tsu_morph.default": "!v.display_fp"
        }
      ]
    }
  }
}