

//onEvent('tags.items', event => { 
ServerEvents.tags('item', event => { 
  
  event.add('c:stripped_logs', 'geggy:j_stripped_log')
  
  event.add('c:stripped_logs', 'ad_astra:stripped_glacian_log')
  
  event.add('forever', 'drilly:drill_group1')
  event.add('forever', 'drilly:drill_group2')
  event.add('forever', 'drilly:drill_group3')
  event.add('forever', 'drilly:drill_group4')
  event.add('forever', 'drilly:drill_group5')
  event.add('forever', 'drilly:drill_groupx')
  event.add('forever', 'geggy:rose_quartz_blend')
  event.add('forever', 'create:rose_quartz')
  event.add('forever', 'minecraft:amethyst_shard')
  
  event.add('selector', 'create:precision_mechanism')
  event.add('selector', 'geggy:selector_1')
  event.add('selector', 'geggy:selector_2')
  event.add('selector', 'geggy:selector_3')
  
  event.add('c:tools/pickaxes', 'geggy:flint_pickaxe')
  event.add('c:tools/pickaxes', 'geggy:reinforced_flint_pickaxe')
  event.add('c:tools/pickaxes', 'geggy:bronze_pickaxe')
  event.add('c:tools', 'geggy:flint_pickaxe')
  event.add('c:tools', 'geggy:reinforced_flint_pickaxe')
  event.add('c:tools', 'geggy:bronze_pickaxe')
  event.add('c:pickaxes', 'geggy:flint_pickaxe')
  event.add('c:pickaxes', 'geggy:reinforced_flint_pickaxe')
  event.add('c:pickaxes', 'geggy:bronze_pickaxe')
  
  event.add('c:tools', 'geggy:flint_sword')
  event.add('c:tools', 'geggy:reinforced_flint_sword')
  event.add('c:tools', 'geggy:bronze_sword')
  event.add('c:swords', 'geggy:flint_sword')
  event.add('c:swords', 'geggy:reinforced_flint_sword')
  event.add('c:swords', 'geggy:bronze_sword')
  
  event.add('c:tools', 'geggy:flint_shovel')
  event.add('c:tools', 'geggy:reinforced_flint_shovel')
  event.add('c:tools', 'geggy:bronze_shovel')
  event.add('c:shovels', 'geggy:flint_shovel')
  event.add('c:shovels', 'geggy:reinforced_flint_shovel')
  event.add('c:shovels', 'geggy:bronze_shovel')
  event.add('c:tools/shovels', 'geggy:flint_shovel')
  event.add('c:tools/shovels', 'geggy:reinforced_flint_shovel')
  event.add('c:tools/shovels', 'geggy:bronze_shovel')
  
  event.add('c:tools/axes', 'geggy:flint_axe')
  event.add('c:tools/axes', 'geggy:reinforced_flint_axe')
  event.add('c:tools/axes', 'geggy:bronze_axe')
  event.add('c:tools', 'geggy:flint_axe')
  event.add('c:tools', 'geggy:reinforced_flint_axe')
  event.add('c:tools', 'geggy:bronze_axe')
  event.add('c:axes', 'geggy:flint_axe')
  event.add('c:axes', 'geggy:reinforced_flint_axe')
  event.add('c:axes', 'geggy:bronze_axe')
  
  event.add('c:tools', 'geggy:flint_hoe')
  event.add('c:tools', 'geggy:reinforced_flint_hoe')
  event.add('c:tools', 'geggy:bronze_hoe')
  event.add('c:hoes', 'geggy:flint_hoe')
  event.add('c:hoes', 'geggy:reinforced_flint_hoe')
  event.add('c:hoes', 'geggy:bronze_hoe')
  
  event.add('boiler_fuel', 'modern_industrialization:coal_tiny_dust')
  event.add('boiler_fuel', 'modern_industrialization:lignite_coal_tiny_dust')
  
  event.add('geggy:lv_cable', 'powah:energy_cable_starter')
  event.add('geggy:lv_cable', 'powah:energy_cable_basic')
  
  event.add('cork', 'geggy:oak_bark')
  event.add('cork', 'geggy:dark_oak_bark')
  event.add('cork', 'immersive_weathering:oak_bark')
  event.add('cork', 'immersive_weathering:dark_oak_bark')
  
  event.add('c:hidden_from_recipe_viewers', 'minecraft:wooden_pickaxe')
  event.add('c:hidden_from_recipe_viewers', 'minecraft:stone_pickaxe')
  event.add('c:hidden_from_recipe_viewers', 'create:copper_sheet')
  event.add('c:hidden_from_recipe_viewers', 'create:iron_sheet')
  event.add('c:hidden_from_recipe_viewers', 'create:golden_sheet')
  event.add('c:hidden_from_recipe_viewers', 'kibe:trash_can')
  event.add('c:hidden_from_recipe_viewers', 'kibe:pocket_trash_can')
  event.add('c:hidden_from_recipe_viewers', 'kibe:pocket_crafting_table')
  event.add('c:hidden_from_recipe_viewers', 'kibe:entangled_bag')
  event.add('c:hidden_from_recipe_viewers', 'kibe:entangled_tank')
  event.add('c:hidden_from_recipe_viewers', 'kibe:entangled_bucket')
  event.add('c:hidden_from_recipe_viewers', 'kibe:void_bucket')
  event.add('c:hidden_from_recipe_viewers', 'kibe:big_torch')
  event.add('c:hidden_from_recipe_viewers', 'modern_industrialization:copper_nugget')
  event.add('c:hidden_from_recipe_viewers', 'ad_astra:steel_plate')
  event.add('c:hidden_from_recipe_viewers', 'ad_astra:steel_ingot')
  event.add('c:hidden_from_recipe_viewers', 'ad_astra:iron_plate')
  event.add('c:hidden_from_recipe_viewers', 'ad_astra:iron_rod')
  event.add('c:hidden_from_recipe_viewers', 'ad_astra:steel_nugget')
  event.add('c:hidden_from_recipe_viewers', 'extended_drawers:connector')
  event.add('c:hidden_from_recipe_viewers', 'extended_drawers:access_point')
  event.add('c:hidden_from_recipe_viewers', 'modern_industrialization:iron_hammer')
  event.add('c:hidden_from_recipe_viewers', 'modern_industrialization:steel_hammer')
  event.add('c:hidden_from_recipe_viewers', 'modern_industrialization:diamond_hammer')
  event.add('c:hidden_from_recipe_viewers', 'modern_industrialization:netherite_hammer')
  event.add('c:hidden_from_recipe_viewers', 'additionaladditions:rope')
  event.add('c:hidden_from_recipe_viewers', 'naturalist:glow_goop')
  
  event.remove('c:steel_ingots', 'ad_astra:steel_ingot')
  event.remove('c:ingots', 'ad_astra:steel_ingot')
  event.remove('c:steel_plates', 'ad_astra:steel_plate')
  event.remove('c:plates', 'ad_astra:steel_plate')
  event.remove('c:iron_plates', 'ad_astra:iron_plate')
  event.remove('c:plates', 'ad_astra:iron_plate')
  event.remove('c:iron_rods', 'ad_astra:iron_rod')
  event.remove('c:steel_nuggets', 'ad_astra:steel_nugget')
  event.remove('c:nuggets', 'ad_astra:steel_nugget')
  
  event.add('c:iron_rods', 'modern_industrialization:iron_rod')
  
});

ServerEvents.tags('block', event => { 

  //event.add('minecraft:mineable/pickaxe', 'modern_industrialization:pyro')
  event.remove('needs_iron_tool', 'minecraft:redstone_ore')
  event.remove('needs_iron_tool', 'minecraft:deepslate_redstone_ore')
  event.add('needs_stone_tool', 'minecraft:redstone_ore')
  event.add('needs_stone_tool', 'minecraft:deepslate_redstone_ore')
  
  event.add('needs_stone_tool', 'geggy:stibnite_ore')
  
  event.remove('needs_iron_tool', 'create:zinc_ore')
  event.remove('needs_iron_tool', 'create:deepslate_zinc_ore')
  event.add('needs_stone_tool', 'create:zinc_ore')
  event.add('needs_stone_tool', 'create:deepslate_zinc_ore')
  
  event.add('needs_stone_tool', 'minecraft:deepslate_coal_ore')
  event.add('needs_stone_tool', 'geggy:deepslate_precious_ore')
  
  event.remove('needs_stone_tool', 'minecraft:iron_ore')
  event.remove('needs_stone_tool', 'minecraft:copper_ore')
  event.remove('needs_stone_tool', 'minecraft:redstone_ore')
  event.remove('needs_stone_tool', 'create:zinc_ore')
  event.remove('needs_stone_tool', 'modern_industrialization:lead_ore')
  event.remove('needs_stone_tool', 'modern_industrialization:lignite_coal_ore')
  event.remove('needs_stone_tool', 'modern_industrialization:tin_ore')
  event.remove('needs_stone_tool', 'modern_industrialization:salt_ore')
  
  event.remove('needs_stone_tool', 'modern_industrialization:tungsten_ore')
  event.add('needs_diamond_tool', 'modern_industrialization:tungsten_ore')
  event.remove('needs_stone_tool', 'modern_industrialization:deepslate_tungsten_ore')
  event.add('needs_diamond_tool', 'modern_industrialization:deepslate_tungsten_ore')
  event.remove('needs_stone_tool', 'modern_industrialization:uranium_ore')
  event.add('needs_iron_tool', 'modern_industrialization:uranium_ore')
  event.remove('needs_stone_tool', 'modern_industrialization:deepslate_uranium_ore')
  event.add('needs_iron_tool', 'modern_industrialization:deepslate_uranium_ore')
  
  event.add('needs_stone_tool', 'minecraft:deepslate')
  event.add('needs_stone_tool', 'minecraft:cobbled_deepslate')
  event.add('needs_stone_tool', 'minecraft:polished_deepslate')
  event.add('needs_stone_tool', 'minecraft:infested_deepslate')
  event.add('needs_stone_tool', 'minecraft:deepslate_bricks')
  event.add('needs_stone_tool', 'minecraft:deepslate_tiles')
  event.add('needs_stone_tool', 'minecraft:layered_deepslate')
  event.add('needs_stone_tool', 'minecraft:tuff')
  event.add('needs_stone_tool', 'minecraft:cut_tuff')
  event.add('needs_stone_tool', 'minecraft:polished_cut_tuff')
  event.add('needs_stone_tool', 'minecraft:cut_tuff_bricks')
  event.add('needs_stone_tool', 'minecraft:small_tuff_bricks')
  event.add('needs_stone_tool', 'minecraft:layered_tuff')
  event.add('needs_stone_tool', 'minecraft:tuff_pillar')
  event.add('needs_stone_tool', 'minecraft:gilded_blackstone')
  event.add('needs_stone_tool', 'minecraft:polished_blackstone_bricks')
  event.add('needs_stone_tool', 'minecraft:blackstone_tile')
  
  event.remove('brazier:brazier_base_blocks', 'minecraft:gilded_blackstone')
  event.remove('brazier:brazier_stripe_blocks', 'minecraft:gilded_blackstone')
  event.remove('brazier:brazier_base_blocks', 'minecraft:crying_obsidian')
  event.remove('brazier:brazier_stripe_blocks', 'minecraft:crying_obsidian')
  event.remove('brazier:brazier_base_blocks', 'minecraft:ancient_debris')
  event.remove('brazier:brazier_stripe_blocks', 'minecraft:ancient_debris')
  event.remove('brazier:brazier_base_blocks', 'minecraft:netherite_block')
  event.remove('brazier:brazier_stripe_blocks', 'minecraft:netherite_block')
  
  event.add('brazier:brazier_base_blocks', 'geggy:gloom_block')
  event.add('brazier:brazier_stripe_blocks', 'geggy:gloom_block')
  event.add('needs_stone_tool', 'geggy:gloom_block')
  
  event.add('c:hidden_from_recipe_viewers', 'moderndynamics:lv_cable')
  event.add('c:hidden_from_recipe_viewers', 'moderndynamics:mv_cable')
  event.add('c:hidden_from_recipe_viewers', 'moderndynamics:hv_cable')
  event.add('c:hidden_from_recipe_viewers', 'moderndynamics:ev_cable')
  event.add('c:hidden_from_recipe_viewers', 'moderndynamics:superconductor_cable')

  
});  
  
//onEvent('recipes', e => {
/*
ServerEvents.recipes(e => {	
	e.forEachRecipe({ type: 'minecraft:crafting_shapeless', output: '#minecraft:planks' }, r => {
		e.remove({ type: 'minecraft:crafting_shapeless', output: r.outputItems[0].id })
		e.shapeless(`2x ${r.outputItems[0].id}`, r.inputItems[0])
	})
})	
*/

//onEvent('recipes', event => {
ServerEvents.recipes(event => {
	
	event.remove([
		"minecraft:wooden_sword",
		"minecraft:wooden_shovel",
		"minecraft:wooden_hoe",
		"minecraft:stone_sword",
		"minecraft:stone_shovel",
		"minecraft:stone_hoe",
		
		"farmersdelight:canvas",
		"supplementaries:sack",
		"charm:extra_recipes/bundle",
		"additionaladditions:bundle"
	])
	
	event.shaped('minecraft:wooden_sword', [
    'S  ',
    'S  ',
    'A  '
	], {
		S: '#minecraft:planks',
		A: 'geggy:j_tool_rod'
	})
	event.shaped('minecraft:wooden_shovel', [
    'S  ',
    'A  ',
    '   '
	], {
		S: '#minecraft:planks',
		A: 'geggy:j_tool_rod'
	})
	event.shaped('minecraft:wooden_hoe', [
    'SS ',
    ' A ',
    '   '
	], {
		S: '#minecraft:planks',
		A: 'geggy:j_tool_rod'
	})
	
	event.shaped('minecraft:stone_sword', [
    'S  ',
    'S  ',
    'A  '
	], {
		S: 'minecraft:stone',
		A: 'geggy:j_tool_rod'
	})
	event.shaped('minecraft:stone_shovel', [
    'S  ',
    'A  ',
    '   '
	], {
		S: 'minecraft:stone',
		A: 'geggy:j_tool_rod'
	})
	event.shaped('minecraft:stone_hoe', [
    'SS ',
    ' A ',
    '   '
	], {
		S: 'minecraft:stone',
		A: 'geggy:j_tool_rod'
	})
	
	//attempt
	///////////event.remove({type: 'minecraft:crafting_shapeless', output: '#minecraft:planks'})
	event.remove({type: 'minecraft:crafting_shaped', output: 'minecraft:stick'})
	
	/*
	onEvent('recipes', e => {
		e.forEachRecipe({ type: 'minecraft:crafting_shapeless', output: '#minecraft:planks' }, r => {
			e.remove({ type: 'minecraft:crafting_shapeless', output: r.outputItems[0].id })
			e.shapeless(`2x ${r.outputItems[0].id}`, r.inputItems[0])
		})
	})
	*/
	//event.forEachRecipe({ type: 'minecraft:crafting_shapeless', output: '#minecraft:planks' }, r => {
	//	event.remove({ type: 'minecraft:crafting_shapeless', output: r.outputItems[0].id })
	//	event.shapeless(`2x ${r.outputItems[0].id}`, r.inputItems[0])
	//})
	
	//let allwood = Ingredient.of('#minecraft:logs').itemIds
	


	
	event.remove({type: 'farmersdelight:cutting', output: '#minecraft:logs'})
	
	// bad wood nerf 1.19
	////////////event.shapeless('2x minecraft:oak_planks', ['#minecraft:logs'])
	
	
	//Ingredient.of('#minecraft:logs').itemIds.forEach(item => {
	//Ingredient.of('#minecraft:logs').filter(item => !item.hasTag('c:stripped_logs')).forEach(item => {
	//Ingredient.of('#minecraft:logs').itemIds.filter(item => !Item.of(item).hasTag('c:stripped_logs')).forEach(item => {
	//Ingredient.of('#minecraft:logs').itemIds.filter(item => !Item.of(item).hasTag('c:stripped_logs') && !Item.of(item).hasTag('c:stripped_wood')).forEach(item => {
	
	
	let denyListOne = Ingredient.of('#c:stripped_logs').itemIds
	let denyListTwo = Ingredient.of('#c:stripped_wood').itemIds
	
	Ingredient.of('#minecraft:logs').itemIds.filter(item => !denyListOne.contains(item) && !denyListTwo.contains(item)).forEach(item => {
		
	
	let namespace = item.namespace
	let path = 'stripped_' + item.path
	let id = namespace + ':' + path
	//console.log('path1: ' + namespace)
	//console.log('path2: ' + path)
	//console.log('path3: ' + id)
	
		
	event.custom(	
	
	{
	"type": "farmersdelight:cutting",
	"ingredients": [
		{
		"item": item
		}
	],
    "tool": {
		"type": "farmersdelight:tool",
		"tag": "c:tools/axes"
    },
    "result": [
		{
		"item": id
		},
		{
		"item": "farmersdelight:tree_bark"
		}
    ],
	"sound": "minecraft:item.axe.strip"
	}
	
)
})

//).id('farmersdelight:cutting')

Ingredient.of('#c:stripped_logs').itemIds.forEach(item => {
	//Ingredient.of('#minecraft:logs').filter(item => !item.hasTag('c:stripped_logs')).forEach(item => {
	//Ingredient.of('#minecraft:logs').itemIds.filter(item => !Item.of(item).hasTag('c:stripped_logs')).forEach(item => {
		
	//let namespace = item.namespace
	//let path = 'stripped_' + item.path
	//let id = namespace + ':' + path
	//console.log('path1: ' + namespace)
	//console.log('path2: ' + path)
	//console.log('path3: ' + id)
		
	event.custom(
  
	
	{
	"type": "farmersdelight:cutting",
	"ingredients": [
		{	
		"item": item
		}
	],
	"tool": {
		"type": "farmersdelight:tool",
		"tag": "c:tools/axes"
	},
	"result": [
		{  
		"item": "geggy:j_planks",
		"count": 2
		}
	],
	"sound": "minecraft:item.axe.strip"
	}
	
//).id('farmersdelight:cutting')	
)
})

Ingredient.of('#c:stripped_wood').itemIds.forEach(item => {
	//Ingredient.of('#minecraft:logs').filter(item => !item.hasTag('c:stripped_logs')).forEach(item => {
	//Ingredient.of('#minecraft:logs').itemIds.filter(item => !Item.of(item).hasTag('c:stripped_logs')).forEach(item => {
	
/*	
	let namespace = item.namespace
	let path = 'stripped_' + item.path
	let id = namespace + ':' + path
	console.log('path1: ' + namespace)
	console.log('path2: ' + path)
	console.log('path3: ' + id)
	*/
		
	event.custom(
  
	
	{
	"type": "farmersdelight:cutting",
	"ingredients": [
		{	
		"item": item
		}
	],
	"tool": {
		"type": "farmersdelight:tool",
		"tag": "c:tools/axes"
	},
	"result": [
		{  
		"item": "geggy:j_planks",
		"count": 2
		}
	],
	"sound": "minecraft:item.axe.strip"
	}
	
//).id('farmersdelight:cutting')	
)
})
	
/*	
event.custom(
	
	{
	"type": "farmersdelight:cutting",
	"ingredients": [
		{
		"tag": "minecraft:logs"
		}
	],
    "tool": {
		"type": "farmersdelight:tool",
		"tag": "c:tools/axes"
    },
    "result": [
		{
		"item": "geggy:j_stripped_log"
		},
    {
      "item": "farmersdelight:tree_bark"
    }
    ],
    "sound": "minecraft:item.axe.strip"
	}
).id('farmersdelight:cutting')	
*/

/*
event.custom (

	{
	"type": "farmersdelight:cutting",
	"ingredients": [
		{	
		"item": "geggy:j_stripped_log"
		}
	],
	"tool": {
		"type": "farmersdelight:tool",
		"tag": "c:tools/axes"
	},
	"result": [
		{  
		"item": "geggy:j_planks",
		"count": 2
		}
	],
	"sound": "minecraft:item.axe.strip"
	}
)
*/	
			
	event.shaped('2x minecraft:stick', [
    'S  ',
    'S  ',
    '   '
  ], {
    S: '#minecraft:planks'
  })
  
	event.remove({type: 'minecraft:crafting_shaped', output: 'farmersdelight:cutting_board'})
	
	event.remove({type: 'minecraft:crafting_shaped', output: 'minecraft:crafting_table'})
	event.remove({type: 'minecraft:crafting_shaped', output: '#byg:crafting_table'})
	event.remove({id: "modern_industrialization:vanilla_recipes/easy_chest"})
	event.remove({id: "minecraft:chest"})

	
	event.remove({type: 'minecraft:smelting', output: 'minecraft:charcoal'})
	event.remove({type: 'minecraft:smoking', output: 'architects_palette:charcoal_block'})
	
	event.remove({type: 'minecraft:crafting_shaped', output: Item.of('minecraft:wooden_axe')})
	event.remove({type: 'minecraft:crafting_shaped', output: Item.of('minecraft:stone_axe')})
	event.remove({type: 'minecraft:crafting_shaped', output: Item.of('minecraft:wooden_pickaxe')})
	event.remove({type: 'minecraft:crafting_shaped', output: Item.of('minecraft:stone_pickaxe')})
	
	
	event.shaped('farmersdelight:cutting_board', [
    'SS ',
    'DD ',
    '   '
  ], {
	S: '#minecraft:planks',  
    D: 'minecraft:stick'
  })

  event.shaped('geggy:j_tool_rod', [
    ' S ',
    ' S ',
    '   '
  ], {
    S: 'minecraft:stick'
  })

  event.shaped('geggy:j_crafting_top', [
    'UU ',
    'SS ',
    '   '
  ], {
    U: 'minecraft:flint',
	S: 'geggy:j_planks'
  }) 
  /*
  event.shaped('geggy:j_crafting_base_flint', [
    'UU ',
    'UU ',
    '   '
  ], {
    U: 'minecraft:flint'
  }) 
  */
  event.shaped('minecraft:crafting_table', [
    'U  ',
    'S  ',
    '   '
  ], {
    U: 'geggy:j_crafting_top',
	S: '#c:stripped_logs',
	//D: Item.of('minecraft:wooden_axe').ignoreNBT()
  })
  
  event.shaped('minecraft:chest', [
    'UDU',
    'DSD',
    'UDU'
  ], {
    D: 'geggy:j_planks',
	S: 'minecraft:flint',
	U: 'minecraft:stick'
  })

  event.shaped('geggy:j_wooden_axe_head', [
    'SS ',
    'S  ',
    '   '
  ], {
    S: '#minecraft:planks'
  })
  event.shaped('geggy:j_stone_axe_head', [
    'SS ',
    'S  ',
    '   '
  ], {
    S: 'minecraft:stone'
  })
  /*
  event.shaped('geggy:j_wooden_pickaxe_head', [
    'SS ',
    ' S ',
    '   '
  ], {
    S: '#minecraft:planks'
  })  
  event.shaped('geggy:j_stone_pickaxe_head', [
    'SSS',
    '   ',
    '   '
  ], {
    S: '#minecraft:stone_tool_materials'
  })
  */

  // both expert & not
  event.shapeless('minecraft:iron_helmet', [ 'minecraft:leather_helmet', 'geggy:unfinished_iron_helmet'])
  event.shapeless('minecraft:iron_chestplate', [ 'minecraft:leather_chestplate', 'geggy:unfinished_iron_chestplate'])
  event.shapeless('minecraft:iron_leggings', [ 'minecraft:leather_leggings', 'geggy:unfinished_iron_leggings'])
  event.shapeless('minecraft:iron_boots', [ 'minecraft:leather_boots', 'geggy:unfinished_iron_boots'])
  event.shapeless('minecraft:diamond_helmet', [ 'minecraft:leather_helmet', 'geggy:unfinished_diamond_helmet'])
  event.shapeless('minecraft:diamond_chestplate', [ 'minecraft:leather_chestplate', 'geggy:unfinished_diamond_chestplate'])
  event.shapeless('minecraft:diamond_leggings', [ 'minecraft:leather_leggings', 'geggy:unfinished_diamond_leggings'])
  event.shapeless('minecraft:diamond_boots', [ 'minecraft:leather_boots', 'geggy:unfinished_diamond_boots'])
  
  event.shaped('geggy:flint_pickaxe', [
    'SB ',
    'AS ',
    '   '
  ], {
    S: 'minecraft:flint',
	A: 'geggy:j_tool_rod',
	B: '#c:cobblestone'
  }).noMirror()
  event.shaped('geggy:flint_pickaxe', [
    'SS ',
    'AS ',
    '   '
  ], {
    S: 'minecraft:flint',
	A: 'geggy:j_tool_rod'
  }).noMirror()
  event.shaped('geggy:flint_sword', [
    '  S',
    ' S ',
    'A  '
  ], {
    S: 'minecraft:flint',
	A: 'geggy:j_tool_rod'
  })
  event.shaped('geggy:flint_hoe', [
    'SS ',
    ' A ',
    '   '
  ], {
    S: 'minecraft:flint',
	A: 'geggy:j_tool_rod'
  })
  event.shaped('geggy:flint_shovel', [
    'S  ',
    'A  ',
    '   '
  ], {
    S: 'minecraft:flint',
	A: 'geggy:j_tool_rod'
  })
  event.shaped('geggy:flint_axe', [
    'SS ',
    'SA ',
    '   '
  ], {
    S: 'minecraft:flint',
	A: 'geggy:j_tool_rod'
  }).noMirror()
  event.shaped('geggy:flint_axe', [
    'SB ',
    'SA ',
    '   '
  ], {
    S: 'minecraft:flint',
	A: 'geggy:j_tool_rod',
	B: '#c:cobblestone'
  }).noMirror()
  
  event.shaped('geggy:reinforced_flint_pickaxe', [
    'ZS ',
    'AX ',
    '   '
  ], {
    S: 'geggy:sharpened_flint_pickaxe_head',
	A: 'geggy:reinforced_tool_rod',
	X: 'geggy:low_grade_resin',
	Z: 'minecraft:string'
  }).noMirror()
  event.shaped('geggy:reinforced_flint_sword', [
    ' XS',
    ' SZ',
    'A  '
  ], {
    S: 'minecraft:flint',
	A: 'geggy:reinforced_tool_rod',
	X: 'geggy:low_grade_resin',
	Z: 'minecraft:string'
  })
  event.shaped('geggy:reinforced_flint_axe', [
    'SSZ',
    'SAX',
    '   '
  ], {
    S: 'minecraft:flint',
	A: 'geggy:reinforced_tool_rod',
	X: 'geggy:low_grade_resin',
	Z: 'minecraft:string'
  }).noMirror()
  event.shaped('geggy:reinforced_flint_hoe', [
    'SSZ',
    'XA ',
    '   '
  ], {
    S: 'minecraft:flint',
	A: 'geggy:reinforced_tool_rod',
	X: 'geggy:low_grade_resin',
	Z: 'minecraft:string'
  })
  event.shaped('geggy:reinforced_flint_shovel', [
    'XS ',
    'ZA ',
    '   '
  ], {
    S: 'minecraft:flint',
	A: 'geggy:reinforced_tool_rod',
	X: 'geggy:low_grade_resin',
	Z: 'minecraft:string'
  })
  
  // bucket
  
  event.shaped('geggy:unfired_bucket_mold_side', [
    'CA ',
    'ABA',
    ' A '
  ], {
    A: 'geggy:clay_dust',
	C: 'geggy:wooden_form',
	B: 'kibe:water_wooden_bucket'
  }).damageIngredient('geggy:wooden_form').replaceIngredient('kibe:water_wooden_bucket', 'kibe:wooden_bucket').noMirror()
  event.shaped('geggy:unfired_bucket_mold_side', [
    'CA ',
    'ABA',
    ' A '
  ], {
    A: 'geggy:clay_dust',
	C: 'geggy:wooden_form',
	B: 'minecraft:water_bucket'
  }).damageIngredient('geggy:wooden_form').replaceIngredient('minecraft:water_bucket', 'minecraft:bucket').noMirror()
  
  event.smelting('geggy:bucket_mold_side', 'geggy:unfired_bucket_mold_side').cookingTime(400)
  
  event.shaped('geggy:ready_unfinished_bucket_side', [
    ' A ',
    'ACB',
    '   '
  ], {
    A: 'modern_industrialization:iron_dust',
	C: 'geggy:bucket_mold_side',
	B: 'modern_industrialization:coal_dust'
  })
  
  event.blasting('geggy:smelted_unfinished_bucket_side', 'geggy:ready_unfinished_bucket_side').cookingTime(400)
  
  event.custom({
		"type": "farmersdelight:cutting",
		"ingredients": [
			{"item": "geggy:smelted_unfinished_bucket_side"}
		],
		"tool": 
			{"type": "farmersdelight:tool",
			"tag": "c:tools/pickaxes"},
		"result": [
			{"item": "geggy:bucket_side", "count": 1}
		],
		"sound": "minecraft:entity.item.break"
	})
  event.shaped('geggy:raw_bucket', [
    'AB ',
    '   ',
    '   '
  ], {
    A: 'geggy:bucket_side',
	B: 'geggy:bucket_side'
  })
  event.custom({
		type: "create:sandpaper_polishing",
		ingredients: [
			{"item": "geggy:raw_bucket"}
		],
		results: [
			{"item": "minecraft:bucket"}
		]
	})
	
  
  // bronze tools 
  
  event.shaped('geggy:unfired_pickaxe_mold', [
    ' A ',
    'ABA',
    'CA '
  ], {
    A: 'geggy:clay_dust',
	C: 'kibe:water_wooden_bucket',
	B: 'geggy:flint_pickaxe'
  }).damageIngredient('geggy:flint_pickaxe').replaceIngredient('kibe:water_wooden_bucket', 'kibe:wooden_bucket')
  event.shaped('geggy:unfired_pickaxe_mold', [
    ' A ',
    'ABA',
    'CA '
  ], {
    A: 'geggy:clay_dust',
	C: 'minecraft:water_bucket',
	B: 'geggy:flint_pickaxe'
  }).damageIngredient('geggy:flint_pickaxe').replaceIngredient('minecraft:water_bucket', 'minecraft:bucket')
  event.shaped('geggy:bronze_pickaxe', [
    '  S',
    ' A ',
    'B  '
  ], {
    S: 'geggy:bronze_pickaxe_head',
	A: 'geggy:reinforced_tool_rod',
	B: 'modern_industrialization:rubber_sheet'
  })
  
  event.shaped('geggy:unfired_axe_mold', [
    ' A ',
    'ABA',
    'CA '
  ], {
    A: 'geggy:clay_dust',
	C: 'kibe:water_wooden_bucket',
	B: 'geggy:flint_axe'
  }).damageIngredient('geggy:flint_axe').replaceIngredient('kibe:water_wooden_bucket', 'kibe:wooden_bucket')
  event.shaped('geggy:unfired_axe_mold', [
    ' A ',
    'ABA',
    'CA '
  ], {
    A: 'geggy:clay_dust',
	C: 'minecraft:water_bucket',
	B: 'geggy:flint_axe'
  }).damageIngredient('geggy:flint_axe').replaceIngredient('minecraft:water_bucket', 'minecraft:bucket')
  event.shaped('geggy:bronze_axe', [
    '  S',
    ' A ',
    'B  '
  ], {
    S: 'geggy:bronze_axe_head',
	A: 'geggy:reinforced_tool_rod',
	B: 'modern_industrialization:rubber_sheet'
  })
  
  event.shaped('geggy:unfired_sword_mold', [
    ' A ',
    'ABA',
    'CA '
  ], {
    A: 'geggy:clay_dust',
	C: 'kibe:water_wooden_bucket',
	B: 'geggy:flint_sword'
  }).damageIngredient('geggy:flint_sword').replaceIngredient('kibe:water_wooden_bucket', 'kibe:wooden_bucket')
  event.shaped('geggy:unfired_sword_mold', [
    ' A ',
    'ABA',
    'CA '
  ], {
    A: 'geggy:clay_dust',
	C: 'minecraft:water_bucket',
	B: 'geggy:flint_sword'
  }).damageIngredient('geggy:flint_sword').replaceIngredient('minecraft:water_bucket', 'minecraft:bucket')
  event.shaped('geggy:bronze_sword', [
    '  S',
    ' A ',
    'B  '
  ], {
    S: 'geggy:bronze_sword_head',
	A: 'geggy:reinforced_tool_rod',
	B: 'modern_industrialization:rubber_sheet'
  })
  
  event.shaped('geggy:unfired_hoe_mold', [
    ' A ',
    'ABA',
    'CA '
  ], {
    A: 'geggy:clay_dust',
	C: 'kibe:water_wooden_bucket',
	B: 'geggy:flint_hoe'
  }).damageIngredient('geggy:flint_hoe').replaceIngredient('kibe:water_wooden_bucket', 'kibe:wooden_bucket')
  event.shaped('geggy:unfired_hoe_mold', [
    ' A ',
    'ABA',
    'CA '
  ], {
    A: 'geggy:clay_dust',
	C: 'minecraft:water_bucket',
	B: 'geggy:flint_hoe'
  }).damageIngredient('geggy:flint_hoe').replaceIngredient('minecraft:water_bucket', 'minecraft:bucket')
  event.shaped('geggy:bronze_hoe', [
    '  S',
    ' A ',
    'B  '
  ], {
    S: 'geggy:bronze_hoe_head',
	A: 'geggy:reinforced_tool_rod',
	B: 'modern_industrialization:rubber_sheet'
  })
  
  event.shaped('geggy:unfired_shovel_mold', [
    ' A ',
    'ABA',
    'CA '
  ], {
    A: 'geggy:clay_dust',
	C: 'kibe:water_wooden_bucket',
	B: 'geggy:flint_shovel'
  }).damageIngredient('geggy:flint_shovel').replaceIngredient('kibe:water_wooden_bucket', 'kibe:wooden_bucket')
  event.shaped('geggy:unfired_shovel_mold', [
    ' A ',
    'ABA',
    'CA '
  ], {
    A: 'geggy:clay_dust',
	C: 'minecraft:water_bucket',
	B: 'geggy:flint_shovel'
  }).damageIngredient('geggy:flint_shovel').replaceIngredient('minecraft:water_bucket', 'minecraft:bucket')
  event.shaped('geggy:bronze_shovel', [
    '  S',
    ' A ',
    'B  '
  ], {
    S: 'geggy:bronze_shovel_head',
	A: 'geggy:reinforced_tool_rod',
	B: 'modern_industrialization:rubber_sheet'
  })
  
	event.shapeless('minecraft:wooden_axe', ['geggy:j_wooden_axe_head', 'geggy:j_tool_rod'])
	event.shapeless('minecraft:stone_axe', ['geggy:j_stone_axe_head', 'geggy:j_tool_rod'])	

// LEATHER // leaves > dye > tannin > drain> wash > dry > leather > strips > labels

	event.remove({id: 'farmersdelight:cooking_pot'})
	event.shaped('farmersdelight:cooking_pot', [
		'B B',
		'AAA'
	], {
		A: 'geggy:tempered_brick',
		B: 'geggy:primitive_brick'
	})

	event.custom({
		"type": "farmersdelight:cooking",
		"container": {"item": "geggy:copper_can"},
		"cookingtime": 900,
		"experience": 0.0,
		"ingredients": [
			{"item": "minecraft:green_dye"},
			{"item": "minecraft:green_dye"},
			{"item": "minecraft:green_dye"},
			{"item": "minecraft:green_dye"}
		],
		"recipe_book_tab": "meals",
		"result": {"item": "geggy:mulch_copper_can"}
	})
	event.custom({
		"type": "create:emptying",
		"ingredients": [
			{"item": "geggy:mulch_copper_can"}
		],
		"results": [
			{"item": "geggy:copper_can"},
			{"amount": 40500, "fluid": "geggy:tannin"}
		]
	})

	event.shaped('geggy:copper_can', [
		'CAC',
		' B ',
		'   '
	], {
		A: 'modern_industrialization:copper_ring',
		B: 'modern_industrialization:copper_plate',
		C: 'modern_industrialization:copper_curved_plate'
	})

	event.remove({id: 'labels:label'})
	event.shaped('4x labels:label', [
		'BBB',
		'BAB',
		'BBB'
	], {
		A: 'geggy:mulch_copper_can',
		B: 'minecraft:paper'
	}).replaceIngredient('geggy:mulch_copper_can', 'geggy:copper_can')

	event.custom({
		"type": "create:mixing",
		"ingredients": [{"item": "minecraft:leather"},{"fluid": "geggy:tannin", "amount": 20250}],
		"results": [{"item": "geggy:soaked_cured_leather"}]
	})

	event.custom({
		"type": "create:splashing",
		"ingredients": [
			{"item": "geggy:soaked_cured_leather"}
		],
		"results": [
			{"item": "geggy:damp_cured_leather"}
		]	
	})
	event.custom({
		"type": "minecraft:smoking",
		"cookingtime": 500,
		"experience": 0.0,
		"ingredient": 
			{"item": "geggy:damp_cured_leather"},
		"result": 
		{"item": "geggy:cured_leather"}
	})
	event.custom({
		"type": "farmersdelight:cutting",
		"ingredients": [
			{"item": "geggy:cured_leather"}
		],
		"tool": 
			{"type": "farmersdelight:tool",
			"tag": "c:tools/knives"},
		"result": [
			{ "item": "geggy:cured_leather_sheet", "count": 1}
		],
		"sound": "minecraft:item.axe.strip"
	})
	event.custom({
		type: "create:cutting",
		ingredients: [
			{"item": "geggy:cured_leather"}
		],
		processingTime: 80,
		results: [{
			"item": "geggy:cured_leather_sheet"
		}]
	})
	event.custom({
		"type": "farmersdelight:cutting",
		"ingredients": [
			{"item": "geggy:cured_leather_sheet"}
		],
		"tool": 
			{"type": "farmersdelight:tool",
			"tag": "c:tools/knives"},
		"result": [
			{ "item": "geggy:cured_leather_strap", "count": 2}
		],
		"sound": "minecraft:item.axe.strip"
	})
	event.custom({
		type: "create:cutting",
		ingredients: [
			{"item": "geggy:cured_leather_sheet"}
		],
		processingTime: 80,
		results: [{
			"count": 2, "item": "geggy:cured_leather_strap"
		}]
	})
	event.custom({
		"type": "farmersdelight:cutting",
		"ingredients": [
			{"item": "geggy:cured_leather_strap"}
		],
		"tool": 
			{"type": "farmersdelight:tool",
			"tag": "c:tools/knives"},
		"result": [
			{ "item": "geggy:cured_leather_cord", "count": 2}
		],
		"sound": "minecraft:item.axe.strip"
	})
	event.custom({
		type: "create:cutting",
		ingredients: [
			{"item": "geggy:cured_leather_strap"}
		],
		processingTime: 80,
		results: [{
			"count": 2, "item": "geggy:cured_leather_cord"
		}]
	})
	event.remove([
		"minecraft:leather_helmet",
	    "minecraft:leather_chestplate",
		"minecraft:leather_leggings",
		"minecraft:leather_boots",
		"create:crafting/materials/rose_quartz"
	])
	event.remove({id: 'minecraft:leather_helmet'})
	event.remove({id: 'minecraft:leather_chestplate'})
	event.remove({id: 'minecraft:leather_leggings'})
	event.remove({id: 'minecraft:leather_boots'})
	event.shaped('minecraft:leather_helmet', [
		'AAA',
		'B B',
		'   '
	], {
		A: 'geggy:cured_leather_sheet',
		B: 'geggy:cured_leather_strap'
	})
	event.shaped('minecraft:leather_chestplate', [
		'B B',
		'AAA',
		'AAA'
	], {
		A: 'geggy:cured_leather_sheet',
		B: 'geggy:cured_leather_strap'
	})
	event.shaped('minecraft:leather_leggings', [
		'ACA',
		'A A',
		'B B'
	], {
		A: 'geggy:cured_leather_sheet',
		B: 'geggy:cured_leather_strap',
		C: 'geggy:cured_leather_cord'
	})
	event.shaped('minecraft:leather_boots', [
		'C C',
		'A A',
		'   '
	], {
		A: 'geggy:cured_leather_sheet',
		C: 'geggy:cured_leather_cord'
	})
	
	// diamond nerf
	event.remove({id: 'modern_industrialization:materials/diamond/compressor/main'})
	event.remove({id: 'magick:diamond_dust_4'})
	event.remove({id: 'magick:diamond_dust_4_exported_mi_cutting_machine'})
	event.custom({ 
		type: "modern_industrialization:blast_furnace",
		eu: 2,
		duration: 400,
		item_inputs : [
			{item: "modern_industrialization:uncooked_steel_dust", amount: 2},
			{item: "minecraft:iron_sword", probability: 0.0}
		],
		item_outputs :
		[
			{item: "geggy:mold_sword", amount: 1}
		]
	})
	event.custom({ 
		type: "modern_industrialization:blast_furnace",
		eu: 2,
		duration: 400,
		item_inputs : [
			{item: "modern_industrialization:uncooked_steel_dust", amount: 2},
			{tag: "c:tools/pickaxes", probability: 0.0}
		],
		item_outputs :
		[
			{item: "geggy:mold_pickaxe", amount: 1}
		]
	})
	event.custom({ 
		type: "modern_industrialization:blast_furnace",
		eu: 2,
		duration: 400,
		item_inputs : [
			{item: "modern_industrialization:uncooked_steel_dust", amount: 2},
			{item: "minecraft:iron_axe", probability: 0.0}
		],
		item_outputs :
		[
			{item: "geggy:mold_axe", amount: 1}
		]
	})
	event.custom({ 
		type: "modern_industrialization:blast_furnace",
		eu: 2,
		duration: 400,
		item_inputs : [
			{item: "modern_industrialization:uncooked_steel_dust", amount: 2},
			{item: "minecraft:iron_shovel", probability: 0.0}
		],
		item_outputs :
		[
			{item: "geggy:mold_shovel", amount: 1}
		]
	})
	event.custom({ 
		type: "modern_industrialization:blast_furnace",
		eu: 2,
		duration: 400,
		item_inputs : [
			{item: "modern_industrialization:uncooked_steel_dust", amount: 2},
			{item: "minecraft:iron_hoe", probability: 0.0}
		],
		item_outputs :
		[
			{item: "geggy:mold_hoe", amount: 1}
		]
	})
	
	event.custom({ 
		type: "modern_industrialization:fextract",
		eu: 8,
		duration: 100,
		item_inputs: [ 
			{item: "modern_industrialization:gold_dust", amount: 1}
		],
		fluid_outputs: [
			{fluid: "geggy:molten_gold", amount: 144}
		]
	})

	
	event.remove({id: "modern_industrialization:materials/diamond/macerator/ore_to_crushed"})
event.custom({ 
		type: "modern_industrialization:macerator",
		eu: 2,
		duration: 800,
		item_inputs : [
			{tag: "c:diamond_ores", amount: 1}
		],
		item_outputs :
		[
			{item: "modern_industrialization:diamond_crushed_dust", amount: 1},
			{item: "modern_industrialization:diamond_crushed_dust", amount: 1, probability: 0.5}
		]
	})
event.custom({ 
		type: "modern_industrialization:macerator",
		eu: 2,
		duration: 400,
		item_inputs : [
			{item: "geggy:diamond_shards", amount: 1}
		],
		item_outputs :
		[
			{item: "modern_industrialization:diamond_tiny_dust", amount: 2}
		]
	})
	
	event.remove({id: 'minecraft:shield'})
	event.shaped('minecraft:shield', [
		'AAA',
		'ABA',
		' A '
	], {
		A: 'geggy:hardened_plank',
		B: 'createdeco:netherite_sheet'
	})
	
	event.custom({
  "type": "farmersdelight:cooking",
  //"container": {"item": "geggy:copper_can"},
  "cookingtime": 1100,
  "experience": 0.0,
  "ingredients": [
    {"item": "minecraft:seagrass"},
    {"item": "minecraft:seagrass"},
    {"item": "minecraft:seagrass"},
	{"item": "minecraft:seagrass"},
	{"item": "minecraft:seagrass"},
    {"item": "minecraft:seagrass"}
  ],
  "recipe_book_tab": "meals",
  "result": {"item": "minecraft:dried_kelp"}
	})
	
	event.custom({
	"type": "farmersdelight:cutting",
	"ingredients": [
		{	
		"item": "minecraft:polished_blackstone"
		}
	],
	"tool": {
		"type": "farmersdelight:tool",
		"tag": "c:tools/pickaxes"
	},
	"result": [
		{  
		"item": "minecraft:blackstone",
		"count": 1
		}
	],
	"sound": "minecraft:entity.item.break"
	})
	
	// credit to mikerooni CEu netherite
	event.remove([
		"minecraft:netherite_scrap",
	    "minecraft:netherite_scrap_from_blasting",
		"minecraft:netherite_ingot",
		"modern_industrialization:vanilla_recipes/mixer/netherite",
		"modern_industrialization:vanilla_recipes/macerator/netherite_scrap",
		"ae2:tools/certus_quartz_axe",
		"ae2:tools/certus_quartz_pickaxe",
		"ae2:tools/certus_quartz_sword",
		"ae2:tools/certus_quartz_hoe",
		"ae2:tools/certus_quartz_spade",
		"ae2:tools/nether_quartz_axe",
		"ae2:tools/nether_quartz_pickaxe",
		"ae2:tools/nether_quartz_sword",
		"ae2:tools/nether_quartz_hoe",
		"ae2:tools/nether_quartz_spade"
	])
	
	event.custom({ 
		type: "modern_industrialization:macerator",
		eu: 32,
		duration: 400,
		item_inputs : [
			{item: "minecraft:ancient_debris", amount: 1}
		],
		item_outputs : [
			{item: "minecraft:netherite_scrap", amount: 1},
			{item: "minecraft:netherite_scrap", amount: 1, probability: 0.35}
		]
	})
	event.custom({ 
		type: "modern_industrialization:mixer",
		eu: 256,
		duration: 300,
		item_inputs : [
			{item: "minecraft:netherite_scrap", amount: 2}
		],
		fluid_inputs : [
			{fluid: "geghilarity:aqua_regia", amount: 3000}
		],
		fluid_outputs : [
			{fluid: "geggy:ancient_debris_slurry", amount: 3000}
		]
	})
	event.custom({ 
		type: "modern_industrialization:advanced_centrifuge",
		eu: 480,
		duration: 400,
		fluid_inputs : [
			{fluid: "geggy:ancient_debris_slurry", amount: 3000}
		],
		item_outputs : [
			{item: "geggy:netherium_dust", amount: 2},
			{item: "geghilarity:tungstate_dust", amount: 1},
			{item: "geghilarity:platinum_metallic_powder_dust", amount: 1},
			{item: "geghilarity:platinum_metallic_powder_dust", amount: 1, probability: 0.5}
		],
		fluid_outputs : [
			{fluid: "geghilarity:diluted_hydrochloric_acid", amount: 2000}
		]
	})
	event.custom({ 
		type: "modern_industrialization:mixer",
		eu: 256,
		duration: 200,
		item_inputs : [
			{item: "geggy:netherium_dust", amount: 10},
			{item: "modern_industrialization:gold_dust", amount: 6}
		],
		item_outputs : [
			{item: "geggy:netherite_dust", amount: 2}
		]
	})
	event.custom({ 
		type: "modern_industrialization:blast_furnace",
		eu: 480,
		duration: 300,
		item_inputs : [
			{item: "geggy:netherite_dust", amount: 1}
		],
		fluid_inputs : [
			{fluid: "modern_industrialization:nitrogen", amount: 2000}
		],
		item_outputs : [
			{item: "geggy:netherite_hot_ingot", amount: 1}
		]
	})
	event.custom({ 
		type: "modern_industrialization:vacuum_freezer",
		eu: 256,
		duration: 250,
		item_inputs : [
			{item: "geggy:netherite_hot_ingot", amount: 1}
		],
		fluid_inputs : [
			{fluid: "geghilarity:liquid_helium", amount: 500}
		],
		item_outputs : [
			{item: "minecraft:netherite_ingot", amount: 1}
		],
		fluid_outputs : [
			{fluid: "modern_industrialization:helium", amount: 250}
		],
	})
	
	event.shaped('geggy:rose_quartz_blend', [
		'CC ',
		'AA ',
		'AA '
	], {
		A: 'minecraft:redstone',
		C: 'modern_industrialization:quartz_dust'
	})
	event.custom({
		"type": "ae2:transform",
		"circumstance": {
			"type": "fluid",
			"tag": "minecraft:lava"
		},
		"ingredients": [
			{
				"item": "geggy:rose_quartz_blend"
			},
			{	
				"item": "minecraft:amethyst_shard"
			}
		],
		"result": 
			{
				"count": 1, "item": "create:rose_quartz"
			}
	})
	
	event.shaped('3x geggy:gloom_block', [
		'CAC',
		'ABA',
		'CAC'
	], {
		A: 'modern_industrialization:steel_large_plate',
		B: 'modern_industrialization:aluminum_gear',
		C: 'modern_industrialization:aluminum_plate'
	})
	
	// steel & galvanized
	
	event.custom({ 
		type: "modern_industrialization:blast_furnace",
		eu: 4,
		duration: 900,
		item_inputs : [
			{item: "modern_industrialization:steel_ingot", amount: 3},
			{item: "geggy:mold_pickaxe", amount: 1, probability: 0.0}
		],
		item_outputs :
		[
			{item: "geggy:raw_steel_pickaxe_head", amount: 1}
		]
	})
	event.custom({ 
		type: "modern_industrialization:blast_furnace",
		eu: 4,
		duration: 900,
		item_inputs : [
			{item: "modern_industrialization:steel_ingot", amount: 3},
			{item: "geggy:mold_axe", amount: 1, probability: 0.0}
		],
		item_outputs :
		[
			{item: "geggy:raw_steel_axe_head", amount: 1}
		]
	})
	event.custom({ 
		type: "modern_industrialization:blast_furnace",
		eu: 4,
		duration: 600,
		item_inputs : [
			{item: "modern_industrialization:steel_ingot", amount: 2},
			{item: "geggy:mold_sword", amount: 1, probability: 0.0}
		],
		item_outputs :
		[
			{item: "geggy:raw_steel_sword_blade", amount: 1}
		]
	})
	event.custom({ 
		type: "modern_industrialization:blast_furnace",
		eu: 4,
		duration: 600,
		item_inputs : [
			{item: "modern_industrialization:steel_ingot", amount: 2},
			{item: "geggy:mold_hoe", amount: 1, probability: 0.0}
		],
		item_outputs :
		[
			{item: "geggy:raw_steel_hoe_head", amount: 1}
		]
	})
	event.custom({ 
		type: "modern_industrialization:blast_furnace",
		eu: 4,
		duration: 300,
		item_inputs : [
			{item: "modern_industrialization:steel_ingot", amount: 1},
			{item: "geggy:mold_shovel", amount: 1, probability: 0.0}
		],
		item_outputs :
		[
			{item: "geggy:raw_steel_shovel_head", amount: 1}
		]
	})
	
	event.custom({
		type: "create:sequenced_assembly",
		ingredient: {"item": "geggy:raw_steel_pickaxe_head"},
		transitionalItem: {"item": "geggy:incomplete_steel_pickaxe_head"},
		sequence: [
			{
				type: "create:deploying",
				ingredients: [
					{"item": "geggy:incomplete_steel_pickaxe_head"},
					{"item": "create:sand_paper"}
				],
				results: [{
					"item": "geggy:incomplete_steel_pickaxe_head"
				}]
			}
		],
		results: [{
			"item": "geggy:steel_pickaxe_head"
		}],
		loops: 5
	  }
	)
	event.custom({
		type: "create:sequenced_assembly",
		ingredient: {"item": "geggy:raw_steel_axe_head"},
		transitionalItem: {"item": "geggy:incomplete_steel_axe_head"},
		sequence: [
			{
				type: "create:deploying",
				ingredients: [
					{"item": "geggy:incomplete_steel_axe_head"},
					{"item": "create:sand_paper"}
				],
				results: [{
					"item": "geggy:incomplete_steel_axe_head"
				}]
			}
		],
		results: [{
			"item": "geggy:steel_axe_head"
		}],
		loops: 5
	  }
	)
	event.custom({
		type: "create:sequenced_assembly",
		ingredient: {"item": "geggy:raw_steel_sword_blade"},
		transitionalItem: {"item": "geggy:incomplete_steel_sword_blade"},
		sequence: [
			{
				type: "create:deploying",
				ingredients: [
					{"item": "geggy:incomplete_steel_sword_blade"},
					{"item": "create:sand_paper"}
				],
				results: [{
					"item": "geggy:incomplete_steel_sword_blade"
				}]
			}
		],
		results: [{
			"item": "geggy:steel_sword_blade"
		}],
		loops: 3
	  }
	)
	event.custom({
		type: "create:sequenced_assembly",
		ingredient: {"item": "geggy:raw_steel_hoe_head"},
		transitionalItem: {"item": "geggy:incomplete_steel_hoe_head"},
		sequence: [
			{
				type: "create:deploying",
				ingredients: [
					{"item": "geggy:incomplete_steel_hoe_head"},
					{"item": "create:sand_paper"}
				],
				results: [{
					"item": "geggy:incomplete_steel_hoe_head"
				}]
			}
		],
		results: [{
			"item": "geggy:steel_hoe_head"
		}],
		loops: 2
	  }
	)
	event.custom({
		type: "create:sandpaper_polishing",
		ingredients: [
			{"item": "geggy:raw_steel_shovel_head"}
		],
		results: [
			{"item": "geggy:steel_shovel_head"}
		]
	})
	
	event.custom({
		type: "create:filling",
		ingredients: [
			{"item": "geggy:reinforced_tool_rod"},
			{"amount": 4050, "fluid": "modern_industrialization:creosote",
			"nbt": {}}
		],
		results: [{
			"item": "geggy:polished_tool_rod"
		}]
	})
	event.shaped('5x geggy:polished_tool_rod', [
		'ASS',
		'SSS',
		'   '
	], {
		S: 'geggy:reinforced_tool_rod',
		A: 'modern_industrialization:creosote_bucket'
	})
	
	event.shaped('geggy:steel_pickaxe', [
    '  S',
    ' A ',
    'B  '
	], {
		S: 'geggy:steel_pickaxe_head',
		A: 'geggy:polished_tool_rod',
		B: 'modern_industrialization:rubber_sheet'
	})
	event.shaped('geggy:steel_axe', [
    '  S',
    ' A ',
    'B  '
	], {
		S: 'geggy:steel_axe_head',
		A: 'geggy:polished_tool_rod',
		B: 'modern_industrialization:rubber_sheet'
	})
	event.shaped('geggy:steel_hoe', [
    '  S',
    ' A ',
    'B  '
	], {
		S: 'geggy:steel_hoe_head',
		A: 'geggy:polished_tool_rod',
		B: 'modern_industrialization:rubber_sheet'
	})
	event.shaped('geggy:steel_sword', [
    '  S',
    ' A ',
    'B  '
	], {
		S: 'geggy:steel_sword_blade',
		A: 'geggy:polished_tool_rod',
		B: 'modern_industrialization:rubber_sheet'
	})
	event.shaped('geggy:steel_shovel', [
    '  S',
    ' A ',
    'B  '
	], {
		S: 'geggy:steel_shovel_head',
		A: 'geggy:polished_tool_rod',
		B: 'modern_industrialization:rubber_sheet'
	})
	
	event.custom({
		type: "create:filling",
		ingredients: [
			{"item": "geggy:steel_pickaxe_head"},
			{"amount": 3888, "fluid": "geggy:liquid_zinc",
			"nbt": {}}
		],
		results: [{
			"item": "geggy:galvanized_steel_pickaxe_head"
		}]
	})
	event.custom({
		type: "create:filling",
		ingredients: [
			{"item": "geggy:steel_axe_head"},
			{"amount": 3888, "fluid": "geggy:liquid_zinc",
			"nbt": {}}
		],
		results: [{
			"item": "geggy:galvanized_steel_axe_head"
		}]
	})
	event.custom({
		type: "create:filling",
		ingredients: [
			{"item": "geggy:steel_sword_blade"},
			{"amount": 2592, "fluid": "geggy:liquid_zinc",
			"nbt": {}}
		],
		results: [{
			"item": "geggy:galvanized_steel_sword_blade"
		}]
	})
	event.custom({
		type: "create:filling",
		ingredients: [
			{"item": "geggy:steel_hoe_head"},
			{"amount": 2592, "fluid": "geggy:liquid_zinc",
			"nbt": {}}
		],
		results: [{
			"item": "geggy:galvanized_steel_hoe_head"
		}]
	})
	event.custom({
		type: "create:filling",
		ingredients: [
			{"item": "geggy:steel_shovel_head"},
			{"amount": 1296, "fluid": "geggy:liquid_zinc",
			"nbt": {}}
		],
		results: [{
			"item": "geggy:galvanized_steel_shovel_head"
		}]
	})
	
	event.shaped(Item.of('geggy:galvanized_steel_pickaxe').enchant('minecraft:sharpness', 2), [
    '  S',
    ' A ',
    'B  '
	], {
		S: 'geggy:galvanized_steel_pickaxe_head',
		A: 'geggy:polished_tool_rod',
		B: 'modern_industrialization:rubber_sheet'
	})
	event.shaped(Item.of('geggy:galvanized_steel_axe').enchant('minecraft:sharpness', 2), [
    '  S',
    ' A ',
    'B  '
	], {
		S: 'geggy:galvanized_steel_axe_head',
		A: 'geggy:polished_tool_rod',
		B: 'modern_industrialization:rubber_sheet'
	})
	event.shaped(Item.of('geggy:galvanized_steel_hoe').enchant('minecraft:sharpness', 2), [
    '  S',
    ' A ',
    'B  '
	], {
		S: 'geggy:galvanized_steel_hoe_head',
		A: 'geggy:polished_tool_rod',
		B: 'modern_industrialization:rubber_sheet'
	})
	event.shaped(Item.of('geggy:galvanized_steel_sword').enchant('minecraft:sharpness', 2), [
    '  S',
    ' A ',
    'B  '
	], {
		S: 'geggy:galvanized_steel_sword_blade',
		A: 'geggy:polished_tool_rod',
		B: 'modern_industrialization:rubber_sheet'
	})
	event.shaped(Item.of('geggy:galvanized_steel_shovel').enchant('minecraft:sharpness', 2), [
    '  S',
    ' A ',
    'B  '
	], {
		S: 'geggy:galvanized_steel_shovel_head',
		A: 'geggy:polished_tool_rod',
		B: 'modern_industrialization:rubber_sheet'
	})

	
	/// bronze & steel armor
	
	event.shaped('geggy:bronze_helmet', [
		'AAA',
		'B B',
		'   '
	], {
		A: 'modern_industrialization:bronze_plate',
		B: 'modern_industrialization:bronze_curved_plate'
	})
	event.shaped('geggy:bronze_chestplate', [
		'A A',
		'BAB',
		'BAB'
	], {
		A: 'modern_industrialization:bronze_plate',
		B: 'modern_industrialization:bronze_curved_plate'
	})
	event.shaped('geggy:bronze_leggings', [
		'ABA',
		'B B',
		'B B'
	], {
		A: 'modern_industrialization:bronze_plate',
		B: 'modern_industrialization:bronze_curved_plate'
	})
	event.shaped('geggy:bronze_boots', [
		'A A',
		'B B',
		'   '
	], {
		A: 'modern_industrialization:bronze_plate',
		B: 'modern_industrialization:bronze_curved_plate'
	})
	
	event.shaped('geggy:unfinished_steel_helmet', [
		'AAA',
		'B B',
		'   '
	], {
		A: 'modern_industrialization:steel_plate',
		B: 'modern_industrialization:steel_curved_plate'
	})
	event.shaped('geggy:unfinished_steel_chestplate', [
		'A A',
		'BAB',
		'BAB'
	], {
		A: 'modern_industrialization:steel_plate',
		B: 'modern_industrialization:steel_curved_plate'
	})
	event.shaped('geggy:unfinished_steel_leggings', [
		'ABA',
		'B B',
		'B B'
	], {
		A: 'modern_industrialization:steel_plate',
		B: 'modern_industrialization:steel_curved_plate'
	})
	event.shaped('geggy:unfinished_steel_boots', [
		'A A',
		'B B',
		'   '
	], {
		A: 'modern_industrialization:steel_plate',
		B: 'modern_industrialization:steel_curved_plate'
	})
	
	event.shapeless('geggy:steel_helmet', [ 'minecraft:leather_helmet', 'geggy:unfinished_steel_helmet'])
	event.shapeless('geggy:steel_chestplate', [ 'minecraft:leather_chestplate', 'geggy:unfinished_steel_chestplate'])
	event.shapeless('geggy:steel_leggings', [ 'minecraft:leather_leggings', 'geggy:unfinished_steel_leggings'])
	event.shapeless('geggy:steel_boots', [ 'minecraft:leather_boots', 'geggy:unfinished_steel_boots'])
	
	event.remove({id: 'minecraft:iron_helmet'})
	event.remove({id: 'minecraft:iron_chestplate'})
	event.remove({id: 'minecraft:iron_leggings'})
	event.remove({id: 'minecraft:iron_boots'})
	event.remove({id: 'minecraft:golden_helmet'})
	event.remove({id: 'minecraft:golden_chestplate'})
	event.remove({id: 'minecraft:golden_leggings'})
	event.remove({id: 'minecraft:golden_boots'})
	event.remove({id: 'minecraft:diamond_helmet'})
	event.remove({id: 'minecraft:diamond_chestplate'})
	event.remove({id: 'minecraft:diamond_leggings'})
	event.remove({id: 'minecraft:diamond_boots'})
	event.remove({id: 'minecraft:iron_sword'})
	event.remove({id: 'minecraft:iron_axe'})
	event.remove({id: 'minecraft:iron_pickaxe'})
	event.remove({id: 'minecraft:iron_hoe'})
	event.remove({id: 'minecraft:iron_shovel'})
	
	event.shaped('geggy:iron_sword_blade', [
		'A  ',
		'A  ',
		'B  '
	], {
		A: 'modern_industrialization:iron_plate',
		B: 'modern_industrialization:iron_rod'
	})
	event.shaped('geggy:iron_pickaxe_head', [
		'ACA',
		' B ',
		'   '
	], {
		A: 'modern_industrialization:iron_plate',
		B: 'modern_industrialization:iron_rod',
		C: 'minecraft:iron_ingot'
	})
	event.shaped('geggy:iron_axe_head', [
		'AA ',
		'AB ',
		'   '
	], {
		A: 'modern_industrialization:iron_plate',
		B: 'modern_industrialization:iron_rod'
	})
	event.shaped('geggy:iron_shovel_head', [
		' A ',
		' B ',
		'   '
	], {
		A: 'modern_industrialization:iron_plate',
		B: 'modern_industrialization:iron_rod'
	})
	event.shaped('geggy:iron_hoe_head', [
		'AA ',
		' B ',
		'   '
	], {
		A: 'modern_industrialization:iron_plate',
		B: 'modern_industrialization:iron_rod'
	})
	event.shapeless('minecraft:iron_sword', [ 'geggy:reinforced_tool_rod', 'geggy:iron_sword_blade'])
	event.shapeless('minecraft:iron_axe', [ 'geggy:reinforced_tool_rod', 'geggy:iron_axe_head'])
	event.shapeless('minecraft:iron_pickaxe', [ 'geggy:reinforced_tool_rod', 'geggy:iron_pickaxe_head'])
	event.shapeless('minecraft:iron_shovel', [ 'geggy:reinforced_tool_rod', 'geggy:iron_shovel_head'])
	event.shapeless('minecraft:iron_hoe', [ 'geggy:reinforced_tool_rod', 'geggy:iron_hoe_head'])
	
	event.shaped('geggy:unfinished_iron_helmet', [
		'AAA',
		'B B',
		'   '
	], {
		A: 'modern_industrialization:iron_plate',
		B: 'geggy:iron_curved_plate'
	})
	event.shaped('geggy:unfinished_iron_chestplate', [
		'A A',
		'BAB',
		'BAB'
	], {
		A: 'modern_industrialization:iron_plate',
		B: 'geggy:iron_curved_plate'
	})
	event.shaped('geggy:unfinished_iron_leggings', [
		'ABA',
		'B B',
		'B B'
	], {
		A: 'modern_industrialization:iron_plate',
		B: 'geggy:iron_curved_plate'
	})
	event.shaped('geggy:unfinished_iron_boots', [
		'A A',
		'B B',
		'   '
	], {
		A: 'modern_industrialization:iron_plate',
		B: 'geggy:iron_curved_plate'
	})
	event.shaped('minecraft:golden_helmet', [
		'AAA',
		'B B',
		'   '
	], {
		A: 'modern_industrialization:gold_plate',
		B: 'modern_industrialization:gold_curved_plate'
	})
	event.shaped('minecraft:golden_chestplate', [
		'A A',
		'BAB',
		'BAB'
	], {
		A: 'modern_industrialization:gold_plate',
		B: 'modern_industrialization:gold_curved_plate'
	})
	event.shaped('minecraft:golden_leggings', [
		'ABA',
		'B B',
		'B B'
	], {
		A: 'modern_industrialization:gold_plate',
		B: 'modern_industrialization:gold_curved_plate'
	})
	event.shaped('minecraft:golden_boots', [
		'A A',
		'B B',
		'   '
	], {
		A: 'modern_industrialization:gold_plate',
		B: 'modern_industrialization:gold_curved_plate'
	})


	event.custom({ 
		type: "modern_industrialization:assembler",
		eu: 10,
		duration: 100,
		item_inputs: [ 
			{item: "modern_industrialization:diamond_plate", amount: 5},
			{item: "geggy:selector_1", amount: 1, probability: 0.0}
		],
		item_outputs: [
			{item: "geggy:unfinished_diamond_helmet", amount: 1}
		]
	})
	event.custom({ 
		type: "modern_industrialization:assembler",
		eu: 16,
		duration: 100,
		item_inputs: [ 
			{item: "modern_industrialization:diamond_plate", amount: 8},
			{item: "geggy:selector_2", amount: 1, probability: 0.0}
		],
		item_outputs: [
			{item: "geggy:unfinished_diamond_chestplate", amount: 1}
		]
	})
	event.custom({ 
		type: "modern_industrialization:assembler",
		eu: 14,
		duration: 100,
		item_inputs: [ 
			{item: "modern_industrialization:diamond_plate", amount: 7},
			{item: "geggy:selector_3", amount: 1, probability: 0.0}
		],
		item_outputs: [
			{item: "geggy:unfinished_diamond_leggings", amount: 1}
		]
	})
	event.custom({ 
		type: "modern_industrialization:assembler",
		eu: 8,
		duration: 100,
		item_inputs: [ 
			{item: "modern_industrialization:diamond_plate", amount: 4},
			{item: "geggy:selector_4", amount: 1, probability: 0.0}
		],
		item_outputs: [
			{item: "geggy:unfinished_diamond_boots", amount: 1}
		]
	})
	
	// diamond tools
	event.custom({ 
		type: "modern_industrialization:electric_alloy_smelter",
		eu: 16,
		duration: 400,
		item_inputs: [ 
			{item: "modern_industrialization:diamond_dust", amount: 2},
			{item: "geggy:steel_sword_blade", amount: 1}
		],
		item_outputs: [
			{item: "geggy:diamond_sword_head", amount: 1}
		]
	})
	event.custom({ 
		type: "modern_industrialization:electric_alloy_smelter",
		eu: 16,
		duration: 200,
		item_inputs: [ 
			{item: "modern_industrialization:diamond_dust", amount: 1},
			{item: "geggy:steel_shovel_head", amount: 1}
		],
		item_outputs: [
			{item: "geggy:diamond_shovel_head", amount: 1}
		]
	})
	event.custom({ 
		type: "modern_industrialization:electric_alloy_smelter",
		eu: 16,
		duration: 600,
		item_inputs: [ 
			{item: "modern_industrialization:diamond_dust", amount: 3},
			{item: "geggy:steel_pickaxe_head", amount: 1}
		],
		item_outputs: [
			{item: "geggy:diamond_pickaxe_head", amount: 1}
		]
	})
	event.custom({ 
		type: "modern_industrialization:electric_alloy_smelter",
		eu: 16,
		duration: 400,
		item_inputs: [ 
			{item: "modern_industrialization:diamond_dust", amount: 2},
			{item: "geggy:steel_hoe_head", amount: 1}
		],
		item_outputs: [
			{item: "geggy:diamond_hoe_head", amount: 1}
		]
	})
	event.custom({ 
		type: "modern_industrialization:electric_alloy_smelter",
		eu: 16,
		duration: 600,
		item_inputs: [ 
			{item: "modern_industrialization:diamond_dust", amount: 3},
			{item: "geggy:steel_axe_head", amount: 1}
		],
		item_outputs: [
			{item: "geggy:diamond_axe_head", amount: 1}
		]
	})
	
	// plate
	event.custom({ 
		type: "modern_industrialization:electric_alloy_smelter",
		eu: 16,
		duration: 400,
		item_inputs: [ 
			{item: "modern_industrialization:diamond_dust", amount: 1},
			{item: "modern_industrialization:steel_plate", amount: 1}
		],
		item_outputs: [
			{item: "modern_industrialization:diamond_plate", amount: 1}
		]
	})
	
	event.remove([
		"minecraft:diamond_sword",
	    "minecraft:diamond_pickaxe",
		"minecraft:diamond_axe",
		"minecraft:diamond_hoe",
		"minecraft:diamond_shovel",
		"minecraft:golden_sword",
	    "minecraft:golden_pickaxe",
		"minecraft:golden_axe",
		"minecraft:golden_hoe",
		"minecraft:golden_shovel"
	])
	
	event.shaped('minecraft:diamond_pickaxe', [
    '  S',
    ' A ',
    'B  '
	], {
		S: 'geggy:diamond_pickaxe_head',
		A: 'geggy:polished_tool_rod',
		B: 'modern_industrialization:rubber_sheet'
	})
	event.shaped('minecraft:diamond_axe', [
    '  S',
    ' A ',
    'B  '
	], {
		S: 'geggy:diamond_axe_head',
		A: 'geggy:polished_tool_rod',
		B: 'modern_industrialization:rubber_sheet'
	})
	event.shaped('minecraft:diamond_hoe', [
    '  S',
    ' A ',
    'B  '
	], {
		S: 'geggy:diamond_hoe_head',
		A: 'geggy:polished_tool_rod',
		B: 'modern_industrialization:rubber_sheet'
	})
	event.shaped('minecraft:diamond_sword', [
    '  S',
    ' A ',
    'B  '
	], {
		S: 'geggy:diamond_sword_head',
		A: 'geggy:polished_tool_rod',
		B: 'modern_industrialization:rubber_sheet'
	})
	event.shaped('minecraft:diamond_shovel', [
    '  S',
    ' A ',
    'B  '
	], {
		S: 'geggy:diamond_shovel_head',
		A: 'geggy:polished_tool_rod',
		B: 'modern_industrialization:rubber_sheet'
	})
	
	// gold tool rework
	
	event.custom({ 
		type: "modern_industrialization:melter",
		eu: 4,
		duration: 200,
		item_inputs: [ 
			{item: "modern_industrialization:gold_dust", amount: 1}
		],
		fluid_outputs: [
			{fluid: "geggy:molten_gold", amount: 144}
		]
	})
	event.custom({ 
		type: "modern_industrialization:electric_melter",
		eu: 4,
		duration: 200,
		item_inputs: [ 
			{item: "modern_industrialization:gold_dust", amount: 1}
		],
		fluid_outputs: [
			{fluid: "geggy:molten_gold", amount: 144}
		]
	})
	event.custom({ 
		type: "modern_industrialization:melter",
		eu: 4,
		duration: 200,
		item_inputs: [ 
			{item: "modern_industrialization:gold_tiny_dust", amount: 9}
		],
		fluid_outputs: [
			{fluid: "geggy:molten_gold", amount: 144}
		]
	})
	event.custom({ 
		type: "modern_industrialization:electric_melter",
		eu: 4,
		duration: 200,
		item_inputs: [ 
			{item: "modern_industrialization:gold_tiny_dust", amount: 9}
		],
		fluid_outputs: [
			{fluid: "geggy:molten_gold", amount: 144}
		]
	})
	event.custom({ 
		type: "modern_industrialization:melter",
		eu: 4,
		duration: 200,
		item_inputs: [ 
			{item: "minecraft:gold_ingot", amount: 1}
		],
		fluid_outputs: [
			{fluid: "geggy:molten_gold", amount: 144}
		]
	})
	event.custom({ 
		type: "modern_industrialization:electric_melter",
		eu: 4,
		duration: 200,
		item_inputs: [ 
			{item: "minecraft:gold_ingot", amount: 1}
		],
		fluid_outputs: [
			{fluid: "geggy:molten_gold", amount: 144}
		]
	})
	event.custom({ 
		type: "modern_industrialization:melter",
		eu: 4,
		duration: 30,
		item_inputs: [ 
			{item: "minecraft:gold_nugget", amount: 1}
		],
		fluid_outputs: [
			{fluid: "geggy:molten_gold", amount: 16}
		]
	})
	event.custom({ 
		type: "modern_industrialization:electric_melter",
		eu: 4,
		duration: 30,
		item_inputs: [ 
			{item: "minecraft:gold_nugget", amount: 1}
		],
		fluid_outputs: [
			{fluid: "geggy:molten_gold", amount: 16}
		]
	})
	
	event.custom({ 
		type: "modern_industrialization:caster",
		eu: 4,
		duration: 400,
		fluid_inputs: [
			{fluid: "geggy:molten_gold", amount: 288},
		],
		item_inputs: [ 
			{item: "geggy:mold_sword", amount: 1, probability: 0.0}
		],
		item_outputs: [
			{item: "geggy:gold_sword_head", amount: 1}
		]
	})
	event.custom({ 
		type: "modern_industrialization:caster",
		eu: 4,
		duration: 200,
		fluid_inputs: [
			{fluid: "geggy:molten_gold", amount: 144},
		],
		item_inputs: [ 
			{item: "geggy:mold_shovel", amount: 1, probability: 0.0}
		],
		item_outputs: [
			{item: "geggy:gold_shovel_head", amount: 1}
		]
	})
	event.custom({ 
		type: "modern_industrialization:caster",
		eu: 4,
		duration: 600,
		fluid_inputs: [
			{fluid: "geggy:molten_gold", amount: 432},
		],
		item_inputs: [ 
			{item: "geggy:mold_pickaxe", amount: 1, probability: 0.0}
		],
		item_outputs: [
			{item: "geggy:gold_pickaxe_head", amount: 1}
		]
	})
	event.custom({ 
		type: "modern_industrialization:caster",
		eu: 4,
		duration: 400,
		fluid_inputs: [
			{fluid: "geggy:molten_gold", amount: 288},
		],
		item_inputs: [ 
			{item: "geggy:mold_hoe", amount: 1, probability: 0.0}
		],
		item_outputs: [
			{item: "geggy:gold_hoe_head", amount: 1}
		]
	})
	event.custom({ 
		type: "modern_industrialization:caster",
		eu: 4,
		duration: 600,
		fluid_inputs: [
			{fluid: "geggy:molten_gold", amount: 432},
		],
		item_inputs: [ 
			{item: "geggy:mold_axe", amount: 1, probability: 0.0}
		],
		item_outputs: [
			{item: "geggy:gold_axe_head", amount: 1}
		]
	})
	
	event.custom({ 
		type: "modern_industrialization:electric_caster",
		eu: 4,
		duration: 400,
		fluid_inputs: [
			{fluid: "geggy:molten_gold", amount: 288},
		],
		item_inputs: [ 
			{item: "geggy:mold_sword", amount: 1, probability: 0.0}
		],
		item_outputs: [
			{item: "geggy:gold_sword_head", amount: 1}
		]
	})
	event.custom({ 
		type: "modern_industrialization:electric_caster",
		eu: 4,
		duration: 200,
		fluid_inputs: [
			{fluid: "geggy:molten_gold", amount: 144},
		],
		item_inputs: [ 
			{item: "geggy:mold_shovel", amount: 1, probability: 0.0}
		],
		item_outputs: [
			{item: "geggy:gold_shovel_head", amount: 1}
		]
	})
	event.custom({ 
		type: "modern_industrialization:electric_caster",
		eu: 4,
		duration: 600,
		fluid_inputs: [
			{fluid: "geggy:molten_gold", amount: 432},
		],
		item_inputs: [ 
			{item: "geggy:mold_pickaxe", amount: 1, probability: 0.0}
		],
		item_outputs: [
			{item: "geggy:gold_pickaxe_head", amount: 1}
		]
	})
	event.custom({ 
		type: "modern_industrialization:electric_caster",
		eu: 4,
		duration: 400,
		fluid_inputs: [
			{fluid: "geggy:molten_gold", amount: 288},
		],
		item_inputs: [ 
			{item: "geggy:mold_hoe", amount: 1, probability: 0.0}
		],
		item_outputs: [
			{item: "geggy:gold_hoe_head", amount: 1}
		]
	})
	event.custom({ 
		type: "modern_industrialization:electric_caster",
		eu: 4,
		duration: 600,
		fluid_inputs: [
			{fluid: "geggy:molten_gold", amount: 432},
		],
		item_inputs: [ 
			{item: "geggy:mold_axe", amount: 1, probability: 0.0}
		],
		item_outputs: [
			{item: "geggy:gold_axe_head", amount: 1}
		]
	})
	
	event.shaped(Item.of('minecraft:golden_pickaxe').enchant('minecraft:silk_touch', 1), [
    'S  ',
    'A  ',
    '   '
	], {
		S: 'geggy:gold_pickaxe_head',
		A: 'geggy:reinforced_tool_rod'
	})
	event.shaped(Item.of('minecraft:golden_axe').enchant('minecraft:silk_touch', 1), [
    'S  ',
    'A  ',
    '   '
	], {
		S: 'geggy:gold_axe_head',
		A: 'geggy:reinforced_tool_rod'
	})
	event.shaped(Item.of('minecraft:golden_hoe').enchant('minecraft:silk_touch', 1), [
    'S  ',
    'A  ',
    '   '
	], {
		S: 'geggy:gold_hoe_head',
		A: 'geggy:reinforced_tool_rod'
	})
	event.shaped(Item.of('minecraft:golden_sword').enchant('minecraft:silk_touch', 1), [
    'S  ',
    'A  ',
    '   '
	], {
		S: 'geggy:gold_sword_head',
		A: 'geggy:reinforced_tool_rod'
	})
	event.shaped(Item.of('minecraft:golden_shovel').enchant('minecraft:silk_touch', 1), [
    'S  ',
    'A  ',
    '   '
	], {
		S: 'geggy:gold_shovel_head',
		A: 'geggy:reinforced_tool_rod'
	})
	
	// canvas for sack
	event.shaped('farmersdelight:canvas', [
		'AA ',
		'AA ',
		'   '
	], {
		A: 'geggy:dried_fiber'
	})
	event.shaped('supplementaries:sack', [
		'BAB',
		'B B',
		'BBB'
	], {
		A: 'minecraft:string',
		B: 'farmersdelight:canvas'
	})
	event.shaped('minecraft:bundle', [
		'A  ',
		'B  ',
		'   '
	], {
		A: 'minecraft:string',
		B: 'geggy:cured_leather_sheet'
	})

})

// AQM2 thankyouverymuch
EntityEvents.checkSpawn(e => {
    let nbt = e.entity.nbt
    if (e.type == 'SPAWNER' && nbt.cardinal_components && nbt.cardinal_components['eldritch_mobs:eldritch_modifiers']?.numMaxAbilities > 0) {
      e.cancel()
    }
})



