{
  "format_version": "1.16.0",
  "minecraft:client_entity": {
    "description": {
      "identifier": "wesl3y:escanor",
      "materials": {
        "default": "entity_alphatest",
        "enderman": "enderman"
      },
      "textures": {
        "default": "textures/nanatsu_no_taizai/escanor"
      },
      "geometry": {
        "default": "geometry.escanor"
      },
      "particle_effects": {
        "hp1": "wesl3y:hp1",
        "hp2": "wesl3y:hp2",
        "hp3": "wesl3y:hp3",
        "hp4": "wesl3y:hp4",
        "hp5": "wesl3y:hp5",
        "hp6": "wesl3y:hp6",
        "hp7": "wesl3y:hp7",
        "hp8": "wesl3y:hp8",
        "hp9": "wesl3y:hp9",
        "hp10": "wesl3y:hp10",
        "escanor_charge_cruel_sun": "wesl3y:escanor_charge_cruel_sun"
      },
      "sound_effects": {
        "cut": "cut"
      },
      "scripts": {
        "initialize": [
          "variable.is_first_person = 0.0;",
          "variable.skill0 = 0.0;",
          "variable.skill1 = 0.0;",
          "variable.skill2 = 0.0;",
          "variable.skill3 = 0.0;",
          "variable.skill4 = 0.0;",
          "variable.skill5 = 0.0;",
          "variable.skill6 = 0.0;",
          "variable.skill7 = 0.0;"
        ],
        "pre_animation": [
          "variable.tcos0 = (Math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 45.0;",
          "variable.is_first_person = !q.is_alive;",
          "variable.hp1 = q.health >= 1 && q.health <= 35;",
          "variable.hp2 = q.health >= 36 && q.health <= 71;",
          "variable.hp3 = q.health >= 72 && q.health <= 107;",
          "variable.hp4 = q.health >= 108 && q.health <= 143;",
          "variable.hp5 = q.health >= 144 && q.health <= 179;",
          "variable.hp6 = q.health >= 180 && q.health <= 215;",
          "variable.hp7 = q.health >= 216 && q.health <= 251;",
          "variable.hp8 = q.health >= 252 && q.health <= 287;",
          "variable.hp9 = q.health >= 288 && q.health <= 323;",
          "variable.hp10 = q.health >= 324;",
          "variable.skill0 = q.property('wesl3y:skill') == 0;",
          "variable.skill1 = q.property('wesl3y:skill') == 1;",
          "variable.skill2 = q.property('wesl3y:skill') == 2;",
          "variable.skill3 = q.property('wesl3y:skill') == 3;",
          "variable.skill4 = q.property('wesl3y:skill') == 4;",
          "variable.skill5 = q.property('wesl3y:skill') == 5;",
          "variable.skill6 = q.property('wesl3y:skill') == 6;",
          "variable.skill7 = q.property('wesl3y:skill') == 7;"
        ],
        "animate":[
          "controller",
          "riding_controller",
         {"look_at_target": "v.skill0"},
          "hp"
        ]
      },
      "animations": {
        "controller": "controller.animation.mob_controller",
        "hp": "controller.animation.hp_controller",
        "hp1": "animation.mobs.hp1",
        "hp2": "animation.mobs.hp2",
        "hp3": "animation.mobs.hp3",
        "hp4": "animation.mobs.hp4",
        "hp5": "animation.mobs.hp5",
        "hp6": "animation.mobs.hp6",
        "hp7": "animation.mobs.hp7",
        "hp8": "animation.mobs.hp8",
        "hp9": "animation.mobs.hp9",
        "hp10": "animation.mobs.hp10",
        "attack1": "animation.escanor.attack1",
        "attack2": "animation.escanor.attack2",
        "attack3": "animation.escanor.attack3",
        "attack4": "animation.escanor.attack4",
        "move": "animation.escanor.move",
        "sprint": "animation.escanor.sprint",
        "stop": "animation.escanor.stop2",
        "riding_controller": "controller.animation.humanoid.riding",
        "look_at_target": "animation.humanoid.look_at_target.default",
        "riding.arms": "animation.humanoid.riding.arms",
        "riding.legs": "animation.humanoid.riding.legs"
      },
      "spawn_egg": {
        "texture": "spawn_egg",
        "texture_index": 57
      },
      "render_controllers": [
        "controller.render.skeleton"
      ],
      "enable_attachables": true
    }
  }
}