//bridge-file-version: #7
{
	"format_version": "1.17.0",
	"minecraft:entity": {
		"description": {
			"identifier": "strat:longsword_lunge",
			"runtime_identifier": {},
			"is_summonable": true,
			"is_spawnable": false
		},
		"component_groups": {
			"despawn": {
				"minecraft:instant_despawn": {}
			}
		},
		"components": {
			"minecraft:damage_sensor": {
				"triggers": [
					{
						"cause": "all",
						"deals_damage": false
					}
				]
			},
			"minecraft:behavior.knockback_roar": {
				"priority": 1,
				"knockback_range": 2,
				"cooldown_time": 0,
				"knockback_strength": 2,
				"knockback_damage": 0,
				"damage_filters": {
					"any_of": [
						{
							"test": "is_family",
							"operator": "==",
							"subject": "other",
							"value": "player"
						}
					]
				},
				"knockback_filters": {
					"any_of": [
						{
							"test": "is_family",
							"operator": "==",
							"subject": "other",
							"value": "player"
						}
					]
				},
				"on_roar_end": {
					"event": "despawn",
					"target": "self"
				},
				"attack_time": 0.1
			},
			"minecraft:collision_box": {
				"width": 0,
				"height": 0
			}
		},
		"events": {
			"despawn": {
				"add": {
					"component_groups": [
						"despawn"
					]
				}
			}
		}
	}
}