{
	"format_version": "1.10.0",
	"particle_effect": {
		"description": {
			"identifier": "shapescape_mb:lava_leaks_1",
			"basic_render_parameters": {
				"material": "particles_alpha",
				"texture": "textures/shapescape/mb/particle/spark"
			}
		},
		"curves": {
			"variable.pressure": {
				"input": "v.emitter_age",
				"horizontal_range": "v.emitter_lifetime",
				"type": "linear",
				"nodes": [18, 10, 10, 10, 10, 7, 7, 7, 7, 7, 7, 7, 4.5, 0]
			}
		},
		"components": {
			"minecraft:emitter_local_space": {
				"position": true,
				"rotation": true
			},
			"minecraft:emitter_rate_steady": {
				"spawn_rate": "v.emitter_age > (v.max_litetime??6) ? 0 : 20",
				"max_particles": 150
			},
			"minecraft:emitter_lifetime_once": {
				"active_time": 6
			},
			"minecraft:emitter_shape_point": {
				"direction": [
					"math.sin((v.emitter_random_1)*360+v.particle_random_1*15)",
					"(v.emitter_random_2+v.particle_random_2*0.2)*0.7+0.7",
					"math.cos((v.emitter_random_1)*360+v.particle_random_1*15)"
				],
				"offset": [
					"math.sin((v.emitter_random_1)*360+v.particle_random_1*15)",
					"2+((v.emitter_random_2+v.particle_random_2*0.2)*0.7+0.7)",
					"math.cos((v.emitter_random_1)*360+v.particle_random_1*15)"
				]
			},
			"minecraft:particle_lifetime_expression": {
				"max_lifetime": "math.random(10, 14)"
			},
			"minecraft:particle_initial_speed": "v.pressure",
			"minecraft:particle_motion_dynamic": {
				"linear_acceleration": [0, -20, 0],
				"linear_drag_coefficient": 1
			},
			"minecraft:particle_motion_collision": {
				"collision_radius": 0.02,
				"coefficient_of_restitution": 0.3,
				"collision_drag": 0.1
			},
			"minecraft:particle_appearance_billboard": {
				"size": [0.5, 0.5],
				"facing_camera_mode": "rotate_xyz",
				"uv": {
					"texture_width": 64,
					"texture_height": 16,
					"flipbook": {
						"base_UV": [0, 0],
						"size_UV": [16, 16],
						"step_UV": [16, 0],
						"frames_per_second": 12,
						"max_frame": 32,
						"stretch_to_lifetime": true
					}
				}
			}
		}
	}
}
