{
	"format_version": "1.10.0",
	"animation_controllers": {
		"controller.animation.died": {
			"states": {
				"default": {
					"transitions": [
						{
							"execute": "!query.is_alive"
						}
					]
				},
				"execute": {
					"on_entry": [
						"/scoreboard players set @s thirst 20",
						"@s bridge:remove_broken_leg",
						"@s bridge:remove_infection",
						"@s bridge:remove_bleeding"
					],
					"transitions": [
						{
							"default": "(1.0)"
						}
					]
				}
			}
		},
		"controller.animation.night_vision": {
			"states": {
				"default": {
					"transitions": [
						{
							"execute": "query.equipped_item_any_tag('slot.armor.head', 'night_vision') && !query.is_in_water"
						}
					]
				},
				"execute": {
					"on_entry": [
						"/effect @s night_vision 5 255 true"
					],
					"transitions": [
						{
							"default": "(1.0)"
						}
					]
				}
			}
		},
		"controller.animation.fill_water_bottle": {
			"states": {
				"default": {
					"transitions": [
						{
							"execute": "query.mark_variant == 1"
						}
					]
				},
				"execute": {
					"on_entry": [
						"/replaceitem entity @p slot.weapon.mainhand 0 bridge:water_bottle 1 0",
						"/playsound bucket.fill_water @p ~ ~ ~ 1 1"
					],
					"transitions": [
						{
							"default": "(1.0)"
						}
					]
				}
			}
		}
	}
}