{
	"format_version": "1.10.0",
	"particle_effect": {
		"description": {
			"identifier": "shapescape_mb:endershulk_portal_sucking",
			"basic_render_parameters": {
				"material": "particles_alpha",
				"texture": "textures/particle/particles"
			}
		},
		"components": {
			"minecraft:emitter_initialization": {
				"creation_expression": "v.r_start=8;v.r_end=2;"
			},
			"minecraft:emitter_local_space": {
				"position": true,
				"rotation": true
			},
			"minecraft:emitter_rate_steady": {
				"spawn_rate": "v.emitter_age < 3.92-2 ? 50 : 0",
				"max_particles": 200
			},
			"minecraft:emitter_lifetime_once": {
				"active_time": 3.92
			},
			"minecraft:emitter_shape_point": {},
			"minecraft:particle_initialization": {
				"per_update_expression": "v.z_start=v.z_start??math.random(5, 10);v.angle=v.particle_random_1*360;v.x_start=math.sin(v.angle)*v.particle_random_2*v.r_start;v.y_start=math.cos(v.angle)*v.particle_random_2*v.r_start;v.x_end=math.sin(v.angle)*v.particle_random_3*v.particle_random_2*v.r_end;v.y_end=math.cos(v.angle)*v.particle_random_3*v.particle_random_2*v.r_end;v.lifetime_completion=v.particle_age/v.particle_lifetime;",
				"per_render_expression": "v.z_start=v.z_start??math.random(5, 10);v.angle=v.particle_random_1*360;v.x_start=math.sin(v.angle)*v.particle_random_2*v.r_start;v.y_start=math.cos(v.angle)*v.particle_random_2*v.r_start;v.x_end=math.sin(v.angle)*v.particle_random_3*v.particle_random_2*v.r_end;v.y_end=math.cos(v.angle)*v.particle_random_3*v.particle_random_2*v.r_end;v.lifetime_completion=v.particle_age/v.particle_lifetime;"
			},
			"minecraft:particle_lifetime_expression": {
				"max_lifetime": 2
			},
			"minecraft:particle_motion_parametric": {
				"relative_position": [
					"math.lerp(v.x_start, v.x_end, v.lifetime_completion)",
					"math.lerp(v.y_start, v.y_end, v.lifetime_completion)",
					"v.z_start*math.pow(v.lifetime_completion, 2)-v.z_start"
				]
			},
			"minecraft:particle_appearance_billboard": {
				"size": [
					"v.particle_random_4 > 0.5 ? 0.15 : 0.2",
					"v.particle_random_4 > 0.5 ? 0.15 : 0.2"
				],
				"facing_camera_mode": "rotate_xyz",
				"uv": {
					"texture_width": 128,
					"texture_height": 128,
					"uv": [16, 80],
					"uv_size": [8, 8]
				}
			},
			"minecraft:particle_appearance_tinting": {
				"color": [
					"math.lerp(0.725, 0.467, v.particle_random_4)",
					"math.lerp(0.894, 0.675, v.particle_random_4)",
					"math.lerp(0.310, 0.259, v.particle_random_4)"
				]
			}
		}
	}
}
