// (c) 57Digital Ltd, All Rights Reserved
// @buildsys/rpentityinheritance chain: mnp_ci:partner_animal ~> mnp_ci:partner_animal_material_alpha ~> mnp_ci:partner_fish_abstract_chronicoverride ~> mnp_ci:partner_animal_intermediate ~> mnp_ci:partner_fish_chronicoverride
{
  "format_version": "1.10.0",
  "minecraft:client_entity": {
    "description": {
      "identifier": "mnp_ci:partner_fish_chronicoverride",
      "geometry": {
        "default": "geometry.mnp_ci.partner_fish_chronicoverride"
      },
      "scripts": {
        "pre_animation": [
          "v.zrot = !query.is_in_water ? math.cos((q.time_stamp + q.frame_alpha) * 14.32) * 90 : 0;",
          "v.is_on_lure = q.property('mnp_ci:is_on_lure');",
          "v.is_caught = q.property('mnp_ci:is_caught');"
        ],
        "animate": [
          {
            "flop": "(!q.is_in_water || q.is_levitating) && !v.is_caught"
          },
          {
            "swim": "q.is_in_water || q.is_levitating && !v.is_caught"
          }
        ]
      },
      "animations": {
        "flop": "animation.mnp_ci.partner_fish_chronicoverride.flop",
        "swim": "animation.mnp_ci.partner_fish_chronicoverride.swim"
      },
      "materials": {
        "default": "entity_alphatest",
        "one_sided": "entity_alphatest_one_sided"
      },
      "spawn_egg": {
        "texture": "mnp_ci:partner_fish_chronicoverride_spawn_egg"
      },
      "textures": {
        "default": "textures/mnp/ci/partner_animals/partner_fish_chronicoverride"
      },
      "render_controllers": [
        "controller.render.mnp_ci.partner_animal"
      ]
    }
  }
}