ServerEvents.recipes((event) => {
  event.remove({ output: "powah:dielectric_casing" });

  event.shaped("powah:dielectric_casing", ["IHI", "VSV", "IHI"], {
    I: "thermal:lead_ingot",
    S: "kubejs:hardened_shard",
    V: "powah:dielectric_rod",
    H: "powah:dielectric_rod_horizontal",
  });

  // Core Creation
  event.recipes.powah.energizing(
    [
      "kubejs:hardened_resource_shell",
      "kubejs:lead_resource_core",
      "kubejs:nickel_resource_core",
      "kubejs:tin_resource_core",
      "kubejs:silver_resource_core",
      "kubejs:diamond_resource_core",
    ],
    "kubejs:energized_resource_shell",
    10000
    );
  event.recipes.powah.energizing(
    [
      "kubejs:energized_resource_shell",
      "powah:energized_steel_block",
      "powah:energized_steel_block",
      "powah:energized_steel_block",
      "powah:energized_steel_block",
      "powah:energized_steel_block",
    ],
    "kubejs:energized_steel_core",
    100000
  );
  event.recipes.powah.energizing(
    [
      "kubejs:energized_resource_shell",
      "powah:blazing_crystal_block",
      "powah:blazing_crystal_block",
      "powah:blazing_crystal_block",
      "powah:blazing_crystal_block",
      "powah:blazing_crystal_block",
    ],
    "kubejs:blazing_resource_core",
    100000
  );
  event.recipes.powah.energizing(
    [
      "kubejs:energized_resource_shell",
      "powah:niotic_crystal_block",
      "powah:niotic_crystal_block",
      "powah:niotic_crystal_block",
      "powah:niotic_crystal_block",
      "powah:niotic_crystal_block",
    ],
    "kubejs:niotic_resource_core",
    100000
  );
  event.recipes.powah.energizing(
    [
      "kubejs:energized_resource_shell",
      "powah:spirited_crystal_block",
      "powah:spirited_crystal_block",
      "powah:spirited_crystal_block",
      "powah:spirited_crystal_block",
      "powah:spirited_crystal_block",
    ],
    "kubejs:spirited_resource_core",
    100000
  );
  event.recipes.powah.energizing(
    [
      "kubejs:energized_resource_shell",
      "powah:nitro_crystal_block",
      "powah:nitro_crystal_block",
      "powah:nitro_crystal_block",
      "powah:nitro_crystal_block",
      "powah:nitro_crystal_block",
    ],
    "kubejs:nitro_resource_core",
    100000
  );
  
  event.recipes.powah.energizing(
    [
      "kubejs:energized_steel_core",
      "kubejs:blazing_resource_core",
      "kubejs:niotic_resource_core",
      "kubejs:spirited_resource_core",
      "kubejs:nitro_resource_core",
    ],
    "kubejs:energized_blob",
    500000
    );
    event.recipes.powah.energizing(
        ['kubejs:energized_blob'],
        'kubejs:energized_shard',
        1000000
    )

    event.recipes.powah.energizing(
    [
      "kubejs:energized_resource_shell",
      "powah:uraninite_block",
      "powah:uraninite_block",
      "powah:uraninite_block",
      "powah:uraninite_block",
      "powah:uraninite_block",
    ],
    "kubejs:uraninite_resource_core",
    100000
  );
});
