{
	"format_version": "1.10.0",
	"particle_effect": {
		"description": {
			"identifier": "mythicus_im:hdc.craft_recipe_item",
			"basic_render_parameters": {
				"material": "particles_alpha",
				"texture": "textures/mythicus/hdc/particle/generic_items"
			}
		},
		"events": {
			"sfx": {
				"sound_effect": {
					"event_name": "pop"
				}
			}
		},
		"components": {
			"minecraft:emitter_initialization": {
				"creation_expression": "v.p_life=0.5;v.x=0;v.y=0;"
			},
			"minecraft:emitter_local_space": {
				"position": true,
				"rotation": false
			},
			"minecraft:emitter_rate_instant": {
				"num_particles": 1
			},
			"minecraft:emitter_lifetime_once": {
				"active_time": 1
			},
			"minecraft:emitter_lifetime_events": {
				"creation_event": "sfx"
			},
			"minecraft:emitter_shape_point": {
				"direction": ["math.random(-0.1,0.1)", 1, "math.random(-0.1,0.1)"]
			},
			"minecraft:particle_lifetime_expression": {
				"max_lifetime": "v.p_life"
			},
			"minecraft:particle_motion_parametric": {
				"relative_position": ["v.x*0.1875", "1.3 + math.sin(v.particle_age*300+150+v.particle_random_1*90+v.particle_random_2*90)*0.04 -math.sin(math.min(v.particle_age*6,1)*90)*0.25", "v.y*0.1875"]
			},
			"minecraft:particle_appearance_billboard": {
				"size": ["0.12 - (math.floor(v.particle_random_1*13) >= 8 ? 0.05)", "0.12 - (math.floor(v.particle_random_1*13) >= 8 ? 0.05)"],
				"facing_camera_mode": "lookat_xyz",
				"uv": {
					"texture_width": 128,
					"texture_height": 16,
					"uv": ["math.round(v.particle_random_1*7)*16", 0],
					"uv_size": [16, 16]
				}
			},
			"minecraft:particle_appearance_lighting": {},
			"minecraft:particle_appearance_tinting": {
				"color": ["math.min(v.particle_random_1*0.05+0.7-v.particle_random_4*0.1, 1)", "math.min(v.particle_random_2*0.05+0.7-v.particle_random_4*0.1, 1)", "math.min(v.particle_random_3*0.05+0.7-v.particle_random_4*0.1, 1)", 1]
			}
		}
	}
}