// Made by zakarum5835

// Gilded Netherite Shield

ServerEvents.recipes(event => {
     event.smithing(

         "eternalnether:gilded_netherite_shield",
         "minecraft:netherite_upgrade_smithing_template",
         "minecraft:shield",
         "minecraft:netherite_ingot",

)})

// Diamond Termite Shard with Create mod

ServerEvents.recipes(event => {
  event.recipes.create.pressing('born_in_chaos_v1:diamond_termite_shard', 'minecraft:diamond')
})

// Nether Eye Crafting Recipe

ServerEvents.recipes(event => {

      event.shaped(
    'endrem:nether_eye',
    [
      'ZYZ',
      'YAY',
      'ZYZ'
    ],
    {
      A: 'bosses_of_mass_destruction:blazing_eye',
      Y: 'minecraft:ancient_debris',
      Z: 'minecraft:netherite_ingot'
    }
  ) 
})

// Unobtainium Upgrade Smithing Template

ServerEvents.recipes(event => {

      event.shaped(
    'allthemodium:unobtainium_upgrade_smithing_template',
    [
      'AEY',
      'DZX',
      ' C '
    ],
    {
      A: 'cataclysm:essence_of_the_storm',
      Y: 'cataclysm:remnant_skull',
      Z: 'allthemodium:vibranium_upgrade_smithing_template',
      X: 'legendary_monsters:portal_shard',
      C: 'cataclysm:gauntlet_of_guard',
      D: 'cataclysm:cursium_ingot',
      E: 'cataclysm:witherite_block'
    }
  ) 
})

// Creative Essence

ServerEvents.recipes(event => {
    event.custom({
        type: 'mysticalagriculture:infusion',
        input: {
            item: 'allthemodium:unobtainium_ingot'
        },
        ingredients: [
            { item: 'mysticalagradditions:insanium_block' },
            { item: 'mysticalagradditions:insanium_ingot_block' },
            { item: 'mysticalagradditions:insanium_block' },
            { item: 'mysticalagradditions:insanium_ingot_block' },
            { item: 'mysticalagradditions:insanium_block' },
            { item: 'mysticalagradditions:insanium_ingot_block' },
            { item: 'mysticalagradditions:insanium_block' },
            { item: 'mysticalagradditions:insanium_ingot_block' }
        ],
        result: {
            id: 'mysticalagradditions:creative_essence',
            count: 1
        }
    })
})