{
	"format_version": "1.10.0",
	"particle_effect": {
		"description": {
			"identifier": "ldz:player_lord_beam_sparks",
			"basic_render_parameters": {
				"material": "particles_blend",
				"texture": "textures/particle/lord_beam_sparks"
			}
		},
		"components": {
			"minecraft:emitter_rate_steady": {
				"spawn_rate": 30,
				"max_particles": 300
			},
			"minecraft:emitter_lifetime_once": {
				"active_time": 3
			},
			"minecraft:emitter_shape_sphere": {
				"radius": 4.5,
				"surface_only": true,
				"direction": "inwards"
			},
			"minecraft:particle_lifetime_expression": {
				"max_lifetime": 0.4,
				"expiration_expression": "q.property('ldz:lord_beam_state') != 'charge'"
			},
			"minecraft:particle_initial_speed": 2,
			"minecraft:particle_motion_dynamic": {
				"linear_drag_coefficient": -3
			},
			"minecraft:particle_appearance_billboard": {
				"size": ["variable.particle_random_1 * variable.particle_random_2 * 0.2 + 0.2", "variable.particle_random_1 * variable.particle_random_2 * 0.2 + 0.2"],
				"facing_camera_mode": "lookat_xyz",
				"uv": {
					"texture_width": 16,
					"texture_height": 384,
					"flipbook": {
						"base_UV": [0, 0],
						"size_UV": [16, 16],
						"step_UV": [0, 16],
						"frames_per_second": 8,
						"max_frame": 30,
						"stretch_to_lifetime": true
					}
				}
			},
			"minecraft:particle_appearance_tinting": {
				"color": ["variable.particle_random_1 * 0.3 + 0.7", "variable.particle_random_1 * 0.3 + 0.7", "variable.particle_random_1 * 0.3 + 0.7", 1]
			}
		}
	}
}