// @buildsys GENERATED MERGED FILE: DO NOT EDIT DIRECTLY! 
{
  "format_version": "1.10.0",
  "minecraft:client_entity": {
    "description": {
      "identifier": "mnp_ci:animal_crab",
      "materials": {
        "default": "entity_alphatest",
        "alpha_one_sided": "entity_alphatest_one_sided"
      },
      "textures": {
        "default": "textures/mnp/ci/entity/animal_crab"
      },
      "geometry": {
        "default": "geometry.mnp_ci.animal_crab"
      },
      "scripts": {
        "initialize": [
          "v.smooth_move_speed = q.is_in_water && q.modified_move_speed > 0.2;"
        ],
        "pre_animation": [
          "v.smooth_move_speed = math.lerp(q.is_in_water && q.modified_move_speed > 0.35, v.smooth_move_speed, math.exp(-1.5*q.delta_time));",
          "v.is_on_lure = q.property('mnp_ci:is_on_lure');",
          "v.is_caught = q.property('mnp_ci:is_caught');"
        ],
        "animate": [
          {
            "controller": "!v.is_caught"
          },
          {
            "paddle_angle": "v.smooth_move_speed * !v.is_caught"
          }
        ]
      },
      "animations": {
        "controller": "controller.animation.mnp_ci.crab",
        "idle": "animation.mnp_ci.crab.idle",
        "walk": "animation.mnp_ci.crab.walk",
        "paddle": "animation.mnp_ci.crab.paddle",
        "paddle_angle": "animation.mnp_ci.crab.paddle_angle",
        "fall.underwater": "animation.mnp_ci.crab.fall.underwater"
      },
      "render_controllers": [
        "controller.render.mnp_ci.crab"
      ],
      "spawn_egg": {
        "texture": "mnp_ci:spawn_egg_animal_crab"
      }
    }
  }
}