{
	"format_version": "1.19.40",
	"minecraft:entity": {
		"description": {
			"identifier": "agp:tornado_dead",
			"is_spawnable": false,
			"is_summonable": true,
			"is_experimental": false
		},
		"component_groups": {
			"DespawnTime": {
				"minecraft:timer": {
					"looping": false,
					"time": [
						0.5,
						0.5
					],
					"time_down_event": {
						"filters": {
							"test": "has_tag",
							"value": "Despawning"
						},
						"event": "Despawn"
					}
				}
			},
			"Despawn": {
				"minecraft:instant_despawn": {}
			}
		},
		"components": {
			"minecraft:tick_world": {
				"never_despawn": true
			},
			"minecraft:nameable": {},
			"minecraft:type_family": {
				"family": [
					"agp",
					"mob"
				]
			},
			"minecraft:movement": {
				"value": 0.3
			},
			"minecraft:movement.basic": {},
			"minecraft:navigation.walk": {
				"is_amphibious": true,
				"can_walk": true,
				"can_sink": false
			},
			"minecraft:jump.static": {},
			"minecraft:can_climb": {},
			"minecraft:collision_box": {
				"width": 1.4,
				"height": 7
			},
			"minecraft:breathable": {
				"total_supply": 15,
				"suffocate_time": 0,
				"breathes_air": true,
				"breathes_water": true
			},
			"minecraft:health": {
				"min": 1000000,
				"max": 1000000
			},
			"minecraft:damage_sensor": {
				"triggers": [
					{
						"cause": "all",
						"deals_damage": false
					}
				]
			},
			"minecraft:hurt_on_condition": {
				"damage_conditions": [
					{
						"filters": {
							"test": "in_lava",
							"subject": "self",
							"operator": "==",
							"value": true
						},
						"cause": "lava",
						"damage_per_tick": 4
					}
				]
			},
			"minecraft:physics": {},
			"minecraft:pushable": {
				"is_pushable": true,
				"is_pushable_by_piston": true
			}
		},
		"events": {
			"minecraft:entity_spawned": {
				"add": {
					"component_groups": [
						"Despawn"
					]
				}
			},
			"minecraft:entity_transformed": {
				"add": {
					"component_groups": [
						"DespawnTime"
					]
				},
				"run_command": {
					"command": [
						"tag @s add Despawning",
						"function ResetSupercell"
					]
				}
			},
			"Despawn": {
				"add": {
					"component_groups": [
						"Despawn"
					]
				}
			}
		}
	}
}