{
  "format_version": "1.8.0",
  "minecraft:client_entity": {
    "description": {
      "identifier": "pr:tylo",
      "materials": {
        "default": "cod"
      },
      "textures": {
        "default": "textures/entity/pamobile/pr_tylo"
      },
      "geometry": {
        "default": "geometry.pr_tylo"
      },
      "scripts": {
        "pre_animation": [
          "variable.ZRot = !query.is_in_water ? Math.cos((query.time_stamp + query.frame_alpha) * 14.32) * 90 : 0.0;",
          "variable.AnimationAmountBlend = Math.lerp(variable.AnimationAmountPrev, variable.AnimationAmount, query.frame_alpha);"
        ]
      },
      "animations": {
        "flop": "animation.pr_tylo.beached",
        "swim": "animation.pr_tylo.swimming",
        "beached": "animation.pr_tylo.beached",
        "swimming": "animation.pr_tylo.swimming",
        "attack": "animation.pr_tylo.attack"
      },
      "animation_controllers": [
        {
          "general": "controller.animation.pr_tylo.swim"
        },
        {
          "attack": "controller.animation.pr_tylo.attack"
        }
      ],
      "render_controllers": [
        "controller.render.cod"
      ],
      "spawn_egg": {
        "base_color": "#1A1A29",
        "overlay_color": "#FFFFFF"
      }
    }
  }
}