{
	"format_version": "1.10.0",
	"particle_effect": {
		"description": {
			"identifier": "mythicus_im:hdc.smelter.fuel",
			"basic_render_parameters": {
				"material": "particles_alpha",
				"texture": "textures/particle/particles"
			}
		},
		"components": {
			"minecraft:emitter_initialization": {
				"creation_expression": "v.dir_x=v.dir_x??0;v.dir_z=v.dir_z??-1;"
			},
			"minecraft:emitter_rate_steady": {
				"spawn_rate": 40,
				"max_particles": 6
			},
			"minecraft:emitter_lifetime_once": {
				"active_time": 0.1
			},
			"minecraft:emitter_shape_box": {
				"offset": ["v.dir_x*0.5", 0.75, "v.dir_z*0.5"],
				"half_dimensions": ["v.dir_z*0.25", 0.05, "v.dir_x*0.25"],
				"surface_only": true,
				"direction": ["v.dir_x", "math.random(-0.2,0.2)", "v.dir_z"]
			},
			"minecraft:particle_lifetime_expression": {
				"max_lifetime": "math.random(0.3,0.7)"
			},
			"minecraft:particle_initial_speed": "math.random(0.2,0.5)+1",
			"minecraft:particle_motion_dynamic": {
				"linear_acceleration": [0, 0.8, 0],
				"linear_drag_coefficient": 8
			},
			"minecraft:particle_appearance_billboard": {
				"size": ["math.max((0.2+v.particle_random_1*0.1)/1.5*(1-v.particle_age/2), 0)", "math.max((0.2+v.particle_random_1*0.1)/1.5*(1-v.particle_age/2), 0)"],
				"facing_camera_mode": "rotate_xyz",
				"uv": {
					"texture_width": 16,
					"texture_height": 16,
					"uv": ["math.round(1-v.particle_random_1)*3+3", 0],
					"uv_size": [1, 1]
				}
			},
			"minecraft:particle_appearance_tinting": {
				"color": ["v.particle_random_2*0.1", "v.particle_random_2*0.1", "v.particle_random_2*0.1", 1]
			}
		}
	}
}