//Fractured 

ServerEvents.recipes(event => {

  //Removed Banned Items
  event.remove({output: '#fractured:banned_items'})

  //Logs to Planks nerf
  event.forEachRecipe({ type: 'minecraft:crafting_shapeless', input: '#minecraft:logs', output: '#minecraft:planks' }, r => {
    let ingredients = r.originalRecipeIngredients
    let output = r.originalRecipeResult
    event.shapeless(Item.of(output.id, 2), ingredients[0]).id(r.getId())
  })  

  //Ash
  event.smelting('fractured:ash', 'farmersdelight:tree_bark').xp(0.1).id('fractured:smelting/ash')
  event.campfireCooking('fractured:ash', 'farmersdelight:tree_bark', 0.1, 100).id('fractured:campfire/ash')

  //Flint and Stick
  event.shapeless('fractured:flint_and_stick', ['minecraft:flint', 'minecraft:stick']).id('fractured:flint_and_stick')
   
  //Main Island Teleporter
  event.shaped('fractured:main_island_teleporter', ['CAC', 'ABA', 'CAC'], {
    A: 'minecraft:end_stone',
    B: 'minecraft:ender_eye',
    C: 'minecraft:ender_pearl',
  }).id('fractured:main_island_teleporter')
  
  //Colored Catalyst
  event.shaped('fractured:colored_catalyst', ['ABA', 'CDC', 'ABA'], {
    A: '#c:dyes',
    B: 'fractured:dark_fused_stone',
    C: 'fractured:light_fused_stone',
    D: 'immersivepetroleum:petcoke'
  }).id('fractured:colored_catalyst')

  //Void Staff
  event.shaped('fractured:void_staff[casting:teleporting=16]', ['  A', ' B ', 'B  '], {
    A: 'fractured:void_block',
    B: 'fractured:void_ingot',
  }).id('fractured:void_staff')

  //Portable Seismic Survey Tool
  event.shaped('fractured:portable_seismic_survey_tool', [' A ', 'ABA', ' A '], { 
    A: 'immersivepetroleum:survey_result',
    B: 'immersivepetroleum:seismic_survey'
  }).id('fractured:portable_seismic_survey_tool')

  //Forgotten Catalyst
  event.shaped('fractured:forgotten_catalyst', ['ABA', 'BCB', 'ABA'], { 
    A: 'undergarden:forgotten_ingot',
    B: 'fractured:void_ingot',
    C: 'fractured:void_infused_sandstone' 
  }).id('fractured:forgotten_catalyst')

  //Void Block 
  event.shaped('fractured:void_block', ['AAA', 'AAA', 'AAA'], {
    A: 'fractured:void_ingot'
  }).id('fractured:void_block')

  //Void Ingot
  event.shapeless('9x fractured:void_ingot', ['fractured:void_block']).id('fractured:void_ingot')

  //Void Bucket
  event.shaped('fractured:void_bucket', ['ABA', ' A '], { 
    A: 'fractured:void_planks',
    B: 'minecraft:bucket'
  }).id('fractured:void_bucket')

  //Void Chest
  event.shaped('fractured:void_chest', ['AAA', 'A A', 'AAA'], { 
    A: 'fractured:void_planks'
  }).id('fractured:void_chest')

  //Dye Extractor
  event.shaped('fractured:dye_extractor', [' AA', ' BA', 'B  '], {
    A: 'minecraft:paper',
    B: '#c:rods/wooden'
  }).id('fractured:dye_extractor')

  //Survivalist Compound
  event.shapeless('fractured:survivalist_compound', ['opolisutilities:leafy_string', 'projectvibrantjourneys:rocks', 'farmersdelight:tree_bark']).id('fractured:survivalist_compound')

  //Survivalist Armor 
  event.shaped('fractured:survivalist_helmet', ['AAA', 'A A', '   '], {
    A: 'fractured:survivalist_compound'
  }).id('fractured:survivalist_helmet')

  event.shaped('fractured:survivalist_chestplate', ['A A', 'AAA', 'AAA'], {
    A: 'fractured:survivalist_compound'
  }).id('fractured:survivalist_chestplate')
  
  event.shaped('fractured:survivalist_leggings', ['AAA', 'A A', 'A A'], {
    A: 'fractured:survivalist_compound'
  }).id('fractured:survivalist_leggings')
  
  event.shaped('fractured:survivalist_boots', ['   ', 'A A', 'A A'], {
    A: 'fractured:survivalist_compound'
  }).id('fractured:survivalist_boots')
  
  //End Catalyst
  event.shaped('fractured:end_catalyst', ['ABA', 'BCB', 'ABA'], { 
    A: 'minecraft:ender_pearl',
    B: 'minecraft:obsidian',
    C: 'ltxi:t3_circuit'
  }).id('fractured:end_catalyst')

  //Infused Obsidian
  event.shaped('5x fractured:infused_obsidian', ['ABC', 'DDD', 'CBA'], { 
    A: 'gaiadimension:albite_block',
    B: 'gaiadimension:stibnite_block',
    C: 'gaiadimension:euclase_block',
    D: 'minecraft:obsidian'
  }).id('fractured:infused_obsidian')

  //Nether Catalyst
  event.shaped('fractured:nether_catalyst', ['ABA', 'BCB', 'ABA'], { 
    A: 'gaiadimension:celestine',
    B: 'minecraft:glowstone_dust',
    C: 'fractured:malachite_heart'
  }).id('fractured:nether_catalyst')

  //Malachite Watchtower Locator
  event.shaped('fractured:malachite_watchtower_locator', ['CAC', 'ABA', 'CAC'], { 
    A: 'gaiadimension:pink_essence',
    B: 'minecraft:compass',
    C: 'gaiadimension:black_residue'
  }).id('fractured:malachite_watchtower_locator')

  //Catacombs Locator
  event.shaped('fractured:catacombs_locator', [' A ', 'ABA', ' A '], { 
    A: '#c:dusts/saltpeter',
    B: 'minecraft:compass'
  }).id('fractured:catacombs_locator')

  //Gaia Catalyst
  event.shaped('fractured:gaia_catalyst', ['ABA', 'BCB', 'ABA'], { 
    A: 'minecraft:iron_block',
    B: 'minecraft:redstone_block',
    C: 'minecraft:glowstone'
  }).id('fractured:gaia_catalyst')

  //Wheat Flour
  event.shapeless('fractured:wheat_flour', ['fractured:mortar_and_pestle', 'minecraft:wheat'])
    .keepIngredient('fractured:mortar_and_pestle').id('fractured:wheat_flour')
  
  //Mortar and Pestle
  event.shapeless('fractured:mortar_and_pestle', ['fractured:pestle', 'minecraft:bowl']).id('fractured:mortar_and_pestle')

  //Pestle
  event.shaped('fractured:pestle', [' A', 'B '], { 
    A: 'minecraft:stone',
    B: 'flintrequired:flint_shard'
  }).id('fractured:pestle')

  //Grout Dust
  event.shapeless('2x fractured:grout_dust', ['fractured:mortar_and_pestle', '#c:sands', 'minecraft:gravel', 'minecraft:clay_ball'])
    .keepIngredient('fractured:mortar_and_pestle').id('fractured:grout_ball_from_dust')

  //Leafy Binding
  event.shaped('fractured:leafy_binding', [' A ', 'AAA', ' A '], { 
    A: 'opolisutilities:leafy_string'
  }).id('fractured:leafy_binding')

  //Reinforced Binding
  event.shaped('fractured:reinforced_binding', [' A ', 'AAA', ' A '], { 
    A: 'minecraft:string'
  }).id('fractured:reinforced_binding')

  //Steel Binding
  event.shaped('fractured:steel_binding', [' A ', 'AAA', ' A '], { 
    A: '#c:ingots/steel'
  }).id('fractured:steel_binding')
  
  //Diamond Binding
  event.shaped('fractured:diamond_binding', [' A ', 'AAA', ' A '], { 
    A: '#c:gems/diamond'
  }).id('fractured:diamond_binding')

  //Netherite Binding
  event.shaped('fractured:netherite_binding', [' A ', 'AAA', ' A '], { 
    A: '#c:ingots/netherite'
  }).id('fractured:netherite_binding')

  //Blueprint Paper
  event.shapeless('fractured:blueprint_paper', ['3x minecraft:paper', '#c:dyes/blue']).id('fractured:blueprint_paper')

  //Forgotten Sandstone
  event.shaped('fractured:forgotten_sandstone', ['ABA', 'BCB', 'ABA'], { 
    A: '#c:sands',
    B: '#c:nuggets/forgotten_metal',
    C: 'fractured:void_infused_sandstone' 
  }).id('fractured:forgotten_sandstone')

  //Treated Stone Bricks
  event.shaped('fractured:treated_stone_bricks', ['ABA', 'BCB', 'ABA'], { 
    A: 'minecraft:stone_bricks',
    B: '#immersiveengineering:treated_wood',
    C: '#c:ingots/bronze'
  }).id('fractured:treated_stone_bricks')

  //Molds
  event.shaped('fractured:pickaxe_mold', [' A ', 'ABA', ' A '], { 
    A: 'casting:black_brick' ,
    B: 'flintrequired:flint_pickaxe_head' 
  }).id('fractured:pickaxe_mold')

  event.shaped('fractured:axe_mold', [' A ', 'ABA', ' A '], {
    A: 'casting:black_brick' ,
    B: 'flintrequired:flint_axe_head' 
  }).id('fractured:axe_mold')

  event.shaped('fractured:shovel_mold', [' A ', 'ABA', ' A '], {
    A: 'casting:black_brick' ,
    B: 'flintrequired:flint_shovel_head' 
  }).id('fractured:shovel_mold')

  event.shaped('fractured:hoe_mold', [' A ', 'ABA', ' A '], {
    A: 'casting:black_brick' ,
    B: 'flintrequired:flint_hoe_head' 
  }).id('fractured:hoe_mold')

  event.shaped('fractured:sword_mold', [' A ', 'ABA', ' A '], {
    A: 'casting:black_brick' ,
    B: 'flintrequired:flint_knife_head'
  }).id('fractured:sword_mold')

  //Grout Brick 
  event.smelting('fractured:grout_brick', 'fractured:grout_dust').xp(0.1).id('fractured:smelting/grout_brick')

})