{
	"format_version": "1.10.0",
	"particle_effect": {
		"description": {
			"identifier": "mnp_ci:whale_water_vacuum",
			"basic_render_parameters": {
				"material": "particles_alpha",
				"texture": "textures/particle/particles"
			}
		},
		"components": {
			"minecraft:emitter_initialization": {
				"creation_expression": "v.x=0;v.z=1;v.i=0;"
			},
			"minecraft:emitter_rate_steady": {
				"spawn_rate": "120 - math.sin(v.emitter_age/v.emitter_lifetime*90)*70",
				"max_particles": 40
			},
			"minecraft:emitter_lifetime_once": {
				"active_time": 3
			},
			"minecraft:emitter_shape_point": {
				"offset": ["(v.particle_random_1-0.5)*2 * v.x - v.z*math.lerp(0.2,0.8,v.i)", "math.lerp(-0.2,-0.5,v.i) + math.random(-0.1,0.1)", "(v.particle_random_1-0.5)*1.8 * -v.z + v.x*math.lerp(-0.2,-0.8,v.i) -0.5"],
				"direction": ["5*v.z", 1, "5*v.x"]
			},
			"minecraft:particle_initialization": {
				"per_render_expression": "v.i=math.min(v.emitter_age,1);"
			},
			"minecraft:particle_lifetime_expression": {
				"max_lifetime": "math.random(0.2, 0.4)"
			},
			"minecraft:particle_expire_if_not_in_blocks": ["minecraft:water", "minecraft:flowing_water", "minecraft:bubble_column"],
			"minecraft:particle_initial_spin": {
				"rotation": 90
			},
			"minecraft:particle_initial_speed": "math.lerp(1,2,v.i)",
			"minecraft:particle_motion_dynamic": {
				"linear_acceleration": ["(1-math.cos(v.particle_age/v.particle_lifetime*90)) * (1+v.particle_random_2*0.6) * v.z *(5+10*v.i)", "math.lerp((math.sin(v.particle_age/v.particle_lifetime*90) * -10), (1-math.cos(v.particle_age/v.particle_lifetime*90)) * (1+v.particle_random_2*0.6) * -v.x * (5+10*v.i), v.i)", "math.lerp((math.sin(v.particle_age/v.particle_lifetime*90) * -10), (1-math.cos(v.particle_age/v.particle_lifetime*90)) * (1+v.particle_random_2*0.6) * -v.x * (5+10*v.i), 1-v.i)"],
				"linear_drag_coefficient": 1
			},
			"minecraft:particle_appearance_billboard": {
				"size": [0.07, 0.2],
				"facing_camera_mode": "lookat_direction",
				"uv": {
					"texture_width": 128,
					"texture_height": 128,
					"uv": [8, 56],
					"uv_size": [8, 8]
				}
			},
			"minecraft:particle_appearance_lighting": {},
			"minecraft:particle_appearance_tinting": {
				"color": [0.2, 0.30196, 1, 1]
			}
		}
	}
}