{
  "format_version": "1.10.0",
  "minecraft:client_entity": {
    "description": {
      "identifier": "silverlabs_nat:deer",
      "materials": {
        "default": "entity_alphatest"
      },
      "textures": {
        "default": "textures/sf/nba/entity/deer/deer",
        "white": "textures/sf/nba/entity/deer/white_deer",
        "reindeer": "textures/sf/nba/entity/deer/reindeer",
        "rare": "textures/sf/nba/entity/deer/reindeer_red_nose",
        "baby": "textures/sf/nba/entity/deer/deer_baby"
      },
      "geometry": {
        "default": "geometry.silverlabs_nat.deer",
        "baby": "geometry.silverlabs_nat.deer_baby"
      },
      "animations": {
        "walk": "animation.silverlabs_nat.deer.walk",
        "run": "animation.silverlabs_nat.deer.run",
        "baby_walk": "animation.silverlabs_nat.deer_baby.walk",
        "baby_run": "animation.silverlabs_nat.deer_baby.run",
        "look_at_target": "animation.silverlabs_nat.look_at_target",
        "idle": "animation.silverlabs_nat.deer.idle",
        "ear_flick": "animation.silverlabs_nat.deer.ear_flick",
        "eat": "animation.silverlabs_nat.deer.eat",
        "baby_eat": "animation.silverlabs_nat.deer_baby.eat",
        "move": "controller.animation.silverlabs_nat.deer.move",
        "ambient": "controller.animation.silverlabs_nat.deer.ambient"
      },
      "scripts": {
        "initialize": [
          "v.anim_speed_multiplier = 0.0;",
          "v.anim_speed_movement_max = 0.0;",
          "v.is_moving = 0;",
          "v.is_sprinting = 0;"
        ],
        "pre_animation": [
          "v.anim_speed_multiplier = 1.5;",
          "v.anim_speed_movement_max = 0.5;",
          "v.is_moving = q.modified_move_speed >= 0.1;",
          "v.is_sprinting = (q.modified_move_speed * (q.is_baby ? 0.7 : 1.2) - (q.distance_from_camera * 0.000001) + (q.is_avoiding_mobs ? 0.75 : 0)) >= 0.9 ? 1.0 : 0.0;"
        ],
        "animate": [
          "move",
          "ambient"
        ]
      },
      "render_controllers": [
        "controller.render.silverlabs_nat.deer"
      ],
      "spawn_egg": {
        "texture": "silverlabs_nat.deer_spawn_egg"
      },
      "sound_effects": {
        "step": "silverlabs_nat.step.medhoof",
        "step_-6dB": "silverlabs_nat.step.medhoof_-6dB",
        "step_-12dB": "silverlabs_nat.step.medhoof_-12dB",
        "eat": "silverlabs_nat.deer.eat"
      }
    }
  }
}
