{
	"file_type": "particle",
	"display_name": "Example Particle Event System",
	"template": {
		"force_default_scope": true,
		"data_path": "particle_effect",
		"data": {
			"description": {
				"identifier": "minecraft:example_particle_event_system",
				"basic_render_parameters": {
					"material": "particles_alpha",
					"texture": "textures/particle/particles"
				}
			},
			"components": {
				"minecraft:emitter_lifetime_events": {
					"creation_event": "emitter_create_event",
					"expiration_event": "emitter_expiration_event",
					"timeline": [
						"emitter_timeline_event0",
						[
							"emitter_timeline_event2",
							"emitter_timeline_event3"
						],
						"emitter_timeline_event1",
						"emitter_timeline_event4",
						"mix_test",
						[
							"random_test",
							"random_test",
							"random_test",
							"random_test",
							"sequence_test"
						]
					]
				},
				"minecraft:emitter_rate_instant": {
					"num_particles": 1
				},
				"minecraft:emitter_lifetime_once": {
					"active_time": 2.5
				},
				"minecraft:emitter_shape_point": {},
				"minecraft:particle_lifetime_events": {
					"creation_event": "particle_create_event",
					"expiration_event": "particle_expiration_event",
					"timeline": [
						"particle_timeline_event0",
						[
							"particle_timeline_event2",
							"particle_timeline_event3"
						],
						"particle_timeline_event1",
						"particle_lifetime_event4"
					]
				},
				"minecraft:particle_lifetime_expression": {
					"max_lifetime": 3
				},
				"minecraft:particle_motion_dynamic": {
					"linear_acceleration": [
						0,
						-9.8,
						0
					]
				},
				"minecraft:particle_motion_collision": {
					"collision_radius": 0.5,
					"coefficient_of_restitution": 0,
					"events": {
						"event": "collision_event",
						"min_speed": 2
					}
				},
				"minecraft:particle_appearance_billboard": {
					"size": [
						1,
						1
					],
					"facing_camera_mode": "lookat_xyz",
					"uv": {
						"texture_width": 16,
						"texture_height": 16,
						"uv": [
							0,
							5
						],
						"uv_size": [
							1,
							1
						]
					}
				}
			},
			"events": {
				"emitter_create_event": {
					"log": "emitter_create_event"
				},
				"emitter_expiration_event": {
					"log": "emitter_expiration_event"
				},
				"emitter_timeline_event0": {
					"log": "emitter_timeline_event0"
				},
				"emitter_timeline_event1": {
					"log": "emitter_timeline_event1"
				},
				"emitter_timeline_event2": {
					"log": "emitter_timeline_event2"
				},
				"emitter_timeline_event3": {
					"log": "emitter_timeline_event3"
				},
				"emitter_timeline_event4": {
					"log": "emitter_timeline_event4"
				},
				"particle_create_event": {
					"log": "particle_create_event"
				},
				"particle_expiration_event": {
					"log": "particle_expiration_event"
				},
				"particle_timeline_event0": {
					"log": "particle_timeline_event0"
				},
				"particle_timeline_event1": {
					"log": "particle_timeline_event1"
				},
				"particle_timeline_event2": {
					"log": "particle_timeline_event2"
				},
				"particle_timeline_event3": {
					"log": "particle_timeline_event3"
				},
				"particle_lifetime_event4": {
					"log": "particle_lifetime_event4"
				},
				"collision_event": {
					"log": "collision_event"
				},
				"sequence_test": {
					"sequence": [
						{
							"log": "sequence_event1"
						},
						{
							"log": "sequence_event2"
						},
						{
							"log": "sequence_event3"
						},
						{
							"log": "sequence_event4"
						}
					]
				},
				"random_test": {
					"randomize": [
						{
							"weight": 1,
							"log": "random_choice1"
						},
						{
							"weight": 2,
							"log": "random_choice2"
						},
						{
							"weight": 1,
							"log": "random_choice3"
						}
					]
				},
				"mix_test": {
					"sequence": [
						{
							"randomize": [
								{
									"weight": 1,
									"log": "mix_part_1_choice_1"
								},
								{
									"weight": 2,
									"log": "mix_part_1_choice_2"
								},
								{
									"weight": 1,
									"log": "mix_part_1_choice_3"
								}
							]
						},
						{
							"log": "mix_part_2"
						}
					],
					"random": [
						{
							"weight": 1,
							"sequence": [
								{
									"log": "mix_part_3_choice_1_event1"
								},
								{
									"log": "mix_part_3_choice_1_event2"
								},
								{
									"log": "mix_part_3_choice_1_event3"
								}
							]
						},
						{
							"weight": 2,
							"log": "mix_part_3_choice_2"
						}
					]
				}
			}
		}
	}
}