{
	"format_version": "1.8.0",
	"minecraft:entity": {
		"description": {
			"identifier": "addon:stinger",
			"runtime_identifier": "minecraft:snowball",
			"is_spawnable": false,
			"is_summonable": true,
			"is_experimental": false,
			"scripts": {
				"animate": ["stinger"]
			},
			"animations": {
				"stinger": "controller.animation.stinger"
			}
		},
		"component_groups": {
			"minecraft:exploding": {
				"minecraft:explode": {
					"fuseLength": 0,
					"fuseLit": true,
					"power": 6,
					"causesFire": true,
					"destroyAffectedByGriefing": true
				}
			}
		},
		"components": {
			"minecraft:collision_box": {
				"width": 1,
				"height": 1
			},
			"minecraft:explode": {
				"fuseLength": 6,
				"fuseLit": true,
				"power": 5,
				"causesFire": true,
				"destroyAffectedByGriefing": true
			},
			"minecraft:projectile": {
				"onHit": {
					"impact_damage": {
						"damage": 100,
						"knockback": true,
						"semirandomdiffdamage": false,
						"destroyonhit": false
					},
					"definition_event": {
						"affectProjectile": true,
						"eventTrigger": {
							"event": "minecraft:explode",
							"target": "self"
						}
					}
				},
				"power": 5,
				"gravity": -0.02,
				"inertia": 1,
				"anchor": 1,
				"offset": [0, 10, 3],
				"reflectOnHurt": true,
				"catchFire": false
			},
			"minecraft:physics": {}
		},
		"events": {
			"minecraft:explode": {
				"add": {
					"component_groups": ["minecraft:exploding"]
				}
			}
		}
	}
}