{
  "format_version": "1.10.0",
  "minecraft:client_entity": {
    "description": {
      "identifier": "dia:chara",
      "materials": {
        "default": "skeleton",
        "cape": "entity_alphatest",
        "animated": "player_animated",
        "light": "entity_emissive_alpha"
      },
      "textures": {
        "recorder": "textures/entity/recorder",
        "chara_1": "textures/entity/chara/chara_1",
        "chara_2": "textures/entity/chara/chara_2",
        "chara_3": "textures/entity/chara/chara_3",
        "chara_4": "textures/entity/chara/chara_4",
        "chara_5": "textures/entity/chara/chara_5",
        "chara_6": "textures/entity/chara/chara_6",
        "chara_7": "textures/entity/chara/chara_7",
        "chara_8": "textures/entity/chara/chara_8",
        "chara_9": "textures/entity/chara/chara_9",
        "chara_10": "textures/entity/chara/chara_10",
        "cape": "textures/entity/cape_invisible"
      },
      "geometry": {
        "recorder": "geometry.humanoid.custom",
        "chara_1": "geometry.humanoid.custom",
        "chara_2": "geometry.humanoid.customSlim",
        "chara_3": "geometry.humanoid.customSlim",
        "chara_4": "geometry.humanoid.custom",
        "chara_5": "geometry.humanoid.customSlim",
        "chara_6": "geometry.humanoid.custom",
        "chara_7": "geometry.humanoid.custom",
        "chara_8": "geometry.cmm.npc_8.v1.8",
        "chara_9": "geometry.humanoid.custom",
        "chara_10": "geometry.humanoid.customSlim",
        "cape": "geometry.cape"
      },
      "scripts": {
        "initialize": [
          "variable.is_holding_right = 0.0;",
          "variable.is_blinking = 0.0;",
          "variable.last_blink_time = 0.0;",
          "variable.hand_bob = 0.0;"
        ],
        "pre_animation": [
          "variable.helmet_layer_visible = 1.0;",
          "variable.leg_layer_visible = 1.0;",
          "variable.boot_layer_visible = 1.0;",
          "variable.chest_layer_visible = 1.0;",
          "variable.attack_body_rot_y = Math.sin(360*Math.sqrt(variable.attack_time)) * 5.0;",
          "variable.tcos0 = (math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 57.3;",
          "variable.hand_bob = query.life_time < 0.01 ? 0.0 : variable.hand_bob + ((query.is_on_ground && query.is_alive ? math.clamp(math.sqrt(math.pow(query.position_delta(0), 2.0) + math.pow(query.position_delta(2), 2.0)), 0.0, 0.1) : 0.0) - variable.hand_bob) * 0.02;",
          "variable.item_use_normalized = query.main_hand_item_use_duration / query.main_hand_item_max_duration;"
        ],
        "animate": [
          "root",
          "look_at_target"
        ]
      },
      "animations": {
        "bob": "animation.player.bob",
        "riding.arms": "animation.player.riding.arms",
        "riding.legs": "animation.player.riding.legs",
        "riding": "controller.animation.humanoid.riding",
        "root": "controller.animation.chara.root",
        "humanoid_base_pose": "animation.humanoid.base_pose",
        "look_at_target": "animation.common.look_at_target",
        "cape": "animation.player.cape",
        "move.arms": "animation.player.move.arms",
        "move.legs": "animation.player.move.legs",
        "swimming": "animation.player.swim",
        "swimming.legs": "animation.player.swim.legs",
        "holding": "animation.player.holding",
        "brandish_spear": "animation.humanoid.brandish_spear",
        "charging": "animation.humanoid.charging",
        "attack.positions": "animation.player.attack.positions",
        "attack.rotations": "animation.player.attack.rotations",
        "sneaking": "animation.player.sneaking",
        "damage_nearby_mobs": "animation.humanoid.damage_nearby_mobs",
        "bow_and_arrow": "animation.humanoid.bow_and_arrow",
        "use_item_progress": "animation.humanoid.use_item_progress",
        "sleeping": "animation.player.sleeping",
        "third_person_crossbow_equipped": "animation.player.crossbow_equipped",
        "third_person_bow_equipped": "animation.player.bow_equipped",
        "crossbow_hold": "animation.player.crossbow_hold",
        "crossbow_controller": "controller.animation.player.crossbow",
        "shield_block_main_hand": "animation.player.shield_block_main_hand",
        "shield_block_off_hand": "animation.player.shield_block_off_hand",
        "blink": "controller.animation.persona.blink"
      },
      "render_controllers": [ "controller.render.chara" ],
      "enable_attachables": true,
      "spawn_egg": {
        "texture": "spawn_egg",
        "texture_index": 35
      }
    }
  }
}
