{
	"file_type": "particle",
	"display_name": "Bezier Curve Particle",
	"template": {
		"force_default_scope": true,
		"data_path": "particle_effect",
		"data": {
			"description": {
				"identifier": "minecraft:example_beziercurve",
				"basic_render_parameters": {
					"material": "particles_alpha",
					"texture": "textures/particle/particles"
				}
			},
			"components": {
				"minecraft:emitter_rate_instant": {
					"num_particles": 100
				},
				"minecraft:emitter_lifetime_once": {
					"active_time": 0
				},
				"minecraft:emitter_shape_sphere": {
					"radius": 0.1,
					"direction": "outwards"
				},
				"minecraft:particle_initial_speed": "Math.random(0.0, 15.0)",
				"minecraft:particle_initial_spin": {
					"rotation": "Math.random(0, 360)"
				},
				"minecraft:particle_lifetime_expression": {
					"max_lifetime": "math.random(1.0, 3.0)"
				},
				"minecraft:particle_motion_dynamic": {
					"linear_acceleration": [
						0,
						2,
						0
					],
					"linear_drag_coefficient": 5
				},
				"minecraft:particle_appearance_billboard": {
					"size": [
						0.1,
						0.1
					],
					"facing_camera_mode": "lookat_xyz",
					"uv": {
						"texture_width": 16,
						"texture_height": 16,
						"uv": [
							2,
							2
						],
						"uv_size": [
							1,
							1
						]
					}
				},
				"minecraft:particle_appearance_tinting": {
					"color": {
						"gradient": [
							[
								1,
								0,
								0,
								1
							],
							[
								0,
								1,
								1,
								1
							]
						],
						"interpolant": "variable.color_curve"
					}
				},
				"minecraft:particle_appearance_lighting": {}
			},
			"curves": {
				"variable.color_curve": {
					"type": "bezier",
					"nodes": [
						0,
						0.1,
						1,
						0.8
					],
					"input": "variable.particle_age",
					"horizontal_range": "variable.particle_lifetime"
				}
			}
		}
	}
}