{
	"format_version": "1.10.0",
	"particle_effect": {
		"description": {
			"identifier": "shapescape_mb:mammoth_fire_pole",
			"basic_render_parameters": {
				"material": "particles_alpha",
				"texture": "textures/shapescape/mb/particle/fire_swirl_fade"
			}
		},
		"curves": {
			"variable.size_c": {
				"type": "bezier",
				"input": "v.real_age",
				"horizontal_range": "v.emitter_lifetime+v.l",
				"nodes": [0.46, 0.96, 0.91, 1]
			},
			"variable.sphere": {
				"type": "catmull_rom",
				"input": "v.particle_random_1",
				"horizontal_range": 1,
				"nodes": [0, -2.61, -5.54, -5.13, -6.2, -2.93, -0.07]
			},
			"variable.opacity": {
				"type": "linear",
				"input": "v.particle_age",
				"horizontal_range": "v.particle_lifetime",
				"nodes": [0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0]
			}
		},
		"components": {
			"minecraft:emitter_initialization": {
				"creation_expression": "variable.radius = 1;variable.max_age = 0;variable.real_age = 0;v.l = 1;",
				"per_update_expression": "variable.max_age = math.max(v.emitter_age,v.max_age);variable.real_age = v.max_age + (v.emitter_age < v.max_age ? v.emitter_age : 0);"
			},
			"minecraft:emitter_local_space": {
				"position": true,
				"rotation": false
			},
			"minecraft:emitter_rate_steady": {
				"spawn_rate": 30,
				"max_particles": 100
			},
			"minecraft:emitter_lifetime_expression": {
				"activation_expression": 1
			},
			"minecraft:emitter_shape_point": {},
			"minecraft:particle_lifetime_expression": {
				"max_lifetime": "1/(math.clamp(v.particle_random_3, 0.5, 0.7))"
			},
			"minecraft:particle_initial_spin": {
				"rotation": "math.random(-360,360)"
			},
			"minecraft:particle_initial_speed": 50,
			"minecraft:particle_motion_parametric": {
				"relative_position": [
					"math.cos(v.particle_age*1500*(math.clamp(v.particle_random_2, 0.3, 0.6)))*v.sphere*0.1",
					"v.particle_random_1*4",
					"math.sin(v.particle_age*1500*(math.clamp(v.particle_random_2, 0.3, 0.6)))*v.sphere*0.1"
				]
			},
			"minecraft:particle_appearance_billboard": {
				"size": [
					"math.clamp(v.particle_random_3*2, 0.4, 0.8)",
					"math.clamp(v.particle_random_3*2, 0.4, 0.8)"
				],
				"facing_camera_mode": "rotate_xyz",
				"uv": {
					"texture_width": 1,
					"texture_height": 32,
					"flipbook": {
						"base_UV": [0, 0],
						"size_UV": [1, 1],
						"step_UV": [0, 1],
						"frames_per_second": 16,
						"max_frame": 32,
						"stretch_to_lifetime": true
					}
				}
			},
			"minecraft:particle_appearance_tinting": {
				"color": {
					"interpolant": "v.particle_random_4",
					"gradient": {
						"0.0": "#FFFFAB1E",
						"1.0": "#FFFFFFFF"
					}
				}
			}
		}
	}
}
