{
	"format_version": "1.10.0",
	"particle_effect": {
		"description": {
			"identifier": "vl:electric_hit",
			"basic_render_parameters": {
				"material": "particles_blend",
				"texture": "textures/particles/vl_electric"
			}
		},
		"components": {
			"minecraft:emitter_rate_steady": {
				"spawn_rate": 30,
				"max_particles": 50
			},
			"minecraft:emitter_lifetime_looping": {
				"active_time": 2
			},
			"minecraft:emitter_shape_sphere": {
				"offset": ["Math.random(-0.5, 0.5)", "Math.random(-0.5, 0.5)", "Math.random(-0.5, 0.5)"],
				"radius": 1,
				"direction": "outwards"
			},
			"minecraft:particle_lifetime_expression": {
				"max_lifetime": 1
			},
			"minecraft:particle_initial_spin": {
				"rotation": "Math.random(-45, 45)"
			},
			"minecraft:particle_initial_speed": 0,
			"minecraft:particle_motion_dynamic": {},
			"minecraft:particle_appearance_billboard": {
				"size": [0.25, 0.5],
				"facing_camera_mode": "lookat_xyz",
				"uv": {
					"texture_width": 90,
					"texture_height": 90,
					"flipbook": {
						"base_UV": [0, 0],
						"size_UV": [90, 45],
						"step_UV": [4, 4],
						"frames_per_second": 10,
						"max_frame": 4,
						"loop": true
					}
				}
			},
			"minecraft:particle_motion_collision": {
				"collision_drag": 5,
				"expire_on_contact": true
			},
			"minecraft:particle_appearance_tinting": {
				"color": {
					"interpolant": "v.particle_age / v.particle_lifetime",
					"gradient": {
						"0.0": "#FF22FFF6",
						"0.12": "#FFFFF523",
						"0.29": "#FFFFFFFF",
						"0.5": "#FF01E7FF",
						"0.69": "#FFFFF523",
						"0.88": "#FF22FFF6"
					}
				}
			}
		}
	}
}