// @buildsys GENERATED MERGED FILE: DO NOT EDIT DIRECTLY! 
{
  "format_version": "1.10.0",
  "minecraft:client_entity": {
    "description": {
      "identifier": "mnp_ci:animal_starfish",
      "materials": {
        "default": "mnp_ci_alphatest_one_sided_uv_anim"
      },
      "textures": {
        "default": "textures/mnp/ci/entity/animal_starfish"
      },
      "geometry": {
        "default": "geometry.mnp_ci.animal_starfish"
      },
      "scripts": {
        "initialize": [
          "v.health = q.health;",
          "v.death_rot_factor = 0;"
        ],
        "pre_animation": [
          "v.death_rot_factor = q.is_alive ? 0 : math.min(1, math.sqrt(math.max(0, q.death_ticks + q.frame_alpha -0.5)*0.08));",
          "v.is_on_lure = q.property('mnp_ci:is_on_lure');",
          "v.is_caught = q.property('mnp_ci:is_caught');"
        ],
        "animate": [
          "setup",
          "controller.hurt",
          {
            "cancel_death": "!q.is_alive"
          },
          {
            "death": "!q.is_alive"
          }
        ]
      },
      "animations": {
        "controller.hurt": "controller.animation.mnp_ci.hurt",
        "setup": "animation.mnp_ci.starfish.setup",
        "cancel_death": "animation.mnp_ci.common.cancel_death",
        "hurt": "animation.mnp_ci.starfish.hurt",
        "death": "animation.mnp_ci.starfish.death"
      },
      "render_controllers": [
        "controller.render.mnp_ci.starfish0",
        {
          "controller.render.mnp_ci.starfish1": "q.property('mnp_ci:variant2')"
        }
      ],
      "spawn_egg": {
        "texture": "mnp_ci:spawn_egg_animal_starfish"
      }
    }
  }
}