{
	"format_version":"1.10",
	"animation_controllers":{
		"controller.animation.hostile_warnings":{
			"initial_state":"off",
			"states":{
				"on":{
					"transitions":[{"cooldown":"1"}],
					"particle_effects":[{"effect":"hostile_warnings", "locator":"block_locator"}],
					"sound_effects":[{"effect":"mob_sound"}]
				},
				"off":{
				"transitions":[
					{"on":"query.is_alive&&query.has_target&&!query.is_owner_identifier_any('minecraft:player', 'minecraft:villager', 'minecraft:villager_v2', 'minecraft:turtle')"}
				]
				},
				"cooldown":{
				"on_entry": ["v.numbers = query.life_time;"],
				"transitions":[
					{"off":"query.life_time - v.numbers >= 1"},
					{"cooldown_pre":"query.has_target"}
				]
				},
				"cooldown_pre":{"transitions":[{"cooldown":"!query.has_target"}]}
			}
		}
	}
}