{
    "format_version": "1.10.0",
    "animation_controllers": {
        "controller.animation.is_rod_attack": {
            "states": {
                "attack": {
                    "transitions": [
                        {
                            "attack": "variable.attack_time"
                        }
                    ],
                    "on_entry": [
                        "/music stop 2",
                        "/stopsound is_rod_idle",
                        "/effect @e [family=kids,r=2] slowness 5 255 true",
                        "/execute @e [type=vl:is_rod_attack,r=2] ~~~ tp @e [type=vl:is_rod_attack,r=2] ~~~ facing @a [r=2]",
                        "/execute @e [family=keplerians,r=2] ~~~ execute @a [r=2] ~~~ tp ~~~ facing @e [family=keplerians,r=2]",
                        "/inputpermission set @p [r=2] camera disabled",
                        "/inputpermission set @p [r=2] movement disabled"
                    ]
                },
                "attack": {
                    "transitions": [
                        {
                            "attack": "!variable.attack_time"
                        }
                    ],
                    "on_entry": [
                        "/music stop 2",
                        "/stopsound is_rod_idle",
                        "/effect @e [family=kids,r=2] slowness 5 255 true",
                        "/execute @e [type=vl:is_rod_attack,r=2] ~~~ tp @e [type=vl:is_rod_attack,r=2] ~~~ facing @a [r=2]",
                        "/execute @e [family=keplerians,r=2] ~~~ execute @a [r=2] ~~~ tp ~~~ facing @e [family=keplerians,r=2]",
                        "/inputpermission set @p [r=2] camera disabled",
                        "/inputpermission set @p [r=2] movement disabled"
                    ]
                }
            }
        }
    }
}
