{
	"file_type": "particle",
	"display_name": "Example Catmull-Rom Curve Particle",
	"template": {
		"force_default_scope": true,
		"data_path": "particle_effect",
		"data": {
			"description": {
				"identifier": "minecraft:example_catmullromcurve",
				"basic_render_parameters": {
					"material": "particles_alpha",
					"texture": "textures/particle/particles"
				}
			},
			"curves": {
				"variable.size_curve": {
					"type": "catmull_rom",
					"nodes": [
						0.25,
						0.2,
						0.1,
						0.3,
						0.1,
						0.5,
						0,
						0.3
					],
					"input": "variable.particle_age",
					"horizontal_range": "variable.particle_lifetime"
				}
			},
			"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": [
						"variable.size_curve",
						"variable.size_curve"
					],
					"facing_camera_mode": "lookat_xyz",
					"uv": {
						"texture_width": 16,
						"texture_height": 16,
						"uv": [
							0,
							2
						],
						"uv_size": [
							1,
							1
						]
					}
				}
			},
			"minecraft:particle_appearance_tinting": {
				"color": [
					"variable.particle_random_1*0.5",
					"variable.particle_random_1*0.5",
					"variable.particle_random_1*0.5",
					1
				]
			},
			"minecraft:particle_appearance_lighting": {}
		}
	}
}