{
	"format_version": "1.20.80",
	"minecraft:entity": {
		"description": {
			"identifier": "manalabs_zombie:acid_projectile",
			"is_spawnable": false,
			"is_summonable": true,
			"is_experimental": false
		},
		"component_groups": {
			"manalabs_zombie:despawn": {
				"minecraft:instant_despawn": {}
			}
		},
		"components": {
			"minecraft:type_family": {
				"family": ["manalabs_zombie_acid_projectile", "zombie", "inanimate"]
			},
			"minecraft:timer": {
				"time": 5,
				"looping": true,
				"time_down_event": {
					"event": "manalabs_zombie:despawn",
					"target": "self"
				}
			},
			"minecraft:collision_box": {
				"width": 0.35,
				"height": 0.35
			},
			"minecraft:scale": {
				"value": 1.0
			},
			"minecraft:projectile": {
				"on_hit": {
					"impact_damage": {
						"damage": 10
					},
					"definition_event": {
						"event_trigger": {
							"event": "manalabs_zombie:summon_acid_puddle",
							"target": "self"
						}
					}
				},
				"gravity": 0.05,
				"inertia": 1,
				"power": 1.5,
				"offset": [0, 2, 0]
			},
			"minecraft:damage_sensor": {
				"triggers": [
					{
						"cause": "all",
						"deals_damage": "no"
					}
				]
			},
			"minecraft:breathable": {
				"total_supply": 15,
				"suffocate_time": -20,
				"inhale_time": 0,
				"breathes_air": true,
				"breathes_solids": true
			},
			"minecraft:pushable": {
				"is_pushable": false,
				"is_pushable_by_piston": false
			},
			"minecraft:physics": {
				"has_gravity": false
			}
		},
		"events": {
			"manalabs_zombie:summon_acid_puddle": {
				"queue_command": {
					"command": "summon manalabs_zombie:acid_puddle ~ ~ ~"
				},
				"add": {
					"component_groups": ["manalabs_zombie:despawn"]
				}
			},
			"manalabs_zombie:despawn": {
				"add": {
					"component_groups": ["manalabs_zombie:despawn"]
				}
			}
		}
	}
}
