{
  "format_version": "1.10.0",
  "animation_controllers": {
    "controller.animation.mob.itadori": {
      "states": {
        "default": {
          "transitions": [
            { "divergent_fist": "q.mark_variant == 1" },
            { "attack1": "v.attack_time" }
          ],
          "on_entry": [
            "/event entity @s wesl3y:skill0",
            "/inputpermission set @s movement enabled"
          ]
        },
        "attack1": {
          "animations": ["timer.0_3"],
          "transitions": [
            { "attack1_2": "query.any_animation_finished" }
          ],
          "on_entry": [
            "/event entity @s wesl3y:skill1",
            "/execute at @s[tag=itadori_black_flash] anchored eyes positioned ^^^1 run damage @e[c=10,r=1.5,family=!attack,family=!inanimate,type=!wesl3y:itadori,type=!item,type=!xp_orb] 22 entity_attack entity @s",
            "/execute at @s[tag=itadori_black_flash] anchored eyes positioned ^^^1 run particle wesl3y:gojo_black_flash",
            "/execute at @s[tag=itadori_black_flash] anchored eyes positioned ^^^1 run particle wesl3y:gojo_black_flash2"
          ]
        },
        "attack1_2": {
          "animations": ["timer.0_5"],
          "transitions": [
            { "attack2": "v.attack_time > 0.0" },
            { "default": "query.any_animation_finished" }
          ]
        },
        "attack2": {
          "animations": ["timer.0_3"],
          "transitions": [
            { "attack2_2": "query.any_animation_finished" }
          ],
          "on_entry": [
            "/event entity @s wesl3y:skill2",
            "/execute at @s[tag=itadori_black_flash] anchored eyes positioned ^^^1 run damage @e[c=10,r=1.5,family=!attack,family=!inanimate,type=!wesl3y:itadori,type=!item,type=!xp_orb] 22 entity_attack entity @s",
            "/execute at @s[tag=itadori_black_flash] anchored eyes positioned ^^^1 run particle wesl3y:gojo_black_flash",
            "/execute at @s[tag=itadori_black_flash] anchored eyes positioned ^^^1 run particle wesl3y:gojo_black_flash2"
          ]
        },
        "attack2_2": {
          "animations": ["timer.0_5"],
          "transitions": [
            { "attack3": "v.attack_time > 0.0" },
            { "default": "query.any_animation_finished" }
          ]
        },
        "attack3": {
          "animations": ["timer.0_5"],
          "transitions": [
            { "default": "query.any_animation_finished" }
          ],
          "on_entry": [
            "/event entity @s wesl3y:skill3",
            "/summon wesl3y:itadori_damage ~~~ ~~ wesl3y:mob.super_kick"
          ]
        },
        "divergent_fist": {
          "animations": ["timer.0_25"],
          "transitions": [
            { "divergent_fist2": "query.any_animation_finished" }
          ],
          "on_entry": [
            "/inputpermission set @s movement disabled",
            "/tp @s ~~~",
            "/event entity @s wesl3y:skill4"
          ]
        },
        "divergent_fist2": {
          "animations": ["timer.1_75"],
          "transitions": [
            {
              "cancel": "query.any_animation_finished"
            }
          ],
          "on_entry": [
            "/tag @s add itadori_divergent"
          ],
          "on_exit": [
            "/summon wesl3y:itadori_damage ~~~ ~~ wesl3y:mob.divergent_fist",
            "/tag @s remove itadori_divergent",
            "/inputpermission set @s movement enabled"
          ]
        },
        "cancel": {
          "animations": ["timer.0_5"],
          "transitions": [
            {
              "default": "query.all_animations_finished"
            }
          ],
          "on_exit": [
            "/event entity @s wesl3y:skill0",
            "/event entity @s dboa"
          ]
        }
      }
    }
  }
}