{
	"format_version": "1.12.0",
	"minecraft:entity": {
		"description": {
			"identifier": "ldz:end_force_bottle_projectile",
			"runtime_identifier": "minecraft:snowball",
			"is_spawnable": false,
			"is_summonable": false,
			"is_experimental": false,
			"animations": {
				"ctrl.impact": "controller.animation.end_force_bottle_projectile.impact"
			},
			"scripts": {
				"animate": [
					"ctrl.impact"
			  	]
			}
		},
		"component_groups": {
			"instant_despawn": {
				"minecraft:instant_despawn": {}
			},
			"impact_toggle": {
				"minecraft:is_ignited": {}
			},
			"end_force_1": {
				"minecraft:variant": {
					"value": 1
				}
			},
			"end_force_2": {
				"minecraft:variant": {
					"value": 2
				}
			},
			"end_force_3": {
				"minecraft:variant": {
					"value": 3
				}
			},
			"end_force_4": {
				"minecraft:variant": {
					"value": 4
				}
			},
			"end_force_5": {
				"minecraft:variant": {
					"value": 5
				}
			}
		},
		"components": {
			"minecraft:collision_box": {
				"width": 0.25,
				"height": 0.25
			},
			"minecraft:projectile": {
				"on_hit": {
					"definition_event": {
						"event_trigger": {
							"event": "add_impact_toggle"
						}
					},
					"stick_in_ground": {}
				},
				"power": 1.5,
				"offset": [ 0, 0, 0 ],
				"gravity": 0.1,
				"multiple_targets": true
			},
			"minecraft:timer": {
				"time": 5,
				"looping": true,
				"time_down_event": {
					"event": "despawn"
				}
			},
			"minecraft:physics": {},
			"minecraft:pushable": {
				"is_pushable": false,
				"is_pushable_by_piston": false
			}
		},
		"events": {
			"minecraft:entity_spawned": {
				"add": {
					"component_groups": [
						"end_force_1"
					]
				}
			},
			"end_force_1": {
				"add": {
					"component_groups": [
						"end_force_1"
					]
				}
			},
			"end_force_2": {
				"add": {
					"component_groups": [
						"end_force_2"
					]
				}
			},
			"end_force_3": {
				"add": {
					"component_groups": [
						"end_force_3"
					]
				}
			},
			"end_force_4": {
				"add": {
					"component_groups": [
						"end_force_4"
					]
				}
			},
			"end_force_5": {
				"add": {
					"component_groups": [
						"end_force_5"
					]
				}
			},
			"add_impact_toggle": {
				"add": {
					"component_groups": [
						"impact_toggle"
					]
				}
			},
			"despawn": {
				"add": {
					"component_groups": [
						"instant_despawn"
					]
				}
			}
		}
	}
}