{
    "format_version": "1.13.0",
    "minecraft:entity": {
        "description": {
            "identifier": "bd:huggy_force",
            "is_spawnable": false,
            "is_summonable": true,
            "is_experimental": false
        },
        "component_groups": {
            "roaring": {
                "minecraft:behavior.knockback_roar": {
                    "priority": 1,
                    "duration": 0.13,
                    "attack_time": 0.05,
                    "knockback_damage": 0,
                    "knockback_vertical_strength": 10,
					"knockback_horizontal_strength": 3,
                    "knockback_range": 1,
                    "knockback_filters": {
						"any_of":[{
								"test": "is_family",
								"subject": "other",
								"value": "huggy_wuggy_bd"
							}, {
								"test": "is_family",
								"subject": "other",
								"value": "huggy_corpse"
							}
						]
					},
                    "on_roar_end": {
                        "event": "bye"
                    },
                    "cooldown_time": 2
                }
            },
			"bye": {
				"minecraft:despawn": {}
			}
        },
        "components": {
            "minecraft:collision_box": {
                "height": 0.0,
                "width": 0.0
            },
            "minecraft:health": {
                "max": 150,
                "value": 150
            },
			"minecraft:knockback_resistance": {
                "value": 1.0
            },
            "minecraft:type_family": {
                "family": [
                    "inanimate", "huggy_wuggy_force"
                ]
            },
			"minecraft:timer": {
				"time": 0.2,
				"looping": false,
				"time_down_event": {
					"event": "bye",
					"target": "self"
				}
			},
			"minecraft:damage_sensor": {
				"triggers": {
					"cause": "all",
					"deals_damage": false
				}
			}
        },
        "events": {
            "minecraft:entity_spawned": {
				"add": {
                    "component_groups": [
                        "roaring",
						"gone"
                    ]
                }
            },
			"minecraft:entity_born": {
				"add": {
                    "component_groups": [
                        "roaring",
						"gone"
                    ]
                }
            },
            "minecraft:end_roar": {
                "remove": {
                    "component_groups": [
                        "roaring"
                    ]
                }
			},
			"bye": {
				"add": {
                    "component_groups": [
                        "bye"
                    ]
                }
			}
        }
    }
}