"use strict";

const registerBeneathBlockTags = (event) => {

	global.BENEATH_DISABLED_ITEMS.forEach(item => {
		event.removeAllTagsFrom(item)
		event.add('c:hidden_from_recipe_viewers', item)
	})


	event.add('forge:ores', 'beneath:ore/nether_cursecoal')
	event.add('forge:ores', 'beneath:ore/blackstone_sylvite')

	event.add('beneath:mushrooms', 'minecraft:red_mushroom')
	event.add('beneath:mushrooms', 'minecraft:brown_mushroom')
	event.add('beneath:poisonous_mushrooms', 'minecraft:red_mushroom')
	
    event.add('tfc:can_landslide', 'beneath:soul_clay')

	event.remove('beneath:sparks_on_sulfur')

	event.add('beneath:blackstone_decor', 'minecraft:blackstone');
	event.remove('beneath:blackstone')
}

const registerBeneathItemTags = (event) => {

	global.BENEATH_DISABLED_ITEMS.forEach(item => {
		event.removeAllTagsFrom(item)
		event.add('c:hidden_from_recipe_viewers', item)
	})

	event.add('forge:ores', 'beneath:ore/nether_cursecoal')
	event.add('forge:ores', 'beneath:ore/blackstone_sylvite')
	
	event.remove('beneath:sparks_on_sulfur')
}