{
  "format_version": "1.19.0",
  "minecraft:attachable": {
    "description": {
      "identifier": "tsu_morph:axolotl_morph",
      "materials": {
        "default": "axolotl",
        "limbs": "axolotl_limbs"
      },
      "textures": {
        "default": "textures/entity/axolotl/axolotl_lucy"
      },
      "geometry": {
        "default": "geometry.tsu_morph.axolotl"
      },
      "animations": {
        "idle_float": "animation.tsu_morph.axolotl.idle_underwater",
        "idle_floor": "animation.tsu_morph.axolotl.idle_floor",
        "idle_floor_water": "animation.tsu_morph.axolotl.idle_floor_underwater",
        "swim": "animation.tsu_morph.axolotl.swim",
        "walk_floor": "animation.tsu_morph.axolotl.walk_floor",
        "walk_floor_water": "animation.tsu_morph.axolotl.walk_floor_underwater",
        "play_dead": "animation.tsu_morph.axolotl.play_dead",
        "swim_angle": "animation.tsu_morph.axolotl.swim_angle",
        "look_at_target": "animation.tsu_morph.look_at_target",
        //controllers
        "general": "controller.animation.axolotl.general",
        "move": "controller.animation.axolotl.move",

        "hurt_sounds": "controller.animation.tsu_morph.hurt_sounds",
        "idle_sounds": "animation.tsu_morph.idle_sounds"
      },
      "sound_effects": {
        "hurt": "mob.axolotl.hurt",
        "idle": "mob.axolotl.idle"
      },
      "scripts": {
        "pre_animation": [
          "v.display_fp = c.is_first_person && !q.is_in_ui && q.is_local_player;",
          "variable.moving = query.ground_speed > 0 || query.vertical_speed > 0;",
          "variable.pitch = query.body_x_rotation;"
        ],
        "animate": [
          "move",
          "general",
          "hurt_sounds",
          "idle_sounds"
        ]
      },
      "render_controllers": [
        {
          "controller.render.tsu_morph.default": "!v.display_fp"
        }
      ]
    }
  }
}