ServerEvents.tags('item', event => {
  event.add('wasteland:coal_blocks', ['minecraft:coal_block', 'mekanism:block_charcoal', 'immersiveengineering:coke'])
  event.add('wasteland:cakes', ['minecraft:cake', 'farmersdelight:sweet_berry_cheesecake', 'farmersdelight:apple_pie', 'farmersdelight:chocolate_pie'])

  event.remove('minecraft:small_flowers', ['#botania:mystical_flowers', '#botania:special_flowers', 'botania:hydroangeas_motif', 'farmersdelight:wild_cabbages', 'farmersdelight:wild_onions', 'farmersdelight:wild_tomatoes', 'farmersdelight:wild_carrots', 'farmersdelight:wild_potatoes', 'farmersdelight:wild_beetroots'])
  event.remove('minecraft:tall_flowers', ['#botania:double_mystical_flowers', 'farmersdelight:wild_rice'])
})

ServerEvents.recipes(event => {
  event.replaceInput({id: 'botania:runic_altar/earth'}, 'minecraft:coal_block', '#wasteland:coal_blocks')
  event.replaceInput({id: 'botania:runic_altar/air'}, 'minecraft:feather', 'minecraft:glass_bottle')
  event.replaceInput({id: 'botania:runic_altar/winter'}, 'minecraft:cake', '#wasteland:cakes')

  event.replaceInput({id: 'botania:lexicon'}, 'minecraft:book', 'minecraft:paper')
  event.replaceInput({id: 'botania:lexicon'}, '#minecraft:saplings', '#botania:mystical_flowers')

  event.remove({id: 'botania:mana_spreader'})
  event.shaped(
    'botania:mana_spreader',
    [
      "WWW",
      "WP ",
      "WWW"
    ],
    {
      P: '#botania:petals',
      W: '#botania:livingwood_logs'
    }
  )

  event.recipes.botania.orechid("ae2:sky_stone_block", "minecraft:deepslate", 16)
})