ServerEvents.recipes(event => {

  // Remove vanilla slimeball recipe if needed (optional)
  event.remove({ output: 'minecraft:slime_ball' })

  // Add custom recipe: 3 banana slug slime → 1 slime ball
  event.shapeless(
    Item.of('minecraft:slime_ball', 1), // Output: 1 slime ball
    [
      'alexsmobs:banana_slug_slime',
      'alexsmobs:banana_slug_slime',
      'alexsmobs:banana_slug_slime'
    ]
  )

})

// Listen for recipe events
ServerEvents.recipes(event => {

  // Remove vanilla Blaze Rod recipe (optional, keeps players from bypassing)
  event.remove({ output: 'minecraft:blaze_rod' })

  // Add custom shaped recipe
  event.shaped(
    Item.of('minecraft:blaze_rod', 3), // Output: 3 Blaze Rods
    [
      'GGG',
      'GLG',
      'GGG'
    ],
    {
      G: 'minecraft:gold_ingot',    // Gold ingots around
      L: 'minecraft:lava_bucket'    // Lava bucket in the center
    }
  )

})

ServerEvents.recipes(event => {

  // Remove vanilla Glowstone (optional)
  event.remove({ output: 'minecraft:glowstone' })

  // Add custom shaped recipe
  event.shaped(
    Item.of('minecraft:glowstone', 1), // Output: 1 Glowstone block
    [
      'GCG',
      'CBC',
      'GCG'
    ],
    {
      G: 'minecraft:glow_ink_sac',  // Glow Ink Sack in corners
      B: 'minecraft:blaze_powder',  // Blaze Powder in the center
      C: 'minecraft:cobblestone'    // Cobblestone filler
    }
  )

})

