{
	"format_version": "1.16.100",
	"minecraft:entity": {
		"description": {
			"identifier": "agp:hail",
			"is_spawnable": false,
			"is_summonable": true,
			"is_experimental": false,
			"scripts": {
				"animate": [
					"Damage"
				]
			},
			"animations": {
				"Damage": "animation.Damage"
			}
		},
		"component_groups": {
			"despawn": {
				"minecraft:instant_despawn": {}
			}
		},
		"components": {
			"minecraft:tick_world": {
				"never_despawn": true
			},
			"minecraft:nameable": {},
			"minecraft:type_family": {
				"family": [
					"inanimate",
					"agp",
					"hail"
				]
			},
			"minecraft:health": {
				"value": 1,
				"max": 1,
				"min": 0
			},
			"minecraft:attack": {
				"damage": 0
			},
			"minecraft:collision_box": {
				"width": 0,
				"height": 0
			},
			"minecraft:movement": {
				"value": 2
			},
			"minecraft:movement.basic": {},
			"minecraft:jump.static": {},
			"minecraft:environment_sensor": {
				"triggers": [
					{
						"filters": {
							"test": "on_ground",
							"value": true
						},
						"event": "Ground",
						"target": "self"
					}
				]
			},
			"minecraft:damage_sensor": {
				"triggers": [
					{
						"cause": "fall",
						"deals_damage": false
					}
				]
			},
			"minecraft:fire_immune": true,
			"minecraft:physics": {}
		},
		"events": {
			"despawn": {
				"add": {
					"component_groups": [
						"despawn"
					]
				}
			},
			"Ground": {
				"run_command": {
					"command": [
						"setblock ~~~1 agp:hail",
						"event entity @s despawn"
					]
				}
			}
		}
	}
}