{
	"file_type": "particle",
	"display_name": "Fireworks Pop Part Particle",
	"template": {
		"force_default_scope": true,
		"data_path": "particle_effect",
		"data": {
			"description": {
				"identifier": "minecraft:fireworks_pop_part",
				"basic_render_parameters": {
					"material": "particles_alpha",
					"texture": "textures/particle/particles"
				}
			},
			"components": {
				"minecraft:emitter_rate_instant": {
					"num_particles": 300
				},
				"minecraft:emitter_lifetime_once": {
					"active_time": 0
				},
				"minecraft:emitter_shape_sphere": {
					"radius": 0.1,
					"direction": "outwards"
				},
				"minecraft:particle_initial_speed": 15,
				"minecraft:particle_initial_spin": {
					"rotation": "Math.random(0, 360)",
					"rotation_rate": "Math.random(-300, 300)"
				},
				"minecraft:particle_lifetime_expression": {
					"max_lifetime": "Math.random(1.0, 1.3)"
				},
				"minecraft:particle_lifetime_events": {
					"expiration_event": [
						"twinkle",
						"twinkle",
						"twinkle"
					]
				},
				"minecraft:particle_motion_dynamic": {
					"linear_acceleration": [
						0,
						-3,
						0
					],
					"linear_drag_coefficient": 5,
					"rotation_drag_coefficient": 0.3
				},
				"minecraft:particle_appearance_billboard": {
					"size": [
						"variable.size",
						"variable.size"
					],
					"facing_camera_mode": "lookat_xyz",
					"uv": {
						"texture_width": 16,
						"texture_height": 16,
						"flipbook": {
							"base_UV": [
								7,
								0
							],
							"size_UV": [
								1,
								1
							],
							"step_UV": [
								-1,
								0
							],
							"frames_per_second": 8,
							"max_frame": 8,
							"stretch_to_lifetime": true,
							"loop": false
						}
					}
				},
				"minecraft:particle_appearance_tinting": {
					"color": {
						"gradient": [
							[
								1,
								0,
								0
							],
							[
								1,
								0,
								0
							],
							[
								0,
								1,
								0
							],
							[
								0,
								0,
								1
							]
						],
						"interpolant": "variable.particle_age"
					}
				}
			},
			"events": {
				"twinkle": {
					"particle_effect": {
						"effect": "minecraft:fireworks_twinkles",
						"type": "particle_with_velocity"
					}
				}
			}
		}
	}
}