{
	"file_type": "particle",
	"display_name": "Firework Twinkles Particle",
	"template": {
		"force_default_scope": true,
		"data_path": "particle_effect",
		"data": {
			"description": {
				"identifier": "minecraft:fireworks_twinkles",
				"basic_render_parameters": {
					"material": "particles_alpha",
					"texture": "textures/particle/particles"
				}
			},
			"components": {
				"minecraft:emitter_rate_manual": {
					"max_particles": 1000
				},
				"minecraft:emitter_lifetime_expression": {
					"activation_expression": 1,
					"expiration_expression": 0
				},
				"minecraft:emitter_shape_sphere": {
					"radius": 0.1,
					"direction": "outwards"
				},
				"minecraft:particle_initial_speed": 1,
				"minecraft:particle_lifetime_expression": {
					"max_lifetime": "Math.random(0.4, 1.4)"
				},
				"minecraft:particle_motion_dynamic": {
					"linear_acceleration": [
						0,
						-3,
						0
					],
					"linear_drag_coefficient": 5,
					"rotation_drag_coefficient": 0.3
				},
				"minecraft:particle_appearance_billboard": {
					"size": [
						0.035,
						0.035
					],
					"facing_camera_mode": "lookat_xyz",
					"uv": {
						"texture_width": 16,
						"texture_height": 16,
						"flipbook": {
							"base_UV": [
								7,
								12
							],
							"size_UV": [
								1,
								1
							],
							"step_UV": [
								-1,
								0
							],
							"frames_per_second": 8,
							"max_frame": 8,
							"stretch_to_lifetime": true,
							"loop": false
						}
					}
				},
				"minecraft:particle_initialization": {
					"per_render_expression": "variable.tint = variable.particle_random_1 * 0.5 + 0.5;"
				},
				"minecraft:particle_appearance_tinting": {
					"color": [
						"variable.tint",
						"variable.tint*0.85",
						0
					]
				}
			}
		}
	}
}