{
	"file_type": "particle",
	"display_name": "Example Spiral Particle",
	"template": {
		"force_default_scope": true,
		"data_path": "particle_effect",
		"data": {
			"description": {
				"identifier": "minecraft:example_spiral",
				"basic_render_parameters": {
					"material": "particles_alpha",
					"texture": "textures/particle/particles"
				}
			},
			"components": {
				"minecraft:emitter_rate_steady": {
					"spawn_rate": "Math.random(10, 30)",
					"max_particles": 100
				},
				"minecraft:emitter_lifetime_once": {
					"active_time": 10
				},
				"minecraft:emitter_shape_point": {},
				"minecraft:particle_lifetime_expression": {
					"max_lifetime": "Math.random(1.0, 4.0)"
				},
				"minecraft:particle_motion_parametric": {
					"relative_position": [
						"Math.cos((variable.particle_age * 360) + (variable.particle_random_1 * 360))",
						"variable.particle_age*3",
						"Math.sin((variable.particle_age * 360) + (variable.particle_random_1 * 360))"
					]
				},
				"minecraft:particle_appearance_billboard": {
					"size": [
						0.1,
						0.1
					],
					"facing_camera_mode": "lookat_xyz",
					"uv": {
						"texture_width": 128,
						"texture_height": 128,
						"flipbook": {
							"base_UV": [
								0,
								80
							],
							"size_UV": [
								8,
								8
							],
							"step_UV": [
								8,
								0
							],
							"frames_per_second": 1,
							"max_frame": 16,
							"stretch_to_lifetime": true,
							"loop": false
						}
					}
				},
				"minecraft:particle_appearance_tinting": {
					"color": [
						"variable.particle_random_1",
						0,
						"variable.particle_random_2",
						1
					]
				}
			}
		}
	}
}