{
	"format_version": "1.10.0",
	"particle_effect": {
		"description": {
			"identifier": "cc_fairytales:pegacorn_trail",
			"basic_render_parameters": {
				"material": "particles_alpha",
				"texture": "textures/chillcraft/fairytales/particles/particula_unicornio"
			}
		},
		"components": {
			"minecraft:emitter_rate_steady": {
				"spawn_rate": 30,
				"max_particles": 30
			},
			"minecraft:emitter_lifetime_looping": {
				"active_time": 1
			},
			"minecraft:emitter_shape_box": {
				"half_dimensions": [0.1, 0.1, 0.8],
				"surface_only": true,
				"direction": "outwards"
			},
			"minecraft:particle_initialization": {
				"per_update_expression": "variable.mitad_vida= v.particle_lifetime/2;"
			},
			"minecraft:particle_lifetime_expression": {
				"max_lifetime": 1
			},
			"minecraft:particle_initial_speed": 0.1,
			"minecraft:particle_motion_dynamic": {
				"linear_acceleration": [0.2, 0, 0]
			},
			"minecraft:particle_appearance_billboard": {
				"size": [0.4, 0.3],
				"facing_camera_mode": "rotate_xyz",
				"uv": {
					"texture_width": 16,
					"texture_height": 128,
					"uv": [0, 0],
					"uv_size": [16, 16]
				}
			},
			"minecraft:particle_appearance_tinting": {
				"color": {
					"interpolant": "v.particle_age / v.particle_lifetime",
					"gradient": {
						"0.0": "#FFFFC700",
						"0.17": "#FFFF8D00",
						"0.37": "#FFFF0000",
						"0.59": "#FFDA6D6D",
						"0.81": "#FFB4B4B4",
						"1.0": "#FFD1D1D1"
					}
				}
			}
		}
	}
}