// priority: 0

settings.logAddedRecipes = true
settings.logRemovedRecipes = true
settings.logSkippedRecipes = false
settings.logErroringRecipes = true

console.info('Hello, World! (You will see this line every time server resources reload)')

onEvent('recipes', event => {
  // Change recipes here
  
  //Replace Recipe for Apirary
  event.remove({id: 'resourcefulbees:t1_apiary'})  
  event.shaped('1x resourcefulbees:t1_apiary', [
    'PHP',
    'HNH',
    'PHP'
  ], {
    P: 'minecraft:end_stone',
	N: 'minecraft:nether_star',
	H: 'resourcefulbees:t4_beehive'
  })
  
  event.remove({id: 'resourcefulbees:t4_beehive_nests'})  
  event.shaped('1x resourcefulbees:t4_beehive', [
    'CHC',
    'HBH',
    'CHC'
  ], {
    C: 'resourcefulbees:gold_honeycomb_block',
	B: 'minecraft:honey_block',
	H: 'resourcefulbees:t3_beehive'
  })
  
  event.remove({id: 'resourcefulbees:t3_beehive_nests'})  
  event.shaped('1x resourcefulbees:t3_beehive', [
    'CHC',
    'HBH',
    'CHC'
  ], {
    C: 'resourcefulbees:iron_honeycomb_block',
	B: 'minecraft:honey_block',
	H: 'resourcefulbees:t2_beehive'
  })
  
  event.remove({id: 'resourcefulbees:t2_beehive_nests'})  
  event.shaped('1x resourcefulbees:t2_beehive', [
    'CHC',
    'HBH',
    'CHC'
  ], {
    C: 'resourcefulbees:coal_honeycomb_block',
	B: 'minecraft:honey_block',
	H: 'resourcefulbees:t1_beehive'
  })
  
  event.remove({id: 'resourcefulbees:t1_beehive'})  
  event.shaped('1x resourcefulbees:t1_beehive', [
    'CCC',
    'CHC',
    'CCC'
  ], {
    C: 'minecraft:honeycomb_block',
	H: '#minecraft:beehives',
  })
  
  
  //Replace Recipe for honey generator
  event.replaceInput({id: 'resourcefulbees:honey_generator'}, 'minecraft:redstone', 'create:refined_radiance')
})

onEvent('item.tags', event => {

})