{
	"format_version": "1.12.0",
	"minecraft:entity": {
		"description": {
			"identifier": "addon:grenade",
			"runtime_identifier": "minecraft:snowball",
			"is_spawnable": false,
			"is_summonable": false,
			"is_experimental": false,
			"scripts": {
				"animate": ["grenade"]
			},
			"animations": {
				"grenade": "controller.animation.grenade"
			}
		},
		"component_groups": {
			"minecraft:exploding": {
				"minecraft:explode": {
					"fuse_length": 0,
					"fuse_lit": true,
					"power": 3,
					"causes_fire": false,
					"destroy_affected_by_griefing": true
				}
			}
		},
		"components": {
			"minecraft:collision_box": {
				"width": 0.01,
				"height": 0.01
			},
			"minecraft:projectile": {
				"onHit": {
					"definition_event": {
						"affect_projectile": true,
						"event_trigger": {
							"event": "minecraft:explode",
							"target": "self"
						}
					},
					"impact_damage": {
						"damage": 30,
						"knockback": true,
						"semirandomdiffdamage": false
					}
				},
				"minecraft:explode": {
					"fuse_length": 3,
					"fuse_lit": true,
					"power": 2,
					"causes_fire": false,
					"destroy_affected_by_griefing": true
				},
				"power": 1,
				"inertia": 1.3,
				"liquid_inertia": 1.3,
				"gravity": 0.04,
				"anchor": 1,
				"uncertaintyBase": 0,
				"uncertaintyMultiplier": 0,
				"reflectOnHurt": true,
				"shoot_target": false
			},
			"minecraft:physics": {}
		},
		"events": {
			"minecraft:explode": {
				"add": {
					"component_groups": [
						"minecraft:exploding"
					]
				}
			}
		}
	}
}