{
  "format_version": "1.10.0",
  "minecraft:client_entity": {
    "description": {
      "identifier": "silverlabs_nat:moose",
      "materials": {
        "default": "entity_multitexture_alpha_test"
      },
      "textures": {
        "default": "textures/sf/nba/entity/moose/moose",
        "baby": "textures/sf/nba/entity/moose/moose_baby",
        "overlay_none": "textures/sf/nba/empty",
        "overlay_white": "textures/sf/nba/entity/0_tamed/moose/white",
        "overlay_orange": "textures/sf/nba/entity/0_tamed/moose/orange",
        "overlay_magenta": "textures/sf/nba/entity/0_tamed/moose/magenta",
        "overlay_light_blue": "textures/sf/nba/entity/0_tamed/moose/light_blue",
        "overlay_yellow": "textures/sf/nba/entity/0_tamed/moose/yellow",
        "overlay_lime": "textures/sf/nba/entity/0_tamed/moose/lime",
        "overlay_pink": "textures/sf/nba/entity/0_tamed/moose/pink",
        "overlay_gray": "textures/sf/nba/entity/0_tamed/moose/gray",
        "overlay_light_gray": "textures/sf/nba/entity/0_tamed/moose/light_gray",
        "overlay_cyan": "textures/sf/nba/entity/0_tamed/moose/cyan",
        "overlay_purple": "textures/sf/nba/entity/0_tamed/moose/purple",
        "overlay_blue": "textures/sf/nba/entity/0_tamed/moose/blue",
        "overlay_brown": "textures/sf/nba/entity/0_tamed/moose/brown",
        "overlay_green": "textures/sf/nba/entity/0_tamed/moose/green",
        "overlay_red": "textures/sf/nba/entity/0_tamed/moose/red",
        "overlay_black": "textures/sf/nba/entity/0_tamed/moose/black"
      },
      "geometry": {
        "default": "geometry.silverlabs_nat.moose",
        "baby": "geometry.silverlabs_nat.moose_baby"
      },
      "animations": {
        "move_controller": "controller.animation.silverlabs_nat.moose.move",
        "attack_controller": "controller.animation.silverlabs_nat.moose.attack",
        "look_at_target": "animation.silverlabs_nat.look_at_target",
        "idle": "animation.silverlabs_nat.moose.idle",
        "walk": "animation.silverlabs_nat.moose.walk",
        "run": "animation.silverlabs_nat.moose.run",
        "baby_idle": "animation.silverlabs_nat.moose_baby.idle",
        "baby_walk": "animation.silverlabs_nat.moose_baby.walk",
        "baby_run": "animation.silverlabs_nat.moose_baby.run",
        "baby_sit": "animation.silverlabs_nat.moose_baby.sit",
        "baby_sit_idle": "animation.silverlabs_nat.moose_baby.sit_idle",
        "baby_unsit": "animation.silverlabs_nat.moose_baby.unsit",
        "attack": "animation.silverlabs_nat.moose.attack",
        "bellow": "animation.silverlabs_nat.moose.belling",
        "sit": "animation.silverlabs_nat.moose.sit",
        "sit_idle": "animation.silverlabs_nat.moose.sit_idle",
        "unsit": "animation.silverlabs_nat.moose.unsit"
      },
      "scripts": {
        "initialize": [
          "v.is_idling = 0;",
          "v.is_walking = 0;",
          "v.is_running = 0;",
          "v.is_belling = 0;",
          "v.is_attacking = 0;",
          "v.anim_speed_multiplier = 0;",
          "v.anim_speed_movement_max = 0;"
        ],
        "pre_animation": [
          "v.is_idling = q.modified_move_speed <= 0.05;",
          "v.is_walking = q.modified_move_speed >= 0.05 && !v.is_running;",
          "v.is_running = (q.modified_move_speed * (q.is_baby ? 0.7 : 1) - (q.distance_from_camera * 0.000001)) >= 0.3 ? 1;",
          "v.is_belling = q.property('silverlabs_nat:bellow') && (!q.has_target && !q.is_avoiding_mobs);",
          "v.is_attacking = q.is_delayed_attacking;",
          "v.anim_speed_multiplier = 1.5;",
          "v.anim_speed_movement_max = 0.5;",
          "v.smoothed_move_speed = Math.lerp(v.smoothed_move_speed ?? 0, q.modified_move_speed, 0.15);"
        ],
        "animate": [
          "move_controller",
          "attack_controller"
        ]
      },
      "render_controllers": [
        "controller.render.silverlabs_nat.moose"
      ],
      "spawn_egg": {
        "texture": "silverlabs_nat.moose_spawn_egg"
      },
      "sound_effects": {
        "attack": "silverlabs_nat.moose.attack",
        "bellow": "silverlabs_nat.moose.bellow",
        "step": "silverlabs_nat.step.medhoof",
        "step_-6dB": "silverlabs_nat.step.medhoof_-6dB",
        "step_-12dB": "silverlabs_nat.step.medhoof_-12dB"
      }
    }
  }
}
