{
    "format_version": "1.10.0",
    "animations": {
		"animation.hug_player_time_kill": {
            "timeline": {
                "0.2": [
					"/execute as @s at @s run effect @a[tag=!is_huggy,m=!c,r=5,c=1] blindness 7 7 true",
					"/execute as @s at @s run effect @a[tag=!is_huggy,m=!c,r=5,c=1] night_vision 3 7 true",
					"/gamerule showdeathmessages false"
					
                ],
				"0.8": [
					"/execute as @s at @s run effect @e[tag=!is_huggy,type=!bd:huggy_hug_player,family=!inanimate,family=!undead,family=!zombie,type=!player,r=5,c=1] instant_damage 1 5 true",
					"/execute as @s at @s run effect @e[family=undead,r=5,c=1] instant_health 1 5 true",
					"/execute as @s at @s run effect @e[family=zombie,r=5,c=1] instant_health 1 5 true",
					"/execute as @s at @s run effect @a[tag=!is_huggy,r=5,c=1] instant_damage 1 5 true",
					"/execute as @s at @s run execute as @e[tag=!is_huggy,family=!inanimate,c=1] at @s run particle bd:huggy_blood ~~0.1~"
                ],
				"0.9": [
					"/gamerule showdeathmessages true"
                ]
            },
            "animation_length": 2
        },
		"animation.hug_player_tired": {
            "timeline": {
				"15": [
					"effect @s[m=!c,tag=is_huggy] slowness 5 3 true"
                ]
            },
            "animation_length": 15.1
        },
		"animation.hug_player_regen_hung": {
            "timeline": {
				"0": [
					"/effect @s[tag=is_huggy] hunger 0 0 true",
					"/effect @s[tag=is_huggy] saturation 1 10 true"
                ]
            },
            "animation_length": 0.01,
			"loop": true
        },
		"animation.hug_player_time_kill_undead": {
            "timeline": {
				"0.8": [
					"@s bd:kill_undead"
                ],
				"0.9": [
					"@s bd:unkill_undead"
                ]
            },
            "animation_length": 2
        },
		"animation.huggy_player_time_land": {
            "animation_length": 4
        },
		"animation.huggy_player_wait_time": {
            "animation_length": 5
        },
		"animation.huggy_player_time_air": {
            "animation_length": 1.5
        },
		"animation.huggy_player_sprint": {
            "timeline": {
				"0.0": [
					"/effect @s speed 1 1 true",
					"/effect @s jump_boost 1 3 true"
                ]
            },
            "animation_length": 0.001,
			"loop": true
        },
		"animation.huggy_statue_time": {
            "timeline": {
				"0.0": [
					"/execute as @s at @s run tp @s ~~~ true",
					"/clear @s bd:huggy_bite",
					"/clear @s[tag=is_huggy] bd:huggy_spell"
                ]
            },
            "animation_length": 0.001,
			"loop": true
        },
		"animation.huggy_player_time_stay": {
            "timeline": {
				"0.0": [
					"/effect @s[m=!c,tag=is_huggy] slowness 1 100 true"
                ]
            },
            "animation_length": 0.001,
			"loop": true
        },
		"animation.huggy_hug_player": {
            "timeline": {
                "0.0": [
					"/execute as @s at @s run ride @e[tag=!is_huggy,type=!bd:huggy_hug_player,type=!item,family=!inanimate,type=!player,c=1,r=5] start_riding @s[c=1,r=5] teleport_rider until_full",
					"/execute as @s at @s run ride @s start_riding @a[tag=is_huggy,c=1,r=5] teleport_rider until_full"
                ]
            },
            "animation_length": 0.01,
			"loop": true
        },
		"animation.hug_player_time_kill2": {
            "timeline": {
				"0.0": [
					"/gamerule sendcommandfeedback false"
                ],
				"0.8": [
					"/execute as @e[tag=!is_huggy,family=!inanimate] at @e[tag=!is_huggy,family=!inanimate] run effect @a[tag=is_huggy,r=5] instant_health 1 4",
					"/effect @s saturation 1 10"
                ],
				"0.9": [
					"/execute as @s at @s run damage @e[tag=!is_huggy,family=!inanimate,c=1,r=5] 0 none entity @s"
                ],
				"1.3": [
					"/execute as @s at @s run ride @a[tag=!is_huggy,r=5,c=1] stop_riding"
                ]
            },
            "animation_length": 2
        },
		"animation.hug_player_look": {
            "timeline": {
				"0.05": [
					"/execute as @s at @s run summon bd:huggy_look_player ~~2.5~"
                ]
            },
            "animation_length": 1
        },
		"animation.huggy_player_calm_heal": {
            "timeline": {
				"0.0": [
					"/effect @s[tag=is_huggy] regeneration 4 5 true"
                ]
            },
            "animation_length": 15,
			"loop": true
        },
		"animation.huggy_player_calm": {
            "timeline": {
				"0.0": [
					"/effect @s[tag=is_huggy] weakness 1 255 true",
					"/effect @s[tag=is_huggy] saturation 1 255",
					"/clear @s bd:huggy_bite",
					"/clear @s[tag=is_huggy] bd:huggy_spell"
                ]
            },
            "animation_length": 0.001,
			"loop": true
        },
		"animation.huggy_player_hunt": {
            "timeline": {
				"0.0": [
					"/effect @s[tag=is_huggy] night_vision 1 2 true",
					"/clear @s[tag=is_huggy] bd:huggy_spell",
					"/clear @s[tag=is_huggy] bd:huggy_statue_form"
                ]
            },
            "animation_length": 0.001,
			"loop": true
        },
		"animation.hug_player_look_down": {
            "timeline": {
				"0.05": [
					"/execute as @s at @s run summon bd:huggy_look_player ~~4~"
                ],
				"0.06": [
					"/execute as @s at @s run execute as @a[tag=!is_huggy,m=!c,r=5,c=1] at @a[tag=!is_huggy,m=!c,r=5,c=1] run effect @s speed 1 3 true"
                ],
				"0.7": [
					"/execute as @s at @s run execute as @a[tag=!is_huggy,m=!c,r=5,c=1] at @a[tag=!is_huggy,m=!c,r=5,c=1] run effect @s speed 0 0 true"
                ]
            },
            "animation_length": 1
        },
		"animation.huggy_player_hug2": {
            "timeline": {
                "0.0": [
					"/execute as @s at @s run effect @s weakness 1 255 true",
					"/execute as @s at @s run ride @a[tag=!is_huggy,c=1,m=!c,r=5] start_riding @s[c=1,r=5] teleport_rider until_full"
                ]
            },
            "animation_length": 0.01,
			"loop": true
        }
    }
}