{
	"format_version": "1.18.0",
	"minecraft:entity": {
		"description": {
			"identifier": "ldz:chef_knockback",
			"is_spawnable": false,
			"is_summonable": true,
			"is_experimental": false,
			"animations": {
				"ctrl.despawn": "controller.animation.chef_knockback.despawn"
			},
			"scripts": {
				"animate": [
					"ctrl.despawn"
				]
			}
		},
		"component_groups": {
			"instant_despawn": {
				"minecraft:is_sheared": {},
				"minecraft:instant_despawn": {}
			},
			"knockback_height_-1": {
				"minecraft:behavior.knockback_roar": {
					"attack_time": 0.05,
					"cooldown_time": 0,
					"duration": 0,
					"knockback_damage": 3,
					"damage_filters": [ { "test": "has_tag", "subject": "other", "value": "swallowed" } ],
					"knockback_filters": [ { "test": "has_tag", "subject": "other", "value": "swallowed" } ],
					"knockback_horizontal_strength": 5,
					"knockback_range": 6,
					"knockback_vertical_strength": 10,
					"knockback_height_cap": 0,
					"on_roar_end": { "event": "despawn" }
				}
			},
			"knockback_height_0": {
				"minecraft:behavior.knockback_roar": {
					"attack_time": 0.05,
					"cooldown_time": 0,
					"duration": 0,
					"knockback_damage": 3,
					"damage_filters": [ { "test": "has_tag", "subject": "other", "value": "swallowed" } ],
					"knockback_filters": [ { "test": "has_tag", "subject": "other", "value": "swallowed" } ],
					"knockback_horizontal_strength": 5,
					"knockback_range": 6,
					"knockback_vertical_strength": 10,
					"knockback_height_cap": 0.3,
					"on_roar_end": { "event": "despawn" }
				}
			},
			"knockback_height_1": {
				"minecraft:behavior.knockback_roar": {
					"attack_time": 0.05,
					"cooldown_time": 0,
					"duration": 0,
					"knockback_damage": 3,
					"damage_filters": [ { "test": "has_tag", "subject": "other", "value": "swallowed" } ],
					"knockback_filters": [ { "test": "has_tag", "subject": "other", "value": "swallowed" } ],
					"knockback_horizontal_strength": 5,
					"knockback_range": 6,
					"knockback_vertical_strength": 10,
					"knockback_height_cap": 0.6,
					"on_roar_end": { "event": "despawn" }
				}
			},
			"knockback_height_2": {
				"minecraft:behavior.knockback_roar": {
					"attack_time": 0.05,
					"cooldown_time": 0,
					"duration": 0,
					"knockback_damage": 3,
					"damage_filters": [ { "test": "has_tag", "subject": "other", "value": "swallowed" } ],
					"knockback_filters": [ { "test": "has_tag", "subject": "other", "value": "swallowed" } ],
					"knockback_horizontal_strength": 4,
					"knockback_range": 6,
					"knockback_vertical_strength": 10,
					"knockback_height_cap": 0.9,
					"on_roar_end": { "event": "despawn" }
				}
			},
			"knockback_height_3": {
				"minecraft:behavior.knockback_roar": {
					"attack_time": 0.05,
					"cooldown_time": 0,
					"duration": 0,
					"knockback_damage": 3,
					"damage_filters": [ { "test": "has_tag", "subject": "other", "value": "swallowed" } ],
					"knockback_filters": [ { "test": "has_tag", "subject": "other", "value": "swallowed" } ],
					"knockback_horizontal_strength": 3,
					"knockback_range": 6,
					"knockback_vertical_strength": 10,
					"knockback_height_cap": 1.2,
					"on_roar_end": { "event": "despawn" }
				}
			},
			"knockback_height_4": {
				"minecraft:behavior.knockback_roar": {
					"attack_time": 0.05,
					"cooldown_time": 0,
					"duration": 0,
					"knockback_damage": 3,
					"damage_filters": [ { "test": "has_tag", "subject": "other", "value": "swallowed" } ],
					"knockback_filters": [ { "test": "has_tag", "subject": "other", "value": "swallowed" } ],
					"knockback_horizontal_strength": 2,
					"knockback_range": 6,
					"knockback_vertical_strength": 10,
					"knockback_height_cap": 1.5,
					"on_roar_end": { "event": "despawn" }
				}
			}
		},
		"components": {
			"minecraft:behavior.knockback_roar": {
				"attack_time": 0.05,
				"cooldown_time": 0,
				"duration": 0,
				"knockback_damage": 3,
				"damage_filters": [ { "test": "has_tag", "subject": "other", "value": "swallowed" } ],
				"knockback_filters": [ { "test": "has_tag", "subject": "other", "value": "swallowed" } ],
				"knockback_horizontal_strength": 5,
				"knockback_range": 6,
				"knockback_vertical_strength": 10,
				"knockback_height_cap": 0.3,
				"on_roar_end": { "event": "despawn" }
			},
			"minecraft:type_family": {
				"family": [
					"ldz",
					"chef_knockback"
				]
			},
			"minecraft:collision_box": {
				"height": 0,
				"width": 0
			},
			"minecraft:physics": {
				"has_collision": false,
				"has_gravity": false
			},
			"minecraft:pushable": {
				"is_pushable": false,
				"is_pushable_by_piston": false
			},
			"minecraft:damage_sensor": {
				"triggers": [
					{
						"on_damage": {
							"filters": {
								"test": "has_damage",
								"value": "void"
							},
							"event": "despawn"
						},
						"deals_damage": false
					},
					{
						"cause": "all",
						"deals_damage": false
					}
				]
			}
		},
		"events": {
			"knockback_height_-1": { "add": { "component_groups": [ "knockback_height_-1" ] } },
			"knockback_height_0": { "add": { "component_groups": [ "knockback_height_0" ] } },
			"knockback_height_1": { "add": { "component_groups": [ "knockback_height_1" ] } },
			"knockback_height_2": { "add": { "component_groups": [ "knockback_height_2" ] } },
			"knockback_height_3": { "add": { "component_groups": [ "knockback_height_3" ] } },
			"knockback_height_4": { "add": { "component_groups": [ "knockback_height_4" ] } },
			"despawn": {
				"add": {
					"component_groups": [
						"instant_despawn"
					]
				}
			}
		}
	}
}