{
  "format_version": "1.10.0",
  "animation_controllers": {
    "controller.animation.chemical_x_function_thrown": {
      "states": {
        "default": {
          "transitions": [
            { "chemical_x": "(query.get_equipped_item_name == 'chemical_x') && (query.is_using_item == 1.0)" }
          ]
        },
		
        "chemical_x": {
          "on_entry": [
		    "/playsound random.bow @a[r=10] ~ ~ ~ 10 0.5",
		    "/clear @s mutant:chemical_x 0 1",
		    "@s event_throw_chemical_x"
		  ],
          "transitions": [ { "default": "(1.0)" } ]
		}
	  }
  },
  "controller.animation.chemical_mutating": {
    "states": {
      "default": {
        "transitions": [
          {
            "walking": "(1.0)"
          }
        ],
        "on_entry": [
          "/particle mutant:chemical_x_mutating ~ ~0.5 ~"
        ]
      },
      "walking": {
        "transitions": [
          {
            "default": "(1.0)"
          }
        ],
        "on_entry": [
          "/particle mutant:chemical_x_mutating ~ ~1.5 ~"
        ]
      }
    }
  },
    "controller.animation.chemical_x_function_function": {
      "states": {
        "default": {
          "transitions": [
            { "black": "query.skin_id == 1" }
          ]
        },
		
        "black": {
          "on_entry": [ "/playsound random.glass @a[r=20] ~ ~ ~ 40.5 0.75", "/function chemical_x" ],
          "transitions": [ { "default": "(1.0)" } ]
		}
	  }
	}
  }
}