
events.listen('recipes', function (event) {

      //Trinkets
event.shaped(item.of('ftbultimine:ultiminer'), [
        'ABC',
        'EDE',
        'SSS'
      ], {
        A: Item.of('minecraft:iron_pickaxe').ignoreNBT(),
        B: Item.of('minecraft:golden_pickaxe').ignoreNBT(),
        C: Item.of('minecraft:diamond_pickaxe').ignoreNBT(),
        D: 'create:precision_mechanism',
        E: 'create:cogwheel',
        S: 'create:polished_rose_quartz'
      })

      //Krate
event.shaped(item.of('krate:krate_small'), [
        'BBB',
        'A A',
        'BBB'
      ], {
        A: '#minecraft:logs',
        B: '#minecraft:slabs'
      })

event.shaped(item.of('krate:basic_to_big'), [
        'ADA',
        'B B',
        'ACA'
      ], {
        A: 'minecraft:iron_ingot',
        B: '#minecraft:logs',
        C: 'krate:empty_upgrade',
        D: 'krate:krate_basic'
      })
event.shaped(item.of('krate:krate_big'), [
        'ABA',
        'C C',
        'ABA'
      ], {
        A: '#forge:ingots/iron',
        B: 'krate:krate_basic',
        C: '#minecraft:logs'
      })
      
      
      //Cyclic
event.shaped(item.of('cyclic:apple_chocolate'), [
        'AAA',
        'CBC',
        'DDD'
      ], {
        A: 'minecraft:milk_bucket',
        B: 'minecraft:golden_apple',
        C: 'create:bar_of_chocolate',
        D: 'cyclic:experience_food'
      })

event.shaped(item.of('cyclic:ender_eye_reuse'), [
        'ABA',
        'ACA',
        'AAA'
      ], {
        A: 'minecraft:ender_eye',
        B: 'minecraft:diamond',
        C: 'minecraft:ender_chest'
      })


      //WirelessChargers
event.shaped(item.of('wirelesschargers:basic_wireless_player_charger'), [
        'EAE',
        'BCB',
        'DFD'
      ], {
        A: 'minecraft:gold_block',
        B: 'minecraft:ender_eye',
        C: 'immersiveengineering:charging_station',
        D: 'minecraft:iron_block',
        E: 'createaddition:capacitor',
        F: 'immersiveengineering:capacitor_lv'

      })
event.shaped(item.of('wirelesschargers:advanced_wireless_player_charger'), [
        ' B ',
        'DCD',
        'AZA'
      ], {
        A: 'minecraft:gold_block',
        B: 'cyclic:ender_eye_reuse',
        C: 'immersiveengineering:transformer',
        D: 'immersiveengineering:coil_mv',
        Z: 'wirelesschargers:basic_wireless_player_charger'
      })

      //KubeJS
event.recipes.mekanismSmelting('kubejs:lithium_ingot', '#forge:dusts/lithium')
event.recipes.mekanismEnriching('kubejs:trinium_plate', 'mekanismmatter:trinium_ingot')
event.shaped(item.of('4x kubejs:compress_component'), [
        'AEA',
        'CDB',
        'AEA'
      ], {
        A: 'mekanismmatter:universal_matter',
        B: 'mekanism:pellet_polonium',
        C: 'mekanism:pellet_plutonium',
        D: 'mekanism:pellet_antimatter',
        E: 'rftoolsbase:dimensionalshard'
      })
event.shaped(item.of('4x kubejs:inactive_dimensional_core'), [
        'DBA',
        'BCB',
        'ABD'
      ], {
        A: 'mekanismmatter:universal_matter',
        B: 'kubejs:compress_component',
        C: 'mekanism:teleportation_core',
        D: 'kubejs:trinium_plate'
      })  
event.shapeless(item.of('kubejs:blood_stained_pane', 6), ['kubejs:blood_stained_glass'])

      //Occultism
event.shaped(item.of('occultism:lenses'), [
        'A A',
        'ABA',
        'A A'
      ], {
        A: 'kubejs:blood_stained_pane',
        B: 'occultism:spirit_attuned_gem'
      })

      //Silent Gear
event.shaped(item.of('silentgear:crimson_steel_ingot'), [
        'AAA',
        'CBC',
        'CDC'
      ], {
        A: 'minecraft:blaze_rod',
        B: 'minecraft:magma_cream',
        C: 'silentgear:crimson_iron_ingot',
        D: '#forge:ingots/steel'
      }) 
event.shaped(item.of('silentgear:blaze_gold_ingot'), [
        'AAA',
        'BBB',
        '   '
      ], {
        A: 'minecraft:blaze_powder',
        B: 'minecraft:gold_ingot'
      }) 
event.shaped(item.of('silentgear:azure_electrum_ingot'), [
        'AAA',
        'CDC',
        'CDC'
      ], {
        A: 'silentgear:blaze_gold_ingot',
        C: 'silentgear:azure_silver_ingot',
        D: 'minecraft:ender_eye'
      }) 

event.shaped(item.of('silentgear:material_grader'), [
        'ABA',
        'BDB',
        'CCC'
      ], {
        A: 'create:polished_rose_quartz',
        B: 'silentgear:crimson_iron_ingot',
        C: 'silentgear:blaze_gold_ingot',
        D: 'silentgear:crimson_steel_block'
      }) 

event.shaped(item.of('9x silentgear:glittery_dust'), [
        'ABA',
        'CDC',
        'ABA'
      ], {
        A: 'minecraft:popped_chorus_fruit',
        B: 'minecraft:nether_star',
        C: 'minecraft:glowstone_dust',
        D: 'silentgear:golden_nether_banana'
      }) 
      
      //Mining Helmet
event.shaped(item.of('mining_helmet:mining_helmet'), [
        ' B ',
        'AAA',
        'A A'
      ], {
        A: '#forge:ingots',
        B: 'minecraft:lantern'
      }) 

      //Wands
event.shaped(item.of('wands:stone_wand'), [
        '  A',
        ' B ',
        'B  '
      ], {
        A: '#forge:cobblestone',
        B: '#forge:rods/wooden'
      })

      //General
event.shaped(item.of('tombstone:book_of_disenchantment'), [
        'ACA',
        'CBC',
        'ACA'
      ], {
        A: 'tombstone:grave_dust',
        B: 'minecraft:book',
        C: 'occultism:spirit_attuned_gem'
      })
      
event.shaped(item.of('2x minecraft:kelp'), [
        'ABA',
        'ABA',
        'ABA'
      ], {
        A: 'minecraft:grass',
        B: 'minecraft:sugar_cane'
      })

event.shaped(item.of('sophisticatedbackpacks:tank_upgrade'), [
        'AAA',
        'ABA',
        'AAA'
      ], {
        A: 'create:fluid_tank',
        B: 'sophisticatedbackpacks:upgrade_base'
      })
      
event.shaped(item.of('sophisticatedbackpacks:feeding_upgrade'), [
        'FAG',
        'BCD',
        'HEI'
      ], {
        A: 'minecraft:golden_carrot',
        B: 'minecraft:golden_apple',
        C: 'sophisticatedbackpacks:upgrade_base',
        D: 'minecraft:glistering_melon_slice',
        E: 'minecraft:ender_pearl',
        F: 'minecraft:poisonous_potato',
        G: 'minecraft:pumpkin_pie',
        H: 'minecraft:cookie',
        I: 'minecraft:bread'
      })

event.shaped(item.of('tiab:timeinabottle'), [
        'AAA',
        'DBD',
        'CEC'
      ], {
        A: 'minecraft:gold_ingot',
        B: 'create:cuckoo_clock',
        C: 'minecraft:lapis_lazuli',
        D: 'minecraft:diamond',
        E: Item.of('minecraft:potion', {Potion: "minecraft:strong_swiftness"}),
      })

event.shaped(item.of('cyclic:stirrups_reverse'), [
        ' BA',
        'CAB',
        'CC '
      ], {
        A: 'minecraft:leather',
        B: 'apotheosis:farmers_leash',
        C: 'silentgear:blaze_gold_ingot'
      })

event.shaped(item.of('cyclic:stirrups_reverse'), [
        ' BA',
        'CAB',
        'CC '
      ], {
        A: 'minecraft:leather',
        B: 'apotheosis:farmers_leash',
        C: 'silentgear:blaze_gold_ingot'
      })

event.shaped(item.of('cyclic:lightning_scepter'), [
        'ABA',
        'ACA',
        ' D '
      ], {
        A: 'minecraft:ender_eye',
        B: 'cyclic:gem_obsidian',
        C: 'thermal:lightning_charge',
        D: 'minecraft:blaze_rod'
      })

event.recipes.immersiveengineeringCrusher('2x emendatusenigmatica:obsidian_dust', 'minecraft:obsidian')



      //Torchmaster
      event.shaped(item.of('torchmaster:feral_flare_lantern'), [
        'CDC',
        'BAB',
        'CDC'
      ], {
        A: 'immersiveengineering:electric_lantern',
        B: 'bloodmagic:reagentbloodlight',
        C: 'silentgear:glowing_dust',
        D: 'immersiveengineering:capacitor_lv'
      })
      /*EmendatusEnigmatica  
event.shapeless(item.of('emendatusenigmatica:lead_nugget', 9), ['#forge:ingots/lead'])
event.shapeless(item.of('emendatusenigmatica:lead_ingot'), ['9x #forge:nuggets/lead'])
event.shapeless(item.of('emendatusenigmatica:lead_ingot', 9), ['#forge:storage_blocks/lead'])
event.shapeless(item.of('emendatusenigmatica:lead_block'), ['9x #forge:ingots/lead'])

event.shapeless(item.of('emendatusenigmatica:bronze_ingot'), ['9x #forge:nuggets/bronze'])
event.shapeless(item.of('emendatusenigmatica:bronze_block'), ['9x #forge:ingots/bronze'])

event.shapeless(item.of('emendatusenigmatica:copper_ingot'), ['9x #forge:nuggets/copper'])
event.shapeless(item.of('emendatusenigmatica:copper_nugget', 9), ['#forge:ingots/copper'])
event.shapeless(item.of('emendatusenigmatica:copper_block'), ['9x #forge:ingots/copper'])
event.shapeless(item.of('emendatusenigmatica:copper_ingot', 9), ['#forge:storage_blocks/copper'])

event.shapeless(item.of('emendatusenigmatica:silver_ingot'), ['9x #forge:nuggets/silver'])
event.shapeless(item.of('emendatusenigmatica:silver_nugget', 9), ['#forge:ingots/silver'])
event.shapeless(item.of('emendatusenigmatica:silver_block'), ['9x #forge:ingots/silver'])
event.shapeless(item.of('emendatusenigmatica:silver_ingot', 9), ['#forge:storage_blocks/silver'])

event.shapeless(item.of('emendatusenigmatica:tin_ingot'), ['9x #forge:nuggets/tin'])
event.shapeless(item.of('emendatusenigmatica:tin_ingot', 9), ['#forge:storage_blocks/tin'])

event.shapeless(item.of('emendatusenigmatica:steel_ingot'), ['9x #forge:nuggets/steel'])

event.shapeless(item.of('emendatusenigmatica:uranium_ingot', 9), ['#forge:storage_blocks/uranium'])
event.shapeless(item.of('emendatusenigmatica:uranium_block'), ['9x #forge:ingots/uranium'])

event.shapeless(item.of('emendatusenigmatica:steel_ingot'), ['9x #forge:nuggets/steel'])
event.shapeless(item.of('emendatusenigmatica:steel_nugget', 9), ['#forge:ingots/steel'])
event.shapeless(item.of('emendatusenigmatica:steel_block'), ['9x #forge:ingots/steel'])
event.shapeless(item.of('emendatusenigmatica:steel_ingot', 9), ['#forge:storage_blocks/steel'])

event.recipes.createCrushing([
  '2x minecraft:quartz',
  Item.of('emendatusenigmatica:sulfur_dust').withChance(0.25)
], 'emendatusenigmatica:quartz_chunk')*/

event.recipes.createMilling(['minecraft:quartz'], 'emendatusenigmatica:quartz_chunk')

//Occultism

event.custom({
  type: "occultism:spirit_fire",
  ingredient: {
    tag: "minecraft:logs_that_burn" },
  result: {
    item: "occultism:otherworld_log" }
  })
})