//bridge-file-version: #14
{
	"format_version": "1.16.0",
	"minecraft:entity": {
		"description": {
			"identifier": "strat:efln_ball",
			"is_spawnable": false,
			"is_summonable": true,
			"is_experimental": false,
			"runtime_identifier": "minecraft:snowball",
			"scripts": {
				"animate": [
					"bridge_execute_commands"
				]
			},
			"animations": {
				"bridge_execute_commands": "controller.animation.bridge_efln_ball.execute_commands"
			}
		},
		"components": {
			"minecraft:collision_box": {
				"width": 0.25,
				"height": 0.25
			},
			"minecraft:projectile": {
				"on_hit": {
					"impact_damage": {
						"filter": "blaze",
						"damage": 3,
						"knockback": true
					},
					"definition_event": {
						"event_trigger": {
							"event": "strat:explode",
							"target": "self"
						}
					}
				},
				"anchor": 1,
				"power": 1.5,
				"gravity": 0.03,
				"angle_offset": 0,
				"offset": [
					0,
					-0.1,
					0
				]
			},
			"minecraft:physics": {},
			"minecraft:pushable": {
				"is_pushable": true,
				"is_pushable_by_piston": true
			},
			"minecraft:conditional_bandwidth_optimization": {
				"default_values": {
					"max_optimized_distance": 100,
					"max_dropped_ticks": 5,
					"use_motion_prediction_hints": true
				}
			}
		},
		"events": {
			"strat:explode": {
				"sequence": [
					{
						"add": {
							"component_groups": [
								"despawn",
								"bridge:execute_command_id_1"
							]
						}
					}
				]
			},
			"bridge:remove_command_id_1": {
				"add": {
					"component_groups": [
						"bridge:execute_no_command"
					]
				},
				"remove": {
					"component_groups": [
						"bridge:execute_command_id_1"
					]
				}
			}
		},
		"component_groups": {
			"despawn": {
				"minecraft:instant_despawn": {}
			},
			"bridge:execute_command_id_1": {
				"minecraft:skin_id": {
					"value": 1
				}
			},
			"bridge:execute_no_command": {
				"minecraft:skin_id": {
					"value": 0
				}
			}
		}
	}
}