{
	"format_version": "1.10.0",
	"particle_effect": {
		"description": {
			"identifier": "shapescape_mb:piglin_boss_spawning",
			"basic_render_parameters": {
				"material": "particles_blend",
				"texture": "textures/shapescape/mb/particle/piglin_boss/fire_dimmed_round"
			}
		},
		"curves": {
			"variable.opacity": {
				"type": "linear",
				"input": "v.particle_age",
				"horizontal_range": "v.particle_lifetime",
				"nodes": [1, 0.4, 0.11, 0]
			}
		},
		"components": {
			"minecraft:emitter_initialization": {
				"per_update_expression": "variable.size=0.25;"
			},
			"minecraft:emitter_rate_instant": {
				"num_particles": 300
			},
			"minecraft:emitter_lifetime_once": {
				"active_time": 1.5
			},
			"minecraft:emitter_shape_box": {
				"offset": [0, 2, 0],
				"half_dimensions": [1.5, 2, 1.5],
				"direction": "outwards"
			},
			"minecraft:particle_lifetime_expression": {
				"max_lifetime": "math.random(0.75, 1.0)"
			},
			"minecraft:particle_expire_if_not_in_blocks": ["minecraft:air"],
			"minecraft:particle_initial_speed": 8,
			"minecraft:particle_motion_dynamic": {
				"linear_acceleration": [0, 5, 0],
				"linear_drag_coefficient": "v.particle_age > 0.3 ? 2 : 0"
			},
			"minecraft:particle_appearance_billboard": {
				"size": [
					"math.clamp(variable.particle_random_1 + 0.1, 0, 0.75)",
					"math.clamp(variable.particle_random_1 + 0.1, 0, 0.75)"
				],
				"facing_camera_mode": "rotate_xyz",
				"uv": {
					"texture_width": 16,
					"texture_height": 512,
					"flipbook": {
						"base_UV": [0, 0],
						"size_UV": [16, 16],
						"step_UV": [0, 16],
						"frames_per_second": 18,
						"max_frame": 32,
						"stretch_to_lifetime": true
					}
				}
			},
			"minecraft:particle_appearance_lighting": {},
			"minecraft:particle_appearance_tinting": {
				"color": {
					"interpolant": "v.particle_age / v.particle_lifetime",
					"gradient": {
						"0.51": "#FFFFFFFF",
						"1.0": "#00FFFFFF"
					}
				}
			}
		}
	}
}
