{
	"format_version": "1.16.0",
	"minecraft:entity": {
		"description": {
			"identifier": "manalabs_scp:lighting_gun_projectile",
			"is_spawnable": false,
			"is_summonable": true,
			"is_experimental": false,
			"animations": {
				"impact": "controller.animation.manalabs_scp.lighting_gun_projectile.impact"
			},
			"scripts": {
				"animate": [
					"impact"
				]
			}
		},
		"component_groups": {
			"impact": {
				"minecraft:is_baby": {}
			},
			"despawn": {
				"minecraft:instant_despawn": {}
			}
		},
		"components": {
			"minecraft:collision_box": {
				"width": 0.25,
				"height": 0.25
			},
			"minecraft:timer": {
				"time": 3,
				"looping": true,
				"time_down_event": {
					"event": "despawn",
					"target": "self"
				}
			},
			"minecraft:type_family": {
				"family": [
					"manalabs_scp_game",
					"manalabs_scp_player_projectile",
					"manalabs_scp_lighting_gun_projectile"
				]
			},
			"minecraft:damage_sensor": {
				"triggers": [
					{
						"cause": "all",
						"deals_damage": false
					},
					{
						"cause": "fall",
						"deals_damage": false
					}
				]
			},
			"minecraft:projectile": {
				"on_hit": {
					"impact_damage": {
						"damage": 6,
						"knockback": true
					},
					"definition_event": {
						"event_trigger": {
							"event": "impact",
							"target": "self"
						}
					},
					"remove_on_hit": {}
				},
				"anchor": 1,
				"power": 5,
				"gravity": -0.07,
				"angle_offset": 0.0,
				"offset": [
					0,
					0,
					0
				]
			},
			"minecraft:physics": {},
			"minecraft:pushable": {
				"is_pushable": false,
				"is_pushable_by_piston": false
			}
		},
		"events": {
			"impact": {
				"add": {
					"component_groups": [
						"impact"
					]
				}
			},
			"despawn": {
				"add": {
					"component_groups": [
						"despawn"
					]
				}
			}
		}
	}
}