// kubejs/server_scripts/seed_empowering.js
ServerEvents.recipes(event => {
  const ENERGY = 2000
  const TIME = 100
  const COLOR = 0xFFFFFF

  const BASE = "mysticalagriculture:prosperity_seed_base"

  function empowerSeed(seedId, essenceId) {
    event.recipes.actuallyadditions
      .empowering(
        Item.of(seedId),
        BASE,
        [essenceId, essenceId, essenceId, essenceId]
      )
      .energy(ENERGY)
      .time(TIME)
      .color(COLOR)
  }

  // Seed Base (center) + 4x Essence (stands) -> Seeds
  empowerSeed("mysticalagriculture:coal_seeds",    "mysticalagriculture:coal_essence")
  empowerSeed("mysticalagriculture:copper_seeds",  "mysticalagriculture:copper_essence")
  empowerSeed("mysticalagriculture:iron_seeds",    "mysticalagriculture:iron_essence")
  empowerSeed("mysticalagriculture:gold_seeds",    "mysticalagriculture:gold_essence")
  empowerSeed("mysticalagriculture:diamond_seeds", "mysticalagriculture:diamond_essence")

  // Added
  empowerSeed("mysticalagriculture:nether_quartz_seeds", "mysticalagriculture:nether_quartz_essence")
  empowerSeed("mysticalagriculture:lapis_lazuli_seeds",  "mysticalagriculture:lapis_lazuli_essence")
  empowerSeed("mysticalagriculture:redstone_seeds",      "mysticalagriculture:redstone_essence")
  empowerSeed("mysticalagriculture:emerald_seeds",       "mysticalagriculture:emerald_essence")

  // Nickel
  empowerSeed("mysticalagriculture:nickel_seeds", "mysticalagriculture:nickel_essence")
})

