// Recipes for the endgame, creative items, and returning home.

ServerEvents.recipes(event => {

// Remove gem armor and projecte comb red matter items
event.remove({output: 'projecte:gem_helmet'})
event.remove({output: 'projecte:gem_chestplate'})
event.remove({output: 'projecte:gem_leggings'})
event.remove({output: 'projecte:gem_boots'})
event.remove({output: 'projecte:rm_katar'})
event.remove({output: 'projecte:rm_morning_star'})

// Watch of Flowing Time
event.recipes.extendedcrafting.shaped_table("projecte:watch_of_flowing_time", 
	['  aaaaa  ', 
	 ' abcccba ', 
	 'abcdddcba',
	 'acddeddca',
	 'acdefedca',
	 'acddeddca',
	 'abcdddcba',
	 ' abcccba ',
	 '  aaaaa  '
	 ], 
	{
		a: 'minecraft:clock',
		b: '#kubejs:red_matter',
		c: '#kubejs:prismatter',
		d: 'ae2:singularity',
		e: 'draconicevolution:awakened_core',
		f: 'extendedcrafting:crystaltine_ingot'
	}
).tier(4);

// Guilty Pool
event.custom({
  "type": "extendedcrafting:shaped_table",
  "pattern": [
    "AAAAAAAAA",
    "ABCDEDCBA",
    "ACFGHGFCA",
    "ADGIIIGDA",
    "AEHIJIHEA",
    "ADGIIIGDA",
    "ACFGHGFCA",
    "ABCDEDCBA",
    "AAAAAAAAA"
  ],
  "key": {
    "A": {
      "item": "botania:shimmerrock"
    },
    "B": {
      "item": "botania:pixie_dust"
    },
    "C": {
      "item": "botania:elementium_ingot"
    },
    "D": {
      "item": "botania:rune_greed"
    },
    "E": {
      "item": "mythicbotany:alfsteel_ingot"
    },
    "F": {
      "item": "botania:gaia_ingot"
    },
    "G": {
      "item": "botania:dragonstone"
    },
    "H": {
      "type": "forge:nbt",
      "item": "botania:mana_tablet",
      "count": 1,
      "nbt": "{mana:500000}"
    },
    "I": {
      "item": "botania:fabulous_pool"
    },
    "J": {
      "item": "extendedcrafting:crystaltine_ingot"
    }
  },
  "result": {
    "item": "botania:creative_pool"
  }
})

// Creative motor
event.custom({
  "type": "extendedcrafting:shaped_table",
  "pattern": [
    "AABBBBBAA",
    "ACDDDDDCA",
    "BDEFEFEDB",
    "BDFGGGFDB",
    "BDEGHGEDB",
    "BDFGGGFDB",
    "BDEFEFEDB",
    "ACDDDDDCA",
    "AABBBBBAA"
  ],
  "key": {
    "A": {
      "item": "create:brass_casing"
    },
    "B": {
      "item": "create:precision_mechanism"
    },
    "C": {
      "item": "create_new_age:overcharged_diamond"
    },
    "D": {
      "item": "create:large_water_wheel"
    },
    "E": {
      "item": "create:steam_engine"
    },
    "F": {
      "item": "createdieselgenerators:diesel_engine"
    },
    "G": {
      "item": "create_new_age:nuclear_fuel"
    },
    "H": {
      "item": "extendedcrafting:crystaltine_ingot"
    }
  },
  "result": {
    "item": "create:creative_motor"
  }
})

// Creative heat source
event.custom({
  "type": "extendedcrafting:shaped_table",
  "pattern": [
    "AAAAAAAAA",
    "ABBBBBBBA",
    "ACDEEEDCA",
    "ACEFFFECA",
    "ACEFGFECA",
    "ACEFFFECA",
    "ACDEEEDCA",
    "ABBBBBBBA",
    "AAAAAAAAA"
  ],
  "key": {
    "A": {
      "item": "pneumaticcraft:compressed_bricks"
    },
    "B": {
      "item": "minecraft:magma_block"
    },
    "C": {
      "item": "minecraft:blue_ice"
    },
    "D": {
      "item": "pneumaticcraft:heat_frame"
    },
    "E": {
      "item": "pneumaticcraft:vortex_tube"
    },
    "F": {
      "item": "pneumaticcraft:compressed_iron_block"
    },
    "G": {
      "item": "extendedcrafting:crystaltine_ingot"
    }
  },
  "result": {
    "item": "pneumaticcraft:creative_compressed_iron_block"
  }
})

// Creative compressor
event.custom({
  "type": "extendedcrafting:shaped_table",
  "pattern": [
    "AAAAAAAAA",
    "ABBBCBBBA",
    "ABDEFEDBA",
    "ABEGGGEBA",
    "ACFGHGFCA",
    "ABEGGGEBA",
    "ABDEFEDBA",
    "ABBBCBBBA",
    "AAAAAAAAA"
  ],
  "key": {
    "A": {
      "item": "pneumaticcraft:pressure_chamber_wall"
    },
    "B": {
      "item": "pneumaticcraft:ingot_iron_compressed"
    },
    "C": {
      "type": "forge:nbt",
      "item": "pneumaticcraft:air_canister",
      "count": 1,
      "nbt": "{\"pneumaticcraft:air\":30000}"
    },
    "D": {
      "item": "pneumaticcraft:advanced_liquid_compressor"
    },
    "E": {
      "item": "pneumaticcraft:advanced_air_compressor"
    },
    "F": {
      "item": "pneumaticcraft:flux_compressor"
    },
    "G": {
      "item": "pneumaticcraft:advanced_pressure_tube"
    },
    "H": {
      "item": "extendedcrafting:crystaltine_ingot"
    }
  },
  "result": {
    "item": "pneumaticcraft:creative_compressor"
  }
})

// Creative spell book
event.custom({
  "type": "extendedcrafting:shaped_table",
  "pattern": [
    "ABBBBBBBB",
    "ACCDCECCF",
    "ACGHIHGCF",
    "AJHKKKHLF",
    "ACIKMKICF",
    "ANHKKKHOF",
    "ACGHIHGCF",
    "ACCCPCCCF",
    "QQQQQQQQF"
  ],
  "key": {
    "A": {
      "item": "ars_nouveau:green_archwood_log"
    },
    "B": {
      "item": "ars_nouveau:red_archwood_log"
    },
    "C": {
      "item": "ars_nouveau:source_gem"
    },
    "D": {
      "item": "ars_nouveau:fire_essence"
    },
    "E": {
      "item": "ars_nouveau:air_essence"
    },
    "F": {
      "item": "ars_nouveau:purple_archwood_log"
    },
    "G": {
      "item": "ars_nouveau:drygmy_shard"
    },
    "H": {
      "item": "ars_nouveau:starbuncle_shards"
    },
    "I": {
      "item": "ars_nouveau:apprentice_spell_book"
    },
    "J": {
      "item": "ars_nouveau:earth_essence"
    },
    "K": {
      "item": "ars_nouveau:blank_parchment"
    },
    "L": {
      "item": "ars_nouveau:water_essence"
    },
    "M": {
      "item": "extendedcrafting:crystaltine_ingot"
    },
    "N": {
      "item": "ars_nouveau:conjuration_essence"
    },
    "O": {
      "item": "ars_nouveau:manipulation_essence"
    },
    "P": {
      "item": "ars_nouveau:abjuration_essence"
    },
    "Q": {
      "item": "ars_nouveau:blue_archwood_log"
    }
  },
  "result": {
    "item": "ars_nouveau:creative_spell_book"
  }
})

// Creative AE2 energy cell
event.custom({
  "type": "extendedcrafting:shaped_table",
  "pattern": [
    "ABBBBBBBA",
    "BCCCCCCCB",
    "BCDEEEDCB",
    "BCDFGFDCB",
    "BCDGHGDCB",
    "BCDFGFDCB",
    "BCDEEEDCB",
    "BCCCCCCCB",
    "ABBBBBBBA"
  ],
  "key": {
    "A": {
      "item": "expatternprovider:assembler_matrix_frame"
    },
    "B": {
      "item": "expatternprovider:assembler_matrix_wall"
    },
    "C": {
      "item": "ae2:fluix_crystal"
    },
    "D": {
      "item": "expatternprovider:ex_molecular_assembler"
    },
    "E": {
      "item": "expatternprovider:ex_pattern_provider"
    },
    "F": {
      "item": "ae2:cell_component_256k"
    },
    "G": {
      "item": "ae2:controller"
    },
    "H": {
      "item": "extendedcrafting:crystaltine_ingot"
    }
  },
  "result": {
    "item": "ae2:creative_energy_cell"
  }
})

// Creative ember source
event.custom({
  "type": "extendedcrafting:shaped_table",
  "pattern": [
    "AAAAAAAAA",
    "ABCDEDCBA",
    "ACFGGGFCA",
    "ADGHIHGDA",
    "AEGIJIGEA",
    "ADGHIHGDA",
    "ACFGGGFCA",
    "ABCDEDCBA",
    "AAAAAAAAA"
  ],
  "key": {
    "A": {
      "item": "embers:archaic_bricks"
    },
    "B": {
      "item": "embers:ancient_motive_core"
    },
    "C": {
      "item": "aetherworks:gem_aether"
    },
    "D": {
      "item": "embers:dawnstone_block"
    },
    "E": {
      "item": "embers:wildfire_core"
    },
    "F": {
      "item": "embers:ember_crystal_cluster"
    },
    "G": {
      "item": "embers:ember_activator"
    },
    "H": {
      "item": "embers:crystal_cell"
    },
    "I": {
      "item": "embers:ember_bore"
    },
    "J": {
      "item": "extendedcrafting:crystaltine_ingot"
    }
  },
  "result": {
    "item": "embers:creative_ember_source"
  }
})

// Func storage inf capacity
event.custom({
  "type": "extendedcrafting:shaped_table",
  "pattern": [
    "ABBCCCBBA",
    "BDEEEEEDB",
    "BFGHIHGFB",
    "CFHJJJHFC",
    "CFIJKJIFC",
    "CFHJJJHFC",
    "BFGHIHGFB",
    "BDEEEEEDB",
    "ABBCCCBBA"
  ],
  "key": {
    "A": {
      "item": "functionalstorage:iron_downgrade"
    },
    "B": {
      "item": "functionalstorage:copper_upgrade"
    },
    "C": {
      "item": "functionalstorage:gold_upgrade"
    },
    "D": {
      "item": "functionalstorage:storage_controller"
    },
    "E": {
      "item": "functionalstorage:compacting_drawer"
    },
    "F": {
      "item": "functionalstorage:oak_1"
    },
    "G": {
      "item": "functionalstorage:redstone_upgrade"
    },
    "H": {
      "item": "functionalstorage:collector_upgrade"
    },
    "I": {
      "item": "functionalstorage:void_upgrade"
    },
    "J": {
      "item": "functionalstorage:diamond_upgrade"
    },
    "K": {
      "item": "extendedcrafting:crystaltine_ingot"
    }
  },
  "result": {
    "item": "functionalstorage:max_storage_upgrade"
  }
})	

// Creative energy cube
event.custom({
  "type": "extendedcrafting:shaped_table",
  "pattern": [
    "ABBCACBBA",
    "BDEEEEEDB",
    "BEFGHGFEB",
    "CEGIJIGEC",
    "AEHJKJHEA",
    "CEGIJIGEC",
    "BEFGHGFEB",
    "BDEEEEEDB",
    "ABBCACBBA"
  ],
  "key": {
    "A": {
      "item": "mekanism:ingot_refined_glowstone"
    },
    "B": {
      "item": "mekanism:ingot_steel"
    },
    "C": {
      "item": "mekanism:ingot_refined_obsidian"
    },
    "D": {
      "type": "forge:nbt",
      "item": "mekanism:ultimate_energy_cube",
      "count": 1,
      "nbt": "{mekData:{EnergyContainers:[{Container:0b,stored:\"256000000\"}]}}"
    },
    "E": {
      "item": "mekanism:induction_casing"
    },
    "F": {
      "item": "mekanism:ultimate_induction_provider"
    },
    "G": {
      "type": "forge:nbt",
      "item": "mekanism:energy_tablet",
      "count": 1,
      "nbt": "{mekData:{EnergyContainers:[{Container:0b,stored:\"1000000\"}]}}"
    },
    "H": {
      "item": "mekanism:ultimate_induction_cell"
    },
    "I": {
      "item": "mekanism:pellet_antimatter"
    },
    "J": {
      "item": "mekanism_extras:infinite_control_circuit"
    },
    "K": {
      "item": "extendedcrafting:crystaltine_ingot"
    }
  },
  "result": {
	"type": "forge:nbt",
    "item": "mekanism:creative_energy_cube",
	"nbt": "{mekData:{EnergyContainers:[{Container:0b,stored:\"18446744073709551615.9999\"}]}}"
  }
})

// Creative chemical tank
event.custom({
  "type": "extendedcrafting:shaped_table",
  "pattern": [
    "ABBCACBBA",
    "BDEEEEEDB",
    "BEFGHGIEB",
    "CEGJKJGEC",
    "AEHKLKHEA",
    "CEGJKJGEC",
    "BEMGHGNEB",
    "BDEEEEEDB",
    "ABBCACBBA"
  ],
  "key": {
    "A": {
      "item": "mekanism:ingot_refined_glowstone"
    },
    "B": {
      "item": "mekanism:ingot_steel"
    },
    "C": {
      "item": "mekanism:ingot_refined_obsidian"
    },
    "D": {
      "item": "mekanism:electrolytic_core"
    },
    "E": {
      "item": "mekanism:boiler_casing"
    },
    "F": {
      "type": "forge:nbt",
      "item": "mekanism:gauge_dropper",
      "count": 1,
      "nbt": "{mekData:{GasTanks:[{Tank:0b,stored:{amount:16000L,gasName:\"mekanism:ethene\"}}]}}"
    },
    "G": {
      "item": "mekanism_extras:expand_radioactive_waste_barrel"
    },
    "H": {
      "item": "mekanism:ultimate_chemical_tank"
    },
    "I": {
      "type": "forge:nbt",
      "item": "mekanism:gauge_dropper",
      "count": 1,
      "nbt": "{mekData:{GasTanks:[{Tank:0b,stored:{amount:16000L,gasName:\"mekanism:hydrogen_chloride\"}}]}}"
    },
    "J": {
      "item": "mekanism:pellet_antimatter"
    },
    "K": {
      "item": "mekanism_extras:infinite_control_circuit"
    },
    "L": {
      "item": "extendedcrafting:crystaltine_ingot"
    },
    "M": {
      "type": "forge:nbt",
      "item": "mekanism:gauge_dropper",
      "count": 1,
      "nbt": "{mekData:{GasTanks:[{Tank:0b,stored:{amount:16000L,gasName:\"mekanism:sulfuric_acid\"}}]}}"
    },
    "N": {
      "type": "forge:nbt",
      "item": "mekanism:gauge_dropper",
      "count": 1,
      "nbt": "{mekData:{GasTanks:[{Tank:0b,stored:{amount:16000L,gasName:\"mekanism:lithium\"}}]}}"
    }
  },
  "result": {
    "item": "mekanism:creative_chemical_tank"
  }
})

// Creative fluid tank
event.custom({
  "type": "extendedcrafting:shaped_table",
  "pattern": [
    "ABBCACBBA",
    "BDEEEEEDB",
    "BEFGHGIEB",
    "CEJKLKJEC",
    "AEMLNLOEA",
    "CEJKLKJEC",
    "BEPGQGREB",
    "BDEEEEEDB",
    "ABBCACBBA"
  ],
  "key": {
    "A": {
      "item": "mekanism:ingot_refined_glowstone"
    },
    "B": {
      "item": "mekanism:ingot_steel"
    },
    "C": {
      "item": "mekanism:ingot_refined_obsidian"
    },
    "D": {
      "item": "mekanism:electric_pump"
    },
    "E": {
      "item": "mekanism:dynamic_tank"
    },
    "F": {
      "item": "mekanism:hydrogen_bucket"
    },
    "G": {
      "item": "mekanism:ultimate_fluid_tank"
    },
    "H": {
      "item": "mekanism:oxygen_bucket"
    },
    "I": {
      "item": "mekanism:chlorine_bucket"
    },
    "J": {
      "item": "enderstorage:ender_tank"
    },
    "K": {
      "item": "mekanism:pellet_antimatter"
    },
    "L": {
      "item": "mekanism_extras:infinite_control_circuit"
    },
    "M": {
      "item": "mekanism:sodium_bucket"
    },
    "N": {
      "item": "extendedcrafting:crystaltine_ingot"
    },
    "O": {
      "item": "mekanism:brine_bucket"
    },
    "P": {
      "item": "mekanism:lithium_bucket"
    },
    "Q": {
      "item": "mekanism:heavy_water_bucket"
    },
    "R": {
      "item": "mekanism:ethene_bucket"
    }
  },
  "result": {
    "item": "mekanism:creative_fluid_tank"
  }
})

// Creative upgrade (mek extras)
event.custom({
  "type": "extendedcrafting:shaped_table",
  "pattern": [
    "ABBBBBBBA",
    "CDEEEEEDC",
    "CFGGGGGFC",
    "CFGHHHGFC",
    "CFGHIHGFC",
    "CFGHHHGFC",
    "CFGGGGGFC",
    "CDEEEEEDC",
    "ABBBBBBBA"
  ],
  "key": {
    "A": {
      "item": "mekanism_extras:upgrade_ionic_membrane"
    },
    "B": {
      "item": "mekanism:upgrade_energy"
    },
    "C": {
      "item": "mekanism:upgrade_speed"
    },
    "D": {
      "item": "mekanism:upgrade_filter"
    },
    "E": {
      "item": "mekanism:upgrade_gas"
    },
    "F": {
      "item": "mekanism:upgrade_muffling"
    },
    "G": {
      "item": "mekanism_extras:upgrade_stack"
    },
    "H": {
      "item": "mekanism:upgrade_anchor"
    },
    "I": {
      "item": "extendedcrafting:crystaltine_ingot"
    }
  },
  "result": {
    "item": "mekanism_extras:upgrade_creative"
  }
})

// Creative Flux Efficiency
event.custom({
  "type": "extendedcrafting:shaped_table",
  "pattern": [
    "AAAAAAAAA",
    "ABCCCCCCA",
    "ABDEFGHIA",
    "ABEJKJGIA",
    "ABLKMKNIA",
    "ABOJKJPIA",
    "ABQORPSIA",
    "ATTTTTTIA",
    "AAAAAAAAA"
  ],
  "key": {
    "A": {
      "item": "thermal:machine_speed_augment"
    },
    "B": {
      "item": "thermal:lumium_block"
    },
    "C": {
      "item": "thermal:enderium_block"
    },
    "D": {
      "item": "thermal:machine_furnace"
    },
    "E": {
      "item": "thermal:signalum_gear"
    },
    "F": {
      "item": "thermal_extra:soul_infused_gear"
    },
    "G": {
      "item": "thermal:lumium_gear"
    },
    "H": {
      "item": "thermal:machine_pulverizer"
    },
    "I": {
      "item": "thermal:electrum_block"
    },
    "J": {
      "item": "thermal_extra:abyssal_upgrade_augment"
    },
    "K": {
      "item": "thermal_extra:abyssal_dynamo_output_augment"
    },
    "L": {
      "item": "thermal_extra:shellite_gear"
    },
    "M": {
      "item": "extendedcrafting:crystaltine_ingot"
    },
    "N": {
      "item": "thermal_extra:twinite_gear"
    },
    "O": {
      "item": "thermal:invar_gear"
    },
    "P": {
      "item": "thermal:enderium_gear"
    },
    "Q": {
      "item": "thermal:machine_smelter"
    },
    "R": {
      "item": "thermal_extra:dragonsteel_gear"
    },
    "S": {
      "item": "thermal:machine_press"
    },
    "T": {
      "item": "thermal:signalum_block"
    }
  },
  "result": {
    "item": "thermal:machine_efficiency_creative_augment"
  }
})

// Creative Reclamation Chamber
event.custom({
  "type": "extendedcrafting:shaped_table",
  "pattern": [
    "AAAAAAAAA",
    "ABCCCCCCA",
    "ABDEFGHIA",
    "ABEJKJGIA",
    "ABLKMKNIA",
    "ABOJKJPIA",
    "ABQORPSIA",
    "ATTTTTTIA",
    "AAAAAAAAA"
  ],
  "key": {
    "A": {
      "item": "thermal:machine_catalyst_augment"
    },
    "B": {
      "item": "thermal:lumium_block"
    },
    "C": {
      "item": "thermal:enderium_block"
    },
    "D": {
      "item": "thermal:machine_furnace"
    },
    "E": {
      "item": "thermal:signalum_gear"
    },
    "F": {
      "item": "thermal_extra:soul_infused_gear"
    },
    "G": {
      "item": "thermal:lumium_gear"
    },
    "H": {
      "item": "thermal:machine_pulverizer"
    },
    "I": {
      "item": "thermal:electrum_block"
    },
    "J": {
      "item": "thermal_extra:abyssal_upgrade_augment"
    },
    "K": {
      "item": "thermal_extra:abyssal_machine_catalyst_augment"
    },
    "L": {
      "item": "thermal_extra:shellite_gear"
    },
    "M": {
      "item": "extendedcrafting:crystaltine_ingot"
    },
    "N": {
      "item": "thermal_extra:twinite_gear"
    },
    "O": {
      "item": "thermal:invar_gear"
    },
    "P": {
      "item": "thermal:enderium_gear"
    },
    "Q": {
      "item": "thermal:machine_smelter"
    },
    "R": {
      "item": "thermal_extra:dragonsteel_gear"
    },
    "S": {
      "item": "thermal:machine_press"
    },
    "T": {
      "item": "thermal:signalum_block"
    }
  },
  "result": {
    "item": "thermal:machine_catalyst_creative_augment"
  }
})

// Creative RF coil
event.custom({
  "type": "extendedcrafting:shaped_table",
  "pattern": [
    "AAAAAAAAA",
    "ABCCCCCCA",
    "ABDEFGHIA",
    "ABEJKJGIA",
    "ABLMNMOIA",
    "ABPJKJQIA",
    "ABRPSQTIA",
    "AUUUUUUIA",
    "AAAAAAAAA"
  ],
  "key": {
    "A": {
      "item": "thermal:rf_coil_augment"
    },
    "B": {
      "item": "thermal:lumium_block"
    },
    "C": {
      "item": "thermal:enderium_block"
    },
    "D": {
      "item": "thermal:machine_furnace"
    },
    "E": {
      "item": "thermal:signalum_gear"
    },
    "F": {
      "item": "thermal_extra:soul_infused_gear"
    },
    "G": {
      "item": "thermal:lumium_gear"
    },
    "H": {
      "item": "thermal:machine_pulverizer"
    },
    "I": {
      "item": "thermal:electrum_block"
    },
    "J": {
      "item": "thermal_extra:abyssal_upgrade_augment"
    },
    "K": {
      "item": "thermal_extra:abyssal_rf_coil_xfer_augment"
    },
    "L": {
      "item": "thermal_extra:shellite_gear"
    },
    "M": {
      "item": "thermal_extra:abyssal_rf_coil_storage_augment"
    },
    "N": {
      "item": "extendedcrafting:crystaltine_ingot"
    },
    "O": {
      "item": "thermal_extra:twinite_gear"
    },
    "P": {
      "item": "thermal:invar_gear"
    },
    "Q": {
      "item": "thermal:enderium_gear"
    },
    "R": {
      "item": "thermal:machine_smelter"
    },
    "S": {
      "item": "thermal_extra:dragonsteel_gear"
    },
    "T": {
      "item": "thermal:machine_press"
    },
    "U": {
      "item": "thermal:signalum_block"
    }
  },
  "result": {
    "item": "thermal:rf_coil_creative_augment"
  }
})

// Creative tank augment
event.custom({
  "type": "extendedcrafting:shaped_table",
  "pattern": [
    "AAAAAAAAA",
    "ABCCCCCCA",
    "ABDEFGHIA",
    "ABEJKJGIA",
    "ABLKMKNIA",
    "ABOJKJPIA",
    "ABQORPSIA",
    "ATTTTTTIA",
    "AAAAAAAAA"
  ],
  "key": {
    "A": {
      "item": "thermal:fluid_tank_augment"
    },
    "B": {
      "item": "thermal:lumium_block"
    },
    "C": {
      "item": "thermal:enderium_block"
    },
    "D": {
      "item": "thermal:machine_furnace"
    },
    "E": {
      "item": "thermal:signalum_gear"
    },
    "F": {
      "item": "thermal_extra:soul_infused_gear"
    },
    "G": {
      "item": "thermal:lumium_gear"
    },
    "H": {
      "item": "thermal:machine_pulverizer"
    },
    "I": {
      "item": "thermal:electrum_block"
    },
    "J": {
      "item": "thermal_extra:abyssal_upgrade_augment"
    },
    "K": {
      "item": "thermal_extra:abyssal_fluid_tank_augment"
    },
    "L": {
      "item": "thermal_extra:shellite_gear"
    },
    "M": {
      "item": "extendedcrafting:crystaltine_ingot"
    },
    "N": {
      "item": "thermal_extra:twinite_gear"
    },
    "O": {
      "item": "thermal:invar_gear"
    },
    "P": {
      "item": "thermal:enderium_gear"
    },
    "Q": {
      "item": "thermal:machine_smelter"
    },
    "R": {
      "item": "thermal_extra:dragonsteel_gear"
    },
    "S": {
      "item": "thermal:machine_press"
    },
    "T": {
      "item": "thermal:signalum_block"
    }
  },
  "result": {
    "item": "thermal:fluid_tank_creative_augment"
  }
})

// All Alch knowledge tome
event.custom({
  "type": "extendedcrafting:shaped_table",
  "pattern": [
    "   AAA   ",
    "  ABBBA  ",
    " ABCDCBA ",
    "ABCEFECBA",
    "ABDFGFDBA",
    "ABCEFECBA",
    " ABCDCBA ",
    "  ABBBA  ",
    "   AAA   "
  ],
  "key": {
    "A": {
      "item": "projecte:dark_matter"
    },
    "B": {
      "item": "projecte:red_matter"
    },
    "C": {
      "item": "minecraft:book"
    },
    "D": {
      "item": "appliede:emc_module"
    },
    "E": {
      "item": "projecte:transmutation_tablet"
    },
    "F": {
      "item": "projecte:klein_star_omega"
    },
    "G": {
      "item": "extendedcrafting:crystaltine_ingot"
    }
  },
  "result": {
    "item": "projecte:tome"
  }
})

// Gem Helmet
event.custom({
  "type": "extendedcrafting:shaped_table",
  "pattern": [
    "  AAAAA  ",
    " ABCBDBA ",
    " EBFGFBH ",
    " ABIBJBA ",
    " ABAAABA ",
    "  AA AA  ",
    "         ",
    "         ",
    "         "
  ],
  "key": {
    "A": {
      "item": "draconicevolution:awakened_draconium_ingot"
    },
    "B": {
      "item": "draconicevolution:draconium_ingot"
    },
    "C": {
      "type": "forge:nbt",
      "item": "thermal_extra:abyssal_helmet",
      "count": 1,
      "nbt": "{Damage:0}"
    },
    "D": {
      "type": "forge:nbt",
      "item": "pneumaticcraft:pneumatic_helmet",
      "count": 1,
      "nbt": "{Damage:0}"
    },
    "E": {
      "item": "projecte:evertide_amulet"
    },
    "F": {
      "item": "extendedcrafting:crystaltine_ingot"
    },
    "G": {
      "item": "projecte:rm_helmet"
    },
    "H": {
      "item": "projecte:soul_stone"
    },
    "I": {
      "type": "forge:nbt",
      "item": "bloodmagic:livinghelmet",
      "count": 1,
      "nbt": "{Damage:0}"
    },
    "J": {
      "type": "forge:nbt",
      "item": "botania:terrasteel_helmet",
      "count": 1,
      "nbt": "{Damage:0}"
    }
  },
  "result": {
    "item": "projecte:gem_helmet"
  }
})

// Gem Chestplate
event.custom({
  "type": "extendedcrafting:shaped_table",
  "pattern": [
    "         ",
    " AA   AA ",
    " ABAAABA ",
    " ABCBDBA ",
    "  AEFEA  ",
    "  GHBIJ  ",
    "  ABBBA  ",
    "   AAA   ",
    "         "
  ],
  "key": {
    "A": {
      "item": "draconicevolution:awakened_draconium_ingot"
    },
    "B": {
      "item": "draconicevolution:draconium_ingot"
    },
    "C": {
      "type": "forge:nbt",
      "item": "botania:terrasteel_chestplate",
      "count": 1,
      "nbt": "{Damage:0}"
    },
    "D": {
      "type": "forge:nbt",
      "item": "thermal_extra:abyssal_chestplate",
      "count": 1,
      "nbt": "{Damage:0}"
    },
    "E": {
      "item": "extendedcrafting:crystaltine_ingot"
    },
    "F": {
      "item": "projecte:rm_chestplate"
    },
    "G": {
      "item": "projecte:volcanite_amulet"
    },
    "H": {
      "type": "forge:nbt",
      "item": "pneumaticcraft:pneumatic_chestplate",
      "count": 1,
      "nbt": "{Damage:0}"
    },
    "I": {
      "type": "forge:nbt",
      "item": "bloodmagic:livingplate",
      "count": 1,
      "nbt": "{Damage:0,livingStats:{maxPoints:100,upgrades:[]}}"
    },
    "J": {
      "item": "projecte:body_stone"
    }
  },
  "result": {
    "item": "projecte:gem_chestplate"
  }
})

// Gem Leggings
event.custom({
  "type": "extendedcrafting:shaped_table",
  "pattern": [
    "         ",
    "  AAAAA  ",
    " ABCBDBA ",
    " ABEFEBA ",
    " GBHAIBJ ",
    " ABA ABA ",
    " ABA ABA ",
    "  AA AA  ",
    "         "
  ],
  "key": {
    "A": {
      "item": "draconicevolution:awakened_draconium_ingot"
    },
    "B": {
      "item": "draconicevolution:draconium_ingot"
    },
    "C": {
      "type": "forge:nbt",
      "item": "thermal_extra:abyssal_leggings",
      "count": 1,
      "nbt": "{Damage:0}"
    },
    "D": {
      "type": "forge:nbt",
      "item": "pneumaticcraft:pneumatic_leggings",
      "count": 1,
      "nbt": "{Damage:0}"
    },
    "E": {
      "item": "extendedcrafting:crystaltine_ingot"
    },
    "F": {
      "item": "projecte:rm_leggings"
    },
    "G": {
      "item": "projecte:black_hole_band"
    },
    "H": {
      "type": "forge:nbt",
      "item": "bloodmagic:livingleggings",
      "count": 1,
      "nbt": "{Damage:0}"
    },
    "I": {
      "type": "forge:nbt",
      "item": "botania:terrasteel_leggings",
      "count": 1,
      "nbt": "{Damage:0}"
    },
    "J": {
      "item": "projecte:void_ring"
    }
  },
  "result": {
    "item": "projecte:gem_leggings"
  }
})

// Gem Boots
event.custom({
  "type": "extendedcrafting:shaped_table",
  "pattern": [
    "         ",
    " AAA AAA ",
    " ABA ABA ",
    " ABC DBA ",
    " EBFGFBE ",
    " ABH IBA ",
    " ABA ABA ",
    " AAA AAA ",
    "         "
  ],
  "key": {
    "A": {
      "item": "draconicevolution:awakened_draconium_ingot"
    },
    "B": {
      "item": "draconicevolution:draconium_ingot"
    },
    "C": {
      "type": "forge:nbt",
      "item": "thermal_extra:abyssal_boots",
      "count": 1,
      "nbt": "{Damage:0}"
    },
    "D": {
      "type": "forge:nbt",
      "item": "pneumaticcraft:pneumatic_boots",
      "count": 1,
      "nbt": "{Damage:0}"
    },
    "E": {
      "type": "forge:nbt",
      "item": "projecte:swiftwolf_rending_gale",
      "count": 1,
      "nbt": "{StoredEMC:64L,UnprocessedEMC:0.0d}"
    },
    "F": {
      "item": "extendedcrafting:crystaltine_ingot"
    },
    "G": {
      "item": "projecte:rm_boots"
    },
    "H": {
      "type": "forge:nbt",
      "item": "bloodmagic:livingboots",
      "count": 1,
      "nbt": "{Damage:0}"
    },
    "I": {
      "type": "forge:nbt",
      "item": "botania:terrasteel_boots",
      "count": 1,
      "nbt": "{Damage:0}"
    }
  },
  "result": {
    "item": "projecte:gem_boots"
  }
})

// Red Katar
event.custom({
  "type": "extendedcrafting:shaped_table",
  "pattern": [
    "      AAA",
    "     ABCA",
    "    ABDBA",
    " AAAEFBA ",
    " ABGHEA  ",
    "  AIJA   ",
    " AKABA   ",
    "ABA AA   ",
    "AA       "
  ],
  "key": {
    "A": {
      "item": "draconicevolution:awakened_draconium_ingot"
    },
    "B": {
      "item": "draconicevolution:draconium_ingot"
    },
    "C": {
      "item": "draconicevolution:wyvern_sword"
    },
    "D": {
      "type": "forge:nbt",
      "item": "thermal_extra:abyssal_sword",
      "count": 1,
      "nbt": "{Damage:0}"
    },
    "E": {
      "item": "extendedcrafting:crystaltine_ingot"
    },
    "F": {
      "item": "projecte:rm_axe"
    },
    "G": {
      "item": "projecte:rm_shears"
    },
    "H": {
      "item": "projecte:rm_sword"
    },
    "I": {
      "type": "forge:nbt",
      "item": "bloodmagic:soulsword",
      "count": 1,
      "nbt": "{Damage:0}"
    },
    "J": {
      "item": "projecte:rm_hoe"
    },
    "K": {
      "type": "forge:nbt",
      "item": "botania:terra_sword",
      "count": 1,
      "nbt": "{Damage:0}"
    }
  },
  "result": {
    "item": "projecte:rm_katar"
  }
})

// Red Morning Star
event.custom({
  "type": "extendedcrafting:shaped_table",
  "pattern": [
    " AAAAAAA ",
    " ABBBBBA ",
    "ABBCDEBBA",
    " ABFGHBA ",
    " AAIDJAA ",
    "   ABA   ",
    "   ABA   ",
    "   ABA   ",
    "   AAA   "
  ],
  "key": {
    "A": {
      "item": "draconicevolution:awakened_draconium_ingot"
    },
    "B": {
      "item": "draconicevolution:draconium_ingot"
    },
    "C": {
      "type": "forge:nbt",
      "item": "thermal_extra:abyssal_pickaxe",
      "count": 1,
      "nbt": "{Damage:0}"
    },
    "D": {
      "item": "extendedcrafting:crystaltine_ingot"
    },
    "E": {
      "item": "draconicevolution:wyvern_pickaxe"
    },
    "F": {
      "item": "projecte:rm_shovel"
    },
    "G": {
      "item": "projecte:rm_pick"
    },
    "H": {
      "item": "projecte:rm_hammer"
    },
    "I": {
      "type": "forge:nbt",
      "item": "botania:terra_pick",
      "count": 1,
      "nbt": "{Damage:0}"
    },
    "J": {
      "type": "forge:nbt",
      "item": "bloodmagic:soulpickaxe",
      "count": 1,
      "nbt": "{Damage:0}"
    }
  },
  "result": {
    "item": "projecte:rm_morning_star"
  }
})

// Creative Vending
event.custom({
  "type": "extendedcrafting:shaped_table",
  "pattern": [
    "ABBBCBBBD",
    "BEFGHGFIB",
    "BFJJKJJFB",
    "BLJMNMJLB",
    "OPJQRSJTU",
    "BLJMVMJLB",
    "BFJJWJJFB",
    "BXFGYGFZB",
    "aBBBbBBBc"
  ],
  "key": {
    "A": {
      "item": "thermal:machine_efficiency_creative_augment"
    },
    "B": {
      "item": "extendedcrafting:crystaltine_ingot"
    },
    "C": {
      "item": "create:creative_motor"
    },
    "D": {
      "item": "thermal:machine_catalyst_creative_augment"
    },
    "E": {
      "item": "ars_nouveau:creative_spell_book"
    },
    "F": {
      "item": "projectexpansion:violet_power_flower"
    },
    "G": {
      "item": "mekanism:pellet_antimatter"
    },
    "H": {
      "item": "mekanism_extras:upgrade_creative"
    },
    "I": {
      "item": "functionalstorage:max_storage_upgrade"
    },
    "J": {
      "item": "kubejs:prismatter"
    },
    "K": {
      "item": "projecte:tome"
    },
    "L": {
      "item": "mythicbotany:alfsteel_ingot"
    },
    "M": {
      "item": "draconicevolution:awakened_core"
    },
    "N": {
      "item": "projecte:gem_helmet"
    },
    "O": {
      "item": "pneumaticcraft:creative_compressed_iron_block"
    },
    "P": {
      "type": "forge:nbt",
      "item": "mekanism:creative_energy_cube",
      "count": 1,
      "nbt": "{mekData:{EnergyContainers:[{Container:0b,stored:\"18446744073709551615.9999\"}],componentConfig:{config0:{side0:4,side1:4,side2:4,side3:4,side4:4,side5:4}}}}"
    },
    "Q": {
      "item": "projecte:rm_katar"
    },
    "R": {
      "item": "projecte:gem_chestplate"
    },
    "S": {
      "item": "projecte:rm_morning_star"
    },
    "T": {
      "item": "mekanism:creative_fluid_tank"
    },
    "U": {
      "item": "pneumaticcraft:creative_compressor"
    },
    "V": {
      "item": "projecte:gem_leggings"
    },
    "W": {
      "item": "projecte:gem_boots"
    },
    "X": {
      "item": "embers:creative_ember_source"
    },
    "Y": {
      "item": "mekanism:creative_chemical_tank"
    },
    "Z": {
      "item": "botania:creative_pool"
    },
    "a": {
      "item": "thermal:rf_coil_creative_augment"
    },
    "b": {
      "item": "ae2:creative_energy_cell"
    },
    "c": {
      "item": "thermal:fluid_tank_creative_augment"
    }
  },
  "result": {
    "item": "functionalstorage:creative_vending_upgrade",
	"count": 2
  }
})

// Cake Fixes
event.remove({mod: 'telepastries'})

event.custom({
  "type": "extendedcrafting:shaped_table",
  "pattern": [
    "AAAAAAAAA",
    "AAAAAAAAA",
    "AAAAAAAAA",
    "AAAAAAAAA",
    "AAAAAAAAA",
    "AAAAAAAAA",
    "AAAAAAAAA",
    "AAAAAAAAA",
    "AAAAAAAAA"
  ],
  "key": {
    "A": {
      "item": "kubejs:slice_of_cake"
    }
  },
  "result": {
    "item": "telepastries:lost_city_cake"
  }
})

})