{
    "format_version": "1.10.0",
    "animations": {
        "animation.hug_time": {
            "timeline": {
				"0.0": [
					"/execute as @s at @s run camerashake add @a[r=5,c=1] 0.05 1 rotational"
                ],
                "0.3": [
					"/execute as @s at @s run ride @e[type=!bd:huggy_wuggy_bd,type=!bd:mini_huggy_wuggy_bd,type=!bd:mommy_long_bd,type=!item,family=!inanimate,c=1] start_riding @s[c=1,r=5] teleport_rider until_full"
                ]
            },
            "animation_length": 2
        },
		"animation.huggy_knock_time": {
            "timeline": {
				"0.0": [
					"@s bd:stop_knock_resistance"
                ]
            },
            "animation_length": 0.3
        },
		"animation.huggy_knock_time2": {
            "animation_length": 1.0
        },
		"animation.hug_cooldown_time": {
            "timeline": {
            },
            "animation_length": 3.5
        },
		"animation.hug_skill_back": {
            "timeline": {
            },
            "animation_length": 20
        },
		"animation.hug_time_kill": {
            "timeline": {
                "0.2": [
					"/execute as @s at @s run effect @a[m=!c,r=5,c=1] blindness 7 7 true",
					"/execute as @s at @s run effect @a[m=!c,r=5,c=1] night_vision 3 7 true",
					"/gamerule showdeathmessages false"
                ],
				"0.8": [
					"/execute as @s at @s run effect @e[type=!bd:huggy_hug,type=!bd:huggy_hug2,type=!bd:huggy_wuggy_bd,type=!bd:mini_huggy_wuggy_bd,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[r=5,c=1] instant_damage 1 5 true",
					"/execute as @s at @s run particle bd:huggy_blood ~~0.1~",
					"/function huggy_message"
                ],
				"0.9": [
					"/gamerule showdeathmessages true"
                ]
            },
            "animation_length": 2
        },
		"animation.hug_time_killa": {
            "timeline": {
                "0.2": [
					"/execute as @s at @s run effect @a[m=!c,r=5,c=1] blindness 7 7 true",
					"/execute as @s at @s run effect @a[m=!c,r=5,c=1] night_vision 3 7 true",
					"/gamerule showdeathmessages false"
                ],
				"0.8": [
					"/execute as @s at @s run effect @e[type=!bd:huggy_hug,type=!bd:huggy_hug2,type=!bd:huggy_wuggy_bd,type=!bd:mini_huggy_wuggy_bd,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[r=5,c=1] instant_damage 1 5 true",
					"/execute as @s at @s run particle bd:huggy_blood ~~0.1~",
					"/function huggy_message2"
                ],
				"0.9": [
					"/gamerule showdeathmessages true"
                ]
            },
            "animation_length": 2
        },
		"animation.hug_time_kill_undead": {
            "timeline": {
				"0.8": [
					"@s bd:kill_undead"
                ],
				"0.9": [
					"@s bd:unkill_undead"
                ]
            },
            "animation_length": 2
        },
		"animation.hug_time_kill2": {
            "timeline": {
				"0.0": [
					"/gamerule sendcommandfeedback false"
                ],
				"0.8": [
					"/effect @s instant_health 1 4"
                ],
				"1.3": [
					"/execute as @s at @s run ride @a[m=!c,r=5,c=1] stop_riding"
                ]
            },
            "animation_length": 2
        },
		"animation.hug_look": {
            "timeline": {
				"0.05": [
					"/execute as @s at @s run summon bd:huggy_look ~~2.5~",
					"/execute as @s at @s run effect @s slowness 2 100 true"
                ]
            },
            "animation_length": 1
        },
		"animation.huggy_calm": {
            "timeline": {
				"39": [
					"@s bd:passive_mode",
					"/effect @s regeneration 20 5"
                ],
				"60": [
					"@s bd:fake_dead"
                ]
            },
            "animation_length": 61
        },
		"animation.hug_look_down": {
            "timeline": {
				"0.05": [
					"/execute as @s at @s run summon bd:huggy_look ~~4~",
					"/execute as @s at @s run effect @s slowness 2 100 true"
                ],
				"0.06": [
					"/execute as @s at @s run execute as @a[m=!c,r=5,c=1] at @s run effect @s speed 1 3 true"
                ],
				"0.7": [
					"/execute as @s at @s run execute as @a[m=!c,r=5,c=1] at @s run effect @s speed 0 0 true"
                ]
            },
            "animation_length": 1
        },
		"animation.huggy_hug2": {
            "timeline": {
                "0.0": [
					"/execute as @s at @s run effect @s weakness 1 255 true",
					"/execute as @s at @s run ride @a[c=1,m=!c,r=5] start_riding @s[c=1,r=5] teleport_rider until_full"
                ]
            },
            "animation_length": 0.01,
			"loop": true
        },
		"animation.huggy_speed": {
            "timeline": {
                "0.0": [
					"/execute as @s at @s run effect @s speed 1 0 true"
                ]
            },
            "animation_length": 0.01,
			"loop": true
        },
		"animation.huggy_speed2": {
            "timeline": {
                "30": [
					"/execute as @s at @s run effect @s speed 100 3 true"
                ],
				"60": [
					"/execute as @s at @s run effect @s speed 100 4 true"
                ],
				"90": [
					"/execute as @s at @s run effect @s speed 100 6 true"
                ],
				"120": [
					"/execute as @s at @s run effect @s speed 100 8 true"
                ],
				"160": [
					"/execute as @s at @s run effect @s speed 100 10 true"
                ]
            },
            "animation_length": 161,
			"loop": true
        },
		"animation.huggy_look": {
            "timeline": {
				"0.0": [
					"/execute as @s at @s run tp @s ~~~ facing @s"
                ]
            },
            "animation_length": 0.01,
			"loop": true
        },
		"animation.huggy_duck_other": {
            "timeline": {
                "0.0": [
					"/function dusking_other"
                ]
            },
            "animation_length": 0.01,
			"loop": true
        },
		"animation.fake_dead_heal": {
            "timeline": {
                "0.0": [
					"/effect @s regeneration 1 5 true"
                ]
            },
            "animation_length": 0.1,
			"loop": true
        },
		"animation.huggy_hug": {
            "timeline": {
                "0.0": [
					"/execute as @s at @s run ride @e[type=!bd:huggy_hug,type=!bd:huggy_hug2,type=!bd:huggy_wuggy_bd,type=!bd:mini_huggy_wuggy_bd,type=!bd:mommy_long_bd,type=!item,family=!inanimate,type=!player,c=1,r=5] start_riding @s[c=1,r=5] teleport_rider until_full"
                ]
            },
            "animation_length": 0.01,
			"loop": true
        }
    }
}