{
	"file_type": "particle",
	"display_name": "Flipbook Particle",
	"template": {
		"force_default_scope": true,
		"data_path": "particle_effect",
		"data": {
			"description": {
				"identifier": "minecraft:example_flipbook",
				"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_lifetime_expression": {
					"max_lifetime": "Math.random(1.0, 4.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,
						"flipbook": {
							"base_UV": [
								7,
								"8 + math.floor(variable.particle_random_1 * 5.999)"
							],
							"size_UV": [
								1,
								1
							],
							"step_UV": [
								-1,
								0
							],
							"frames_per_second": 8,
							"max_frame": "8 - math.floor(variable.particle_random_2*4)",
							"stretch_to_lifetime": true,
							"loop": false
						}
					}
				},
				"minecraft:particle_appearance_tinting": {
					"color": [
						1,
						1,
						1,
						1
					]
				},
				"minecraft:particle_appearance_lighting": {}
			}
		}
	}
}