//onEvent('recipes', event => {
ServerEvents.recipes(event => {
	
	// pile conversions PGM
	event.shapeless('geghilarity:platinum_metallic_powder_dust', [ '4x geghilarity:small_platinum_metallic_powder_dust'])
	event.shapeless('geghilarity:platinum_metallic_powder_dust', [ '9x geghilarity:tiny_platinum_metallic_powder_dust'])
	event.shapeless('9x geghilarity:tiny_platinum_metallic_powder_dust', [ 'geghilarity:platinum_metallic_powder_dust'])
	event.custom({ 
		type: "modern_industrialization:packer",
eu: 4, duration: 100,item_inputs: [{item: "geghilarity:tiny_platinum_metallic_powder_dust", amount: 9}],
			item_outputs: [{item: "geghilarity:platinum_metallic_powder_dust", amount: 1}]})
	event.custom({ 
		type: "modern_industrialization:packer", eu: 4, duration: 100,item_inputs: [{item: "geghilarity:small_platinum_metallic_powder_dust", amount: 4}],
			item_outputs: [{item: "geghilarity:platinum_metallic_powder_dust", amount: 1}]})		
	event.custom({ 
		type: "modern_industrialization:unpacker", eu: 4, duration: 100,item_inputs: [{item: "geghilarity:platinum_metallic_powder_dust", amount: 1}],
			item_outputs: [{item: "geghilarity:tiny_platinum_metallic_powder_dust", amount: 9}]})
			
	event.shapeless('9x geggy:flint_dust_tiny', [ 'geggy:flint_dust'])		
	
	event.shapeless('geghilarity:platinum_residue_dust', [ '4x geghilarity:small_platinum_residue_dust'])
	event.shapeless('geghilarity:platinum_residue_dust', [ '9x geghilarity:tiny_platinum_residue_dust'])
	event.shapeless('9x geghilarity:tiny_platinum_residue_dust', [ 'geghilarity:platinum_residue_dust'])
	event.custom({ 
		type: "modern_industrialization:packer", eu: 4, duration: 100,item_inputs: [{item: "geghilarity:tiny_platinum_residue_dust", amount: 9}],
			item_outputs: [{item: "geghilarity:platinum_residue_dust", amount: 1}]})
	event.custom({ 
		type: "modern_industrialization:packer", eu: 4, duration: 100,item_inputs: [{item: "geghilarity:small_platinum_residue_dust", amount: 4}],
			item_outputs: [{item: "geghilarity:platinum_residue_dust", amount: 1}]})		
	event.custom({ 
		type: "modern_industrialization:unpacker", eu: 4, duration: 100,item_inputs: [{item: "geghilarity:platinum_residue_dust", amount: 1}],
			item_outputs: [{item: "geghilarity:tiny_platinum_residue_dust", amount: 9}]})
	
	event.shapeless('geghilarity:platinum_salt_dust', [ '4x geghilarity:small_platinum_salt_dust'])
	event.shapeless('geghilarity:platinum_salt_dust', [ '9x geghilarity:tiny_platinum_salt_dust'])
	event.shapeless('9x geghilarity:tiny_platinum_salt_dust', [ 'geghilarity:platinum_salt_dust'])
	event.custom({ 
		type: "modern_industrialization:packer", eu: 4, duration: 100,item_inputs: [{item: "geghilarity:tiny_platinum_salt_dust", amount: 9}],
			item_outputs: [{item: "geghilarity:platinum_salt_dust", amount: 1}]})
	event.custom({ 
		type: "modern_industrialization:packer", eu: 4, duration: 100,item_inputs: [{item: "geghilarity:small_platinum_salt_dust", amount: 4}],
			item_outputs: [{item: "geghilarity:platinum_salt_dust", amount: 1}]})		
	event.custom({ 
		type: "modern_industrialization:unpacker", eu: 4, duration: 100,item_inputs: [{item: "geghilarity:platinum_salt_dust", amount: 1}],
			item_outputs: [{item: "geghilarity:tiny_platinum_salt_dust", amount: 9}]})
	
	event.shapeless('geghilarity:palladium_salt_dust', [ '4x geghilarity:small_palladium_salt_dust'])
	event.shapeless('geghilarity:palladium_salt_dust', [ '9x geghilarity:tiny_palladium_salt_dust'])
	event.shapeless('9x geghilarity:tiny_palladium_salt_dust', [ 'geghilarity:palladium_salt_dust'])
	event.custom({ 
		type: "modern_industrialization:packer", eu: 4, duration: 100,item_inputs: [{item: "geghilarity:tiny_palladium_salt_dust", amount: 9}],
			item_outputs: [{item: "geghilarity:palladium_salt_dust", amount: 1}]})
	event.custom({ 
		type: "modern_industrialization:packer", eu: 4, duration: 100,item_inputs: [{item: "geghilarity:small_palladium_salt_dust", amount: 4}],
			item_outputs: [{item: "geghilarity:palladium_salt_dust", amount: 1}]})		
	event.custom({ 
		type: "modern_industrialization:unpacker", eu: 4, duration: 100,item_inputs: [{item: "geghilarity:palladium_salt_dust", amount: 1}],
			item_outputs: [{item: "geghilarity:tiny_palladium_salt_dust", amount: 9}]})
	
	event.shapeless('geghilarity:reprecipitated_palladium_dust', [ '4x geghilarity:small_reprecipitated_palladium_dust'])
	event.shapeless('geghilarity:reprecipitated_palladium_dust', [ '9x geghilarity:tiny_reprecipitated_palladium_dust'])
	event.shapeless('9x geghilarity:tiny_reprecipitated_palladium_dust', [ 'geghilarity:reprecipitated_palladium_dust'])
	event.custom({ 
		type: "modern_industrialization:packer", eu: 4, duration: 100,item_inputs: [{item: "geghilarity:tiny_reprecipitated_palladium_dust", amount: 9}],
			item_outputs: [{item: "geghilarity:reprecipitated_palladium_dust", amount: 1}]})
	event.custom({ 
		type: "modern_industrialization:packer", eu: 4, duration: 100,item_inputs: [{item: "geghilarity:small_reprecipitated_palladium_dust", amount: 4}],
			item_outputs: [{item: "geghilarity:reprecipitated_palladium_dust", amount: 1}]})		
	event.custom({ 
		type: "modern_industrialization:unpacker", eu: 4, duration: 100,item_inputs: [{item: "geghilarity:reprecipitated_palladium_dust", amount: 1}],
			item_outputs: [{item: "geghilarity:tiny_reprecipitated_palladium_dust", amount: 9}]})
	
	event.shapeless('geghilarity:ashes', [ '4x geghilarity:small_ashes'])
	event.shapeless('geghilarity:ashes', [ '9x geghilarity:tiny_ashes'])
	event.shapeless('9x geghilarity:tiny_ashes', [ 'geghilarity:ashes'])
	event.custom({ 
		type: "modern_industrialization:packer", eu: 4, duration: 100,item_inputs: [{item: "geghilarity:tiny_ashes", amount: 9}],
			item_outputs: [{item: "geghilarity:ashes", amount: 1}]})
	event.custom({ 
		type: "modern_industrialization:packer", eu: 4, duration: 100,item_inputs: [{item: "geghilarity:small_ashes", amount: 4}],
			item_outputs: [{item: "geghilarity:ashes", amount: 1}]})		
	event.custom({ 
		type: "modern_industrialization:unpacker", eu: 4, duration: 100,item_inputs: [{item: "geghilarity:ashes", amount: 1}],
			item_outputs: [{item: "geghilarity:tiny_ashes", amount: 9}]})
	
	event.shapeless('geghilarity:leach_residue_dust', [ '4x geghilarity:small_leach_residue_dust'])
	event.shapeless('geghilarity:leach_residue_dust', [ '9x geghilarity:tiny_leach_residue_dust'])
	event.shapeless('9x geghilarity:tiny_leach_residue_dust', [ 'geghilarity:leach_residue_dust'])
	event.custom({ 
		type: "modern_industrialization:packer", eu: 4, duration: 100,item_inputs: [{item: "geghilarity:tiny_leach_residue_dust", amount: 9}],
			item_outputs: [{item: "geghilarity:leach_residue_dust", amount: 1}]})
	event.custom({ 
		type: "modern_industrialization:packer", eu: 4, duration: 100,item_inputs: [{item: "geghilarity:small_leach_residue_dust", amount: 4}],
			item_outputs: [{item: "geghilarity:leach_residue_dust", amount: 1}]})		
	event.custom({ 
		type: "modern_industrialization:unpacker", eu: 4, duration: 100,item_inputs: [{item: "geghilarity:leach_residue_dust", amount: 1}],
			item_outputs: [{item: "geghilarity:tiny_leach_residue_dust", amount: 9}]})
			
	event.shapeless('geghilarity:rock_salt_dust', [ '4x geghilarity:small_rock_salt_dust'])
	event.shapeless('geghilarity:rock_salt_dust', [ '9x geghilarity:tiny_rock_salt_dust'])
	event.shapeless('9x geghilarity:tiny_rock_salt_dust', [ 'geghilarity:rock_salt_dust'])
	event.custom({ 
		type: "modern_industrialization:packer", eu: 4, duration: 100,item_inputs: [{item: "geghilarity:tiny_rock_salt_dust", amount: 9}],
			item_outputs: [{item: "geghilarity:rock_salt_dust", amount: 1}]})
	event.custom({ 
		type: "modern_industrialization:packer", eu: 4, duration: 100,item_inputs: [{item: "geghilarity:small_rock_salt_dust", amount: 4}],
			item_outputs: [{item: "geghilarity:rock_salt_dust", amount: 1}]})		
	event.custom({ 
		type: "modern_industrialization:unpacker", eu: 4, duration: 100,item_inputs: [{item: "geghilarity:rock_salt_dust", amount: 1}],
			item_outputs: [{item: "geghilarity:tiny_rock_salt_dust", amount: 9}]})
			
	// bricks		
	event.shapeless('modern_industrialization:brick_dust', [ '4x geggy:small_brick_dust'])
	event.custom({ 
		type: "modern_industrialization:packer", eu: 4, duration: 100,item_inputs: [{item: "geggy:small_brick_dust", amount: 4}],
			item_outputs: [{item: "modern_industrialization:brick_dust", amount: 1}]})		

	event.custom({ 
		type: "modern_industrialization:packer", eu: 4, duration: 100,item_inputs: [{item: "geggy:wrought_small_dust", amount: 4}],
			item_outputs: [{item: "geggy:wrought_dust", amount: 1}]})		

	event.custom({ 
		type: "modern_industrialization:packer", eu: 4, duration: 100,item_inputs: [{item: "geghilarity:tiny_indium_dust", amount: 9}],
			item_outputs: [{item: "geghilarity:indium_dust", amount: 1}]})				
	
	event.custom({ 
		type: "modern_industrialization:packer", eu: 4, duration: 100,item_inputs: [{item: "geghilarity:tiny_tungstate_dust", amount: 9}],
			item_outputs: [{item: "geghilarity:tungstate_dust", amount: 1}]})
	event.custom({ 
		type: "modern_industrialization:packer", eu: 4, duration: 100,item_inputs: [{item: "geghilarity:small_tungstate_dust", amount: 4}],
			item_outputs: [{item: "geghilarity:tungstate_dust", amount: 1}]})
			
	event.shapeless('kubejs:zinc_dust', [ '4x geghilarity:small_zinc_dust'])
	event.shapeless('kubejs:zinc_dust', [ '9x geghilarity:tiny_zinc_dust'])
	event.shapeless('9x geghilarity:tiny_zinc_dust', [ 'kubejs:zinc_dust'])
	event.custom({ 
		type: "modern_industrialization:packer", eu: 4, duration: 100,item_inputs: [{item: "geghilarity:tiny_zinc_dust", amount: 9}],
			item_outputs: [{item: "kubejs:zinc_dust", amount: 1}]})
	event.custom({ 
		type: "modern_industrialization:packer", eu: 4, duration: 100,item_inputs: [{item: "geghilarity:small_zinc_dust", amount: 4}],
			item_outputs: [{item: "kubejs:zinc_dust", amount: 1}]})		
	event.custom({ 
		type: "modern_industrialization:unpacker", eu: 4, duration: 100,item_inputs: [{item: "kubejs:zinc_dust", amount: 1}],
			item_outputs: [{item: "geghilarity:tiny_zinc_dust", amount: 9}]})		

	event.custom({ 
		type: "modern_industrialization:packer", eu: 4, duration: 100,item_inputs: [{item: "geghilarity:tiny_jasper_dust", amount: 9}],
			item_outputs: [{item: "geghilarity:jasper_dust", amount: 1}]})	
			
	// MAGICK		
	event.custom({ 
		type: "modern_industrialization:packer", eu: 4, duration: 100,item_inputs: [{item: "geghilarity:tiny_calcite_dust", amount: 9}],
			item_outputs: [{item: "magick:calcite_dust", amount: 1}]})	
	event.custom({ 
		type: "modern_industrialization:unpacker", eu: 4, duration: 50,item_inputs: [{item: "magick:calcite_dust", amount: 1}],
			item_outputs: [{item: "geghilarity:tiny_calcite_dust", amount: 9}]})			
			
	event.custom({ 
		type: "modern_industrialization:packer", eu: 4, duration: 100,item_inputs: [{item: "geghilarity:small_silver_oxide_dust", amount: 4}],
			item_outputs: [{item: "geghilarity:silver_oxide_dust", amount: 1}]})

	event.custom({ 
		type: "modern_industrialization:packer", eu: 4, duration: 100,item_inputs: [{item: "geghilarity:tiny_gallium_dust", amount: 9}],
			item_outputs: [{item: "geghilarity:gallium_dust", amount: 1}]})
	event.custom({ 
		type: "modern_industrialization:unpacker", eu: 4, duration: 100,item_inputs: [{item: "geghilarity:gallium_dust", amount: 1}],
			item_outputs: [{item: "geghilarity:tiny_gallium_dust", amount: 9}]})		

	event.custom({ 
		type: "modern_industrialization:unpacker", eu: 4, duration: 100,item_inputs: [{item: "geghilarity:ferrosilicon_dust", amount: 1}],
			item_outputs: [{item: "geghilarity:small_ferrosilicon_dust", amount: 4}]})	

	event.custom({ 
		type: "modern_industrialization:unpacker", eu: 4, duration: 100,item_inputs: [{item: "geghilarity:dark_ashes", amount: 1}],
			item_outputs: [{item: "geghilarity:tiny_dark_ashes", amount: 9}]})	
	event.custom({ 
		type: "modern_industrialization:unpacker", eu: 4, duration: 100,item_inputs: [{item: "geghilarity:tiny_dark_ashes", amount: 4}],
			item_outputs: [{item: "geghilarity:dark_ashes", amount: 1}]})	
	event.shapeless('geghilarity:dark_ashes', [ '9x geghilarity:tiny_dark_ashes'])	

	event.shapeless('geghilarity:seaweed_ash_dust', [ '4x geghilarity:small_seaweed_ash_dust'])	
	event.custom({ 
		type: "modern_industrialization:packer", eu: 2, duration: 100,item_inputs: [{item: "geghilarity:small_seaweed_ash_dust", amount: 4}],
			item_outputs: [{item: "geghilarity:seaweed_ash_dust", amount: 1}]})	

	event.shapeless('geghilarity:potassium_persulfate_dust', [ '9x geghilarity:tiny_potassium_persulfate_dust'])
	event.shapeless('9x geghilarity:tiny_potassium_persulfate_dust', [ 'geghilarity:potassium_persulfate_dust'])	
	event.custom({ 
		type: "modern_industrialization:packer", eu: 2, duration: 100,item_inputs: [{item: "geghilarity:tiny_potassium_persulfate_dust", amount: 9}],
			item_outputs: [{item: "geghilarity:potassium_persulfate_dust", amount: 1}]})	
	event.custom({ 
		type: "modern_industrialization:unpacker", eu: 2, duration: 100,item_inputs: [{item: "geghilarity:potassium_persulfate_dust", amount: 1}],
			item_outputs: [{item: "geghilarity:tiny_potassium_persulfate_dust", amount: 9}]})	
			
	event.shapeless('4x geghilarity:small_gallium_arsenide_dust', [ 'geghilarity:gallium_arsenide_dust'])		
	event.custom({ 
		type: "modern_industrialization:unpacker", eu: 2, duration: 100,item_inputs: [{item: "geghilarity:gallium_arsenide_dust", amount: 1}],
			item_outputs: [{item: "geghilarity:small_gallium_arsenide_dust", amount: 4}]})		

	event.custom({ 
		type: "modern_industrialization:packer", eu: 2, duration: 100,item_inputs: [{item: "geghilarity:tiny_chromite_dust", amount: 9}],
			item_outputs: [{item: "geghilarity:chromite_dust", amount: 1}]})

	event.shapeless('geghilarity:magnetite_dust', [ '4x geghilarity:small_magnetite_dust'])	
	event.custom({ 
		type: "modern_industrialization:packer", eu: 2, duration: 100,item_inputs: [{item: "geghilarity:small_magnetite_dust", amount: 4}],
			item_outputs: [{item: "geghilarity:magnetite_dust", amount: 1}]})	

	event.custom({ 
		type: "modern_industrialization:packer", eu: 2, duration: 100,item_inputs: [{item: "geghilarity:small_taranium_dust", amount: 4}],
			item_outputs: [{item: "geghilarity:taranium_dust", amount: 1}]})		

	event.remove({id: 'minecraft:gold_ingot_from_nuggets'})
	event.remove({id: 'minecraft:gold_nugget'})
	event.custom({ 
		type: "modern_industrialization:alloy_smelter", 
		eu: 2,
		duration: 100,
		item_inputs: [
			{item: "minecraft:gold_ingot", amount: 1},
			{item: "geggy:mold_nugget", amount: 1, probability: 0.0}
		],
		item_outputs: [
			{item: "minecraft:gold_nugget", amount: 9}
		]
	})
	event.custom({ 
		type: "modern_industrialization:alloy_smelter", 
		eu: 2,
		duration: 200,
		item_inputs: [
			{item: "minecraft:gold_nugget", amount: 9},
			{item: "geggy:mold_ingot", amount: 1, probability: 0.0}
		],
		item_outputs: [
			{item: "minecraft:gold_ingot", amount: 1}
		]
	})
	
	event.custom({ 
		type: "modern_industrialization:alloy_smelter", 
		eu: 2,
		duration: 200,
		item_inputs: [
			{item: "geghilarity:precious_nugget", amount: 9},
			{item: "geggy:mold_ingot", amount: 1, probability: 0.0}
		],
		item_outputs: [
			{item: "geghilarity:precious_ingot", amount: 1}
		]
	})
	
	event.remove({id: 'modern_industrialization:materials/iron/packer/ingot'})
	event.remove({id: 'modern_industrialization:materials/iron/unpacker/nugget'})
	
})

// tag (no hashtag) = item
