events.listen('item.tags', function (e) {
    //GLOBALS
    // e.remove('forge:sticks'                  , [''])
    // e.remove('forge:rods'                    , [''])
    e.remove('forge:ingots', ['exnihilosequentia:ingot_zinc', 'oreclumps:zinc_ingot', 'exnihilosequentia:ingot_nickel', 'exnihilosequentia:ingot_silver', 'exnihilosequentia:ingot_lead', 'boss_tools:steel_ingot', 'oreclumps:copper_ingot', 'tconstruct:copper_ingot', 'exnihilosequentia:ingot_copper', 'exnihilosequentia:ingot_uranium', 'oreclumps:uranium_ingot'])
    e.remove('forge:dusts', [])
    e.remove('forge:plates', ['boss_tools:iron_plate', 'createdeco:zinc_sheet', ])
    e.remove('minecraft:beacon_payment_items', ['boss_tools:steel_ingot', 'oreclumps:copper_ingot', 'tconstruct:copper_ingot', 'exnihilosequentia:ingot_copper'])
    e.remove('forge:beconpayment', ['boss_tools:steel_ingot', 'oreclumps:copper_ingot', 'tconstruct:copper_ingot', 'exnihilosequentia:ingot_copper'])
    e.remove('forge:nuggets', ['boss_tools:steel_nugget', 'tconstruct:copper_nugget', ])

    e.add('forge:nuggets', ['kubejs:steel_nugget', 'kubejs:uranium_nugget'])
    e.add('create:crushed_ores', ['kubejs:steel_crushed'])
    e.add('forge:gears', ['kubejs:steel_gear'])
    e.add('forge:rods', [])
    e.add('forge:sticks', [])
    e.add('forge:beconpayment', ['create:copper_ingot'])
    e.add('minecraft:beacon_payment_items', ['create:copper_ingot'])
    e.add('forge:dusts', ['kubejs:silver_dust'])
    e.add('forge:plates', ['kubejs:silver_sheet', 'kubejs:uranium_sheet', 'kubejs:aluminum_sheet'])

    //quartz
    e.add('forge:gems'          , ['byg:quartz_crystal'])
    e.add('forge:gems/quartz'   , ['byg:quartz_crystal'])

    //Steel
    e.remove('forge:ingots/steel'   , ['boss_tools:steel_ingot', ])
    e.remove('forge:dusts/steel'    , [])
    e.remove('forge:plates/steel'   , [])
    e.remove('forge:nuggets/steel'  , ['boss_tools:steel_nugget'])

    e.add('forge:gears/steel'   , 'kubejs:steel_gear')
    e.add('forge:nuggets/steel' , 'kubejs:steel_nugget')
    e.add('forge:rods/all_metal',[])
    e.add('forge:rods/steel'    ,[])
    e.add('forge:sticks/steel'  ,[])

    //Copper
    e.remove('forge:ingots/copper', ['oreclumps:copper_ingot', 'tconstruct:copper_ingot', 'exnihilosequentia:ingot_copper'])
    e.remove('forge:nuggets/copper', ['tconstruct:copper_nugget'])
    e.remove('forge:plates/copper', [])

    //Uranium
    e.remove('forge:ingots/uranium', ['exnihilosequentia:ingot_uranium', 'oreclumps:uranium_ingot'])
    e.remove('forge:nuggets/uranium',[])
    e.remove('forge:plates/uranium',[])

    e.remove('forge:dusts/uranium',[])

    e.add('forge:nuggets/uranium', 'kubejs:uranium_nugget')
    e.add('forge:plates/uranium', 'kubejs:uranium_sheet')

    //Lead
    e.remove('forge:ingots/lead', ['exnihilosequentia:ingot_lead'])
    e.remove('forge:dusts/lead',[])

    e.add('forge:dusts/lead', 'kubejs:lead_dust')

    //Aluminum
    e.remove('forge:ingots/aluminum', ['exnihilosequentia:ingot_aluminum'])
    e.remove('forge:plates/aluminum',[])
    e.remove('forge:dusts/aluminum',[])

    e.add('forge:/aluminum', 'kubejs:aluminum_dust')
    e.add('forge:plates/aluminum', 'kubejs:aluminum_sheet')

    //Silver
    e.remove('forge:plates/silver',[])
    e.remove('forge:dusts/silver',[])
    e.remove('forge:ingots/silver', ['exnihilosequentia:ingot_silver'])

    e.add('forge:plates/silver', 'kubejs:silver_sheet')
    e.add('forge:dusts/silver', 'kubejs:silver_dust')

    //Cobalt
    e.remove('forge:ingots/silver', 'tconstruct:cobalt_ingot')
    e.add('forge:dusts/silver', 'kubejs:cobalt_dust')

    //Nickel
    e.remove('forge:ingots/nickel', ['exnihilosequentia:ingot_nickel', ])
    e.remove('forge:dusts/nickel',[])
    e.remove('forge:plates/nickel',[])

    e.add('forge:dusts/nickel', 'kubejs:nickel_dust')
    e.add('forge:plates/nickel', 'kubejs:nickel_sheet')

    //Zinc
    e.remove('forge:ingots/zinc', ['exnihilosequentia:ingot_zinc', 'oreclumps:zinc_ingot'])
    e.remove('forge:plates/zinc', 'createdeco:zinc_sheet')

    e.add('forge:dusts/zinc', 'kubejs:zinc_dust')

    //IRON
    e.remove('forge:ingots/iron', ['boss_tools:iron_plate', ])
    e.remove('forge:rods/iron',[])
    e.remove('forge/dusts/iron',[])

    e.add('forge/dusts/iron', 'kubejs:iron_dust')

    //GOLD
    e.remove('forge:ingots/gold',[])
    e.remove('forge:dusts/gold',[])

    e.add('forge:dusts/gold', 'kubejs:gold_dust')

    //Bronze
    e.remove('forge:ingots/bronze', 'tconstruct:tinkers_bronze_ingot')
    e.remove('forge:plates/bronze', 'steampowered:bronze_sheet')

    //Craunium
    e.add('create:crushed_ores', 'kubejs:craunium_crushed')
    e.add('forge:ores/craunium', 'kubejs:craunium_raw')
    e.add('forge:crystals/craunium', 'kubejs:craunium_crystal')
    e.add('forge:dusts/craunium', 'kubejs:craunium_dust')
    e.add('forge:storage_blocks/craunium', 'kubejs:craunium_block')
    e.add('forge:nuggets/craunium', 'kubejs:craunium_nugget')
    e.add('forge:ingots/craunium', 'kubejs:craunium_ingot')
    e.add('forge:gears/craunium', 'kubejs:craunium_gear')
    e.add('forge:plates/craunium', 'kubejs:craunium_sheet')

    e.add('forge:ores', 'kubejs:craunium_raw')
    e.add('forge:crystals', 'kubejs:craunium_crystal')
    e.add('forge:dusts', 'kubejs:craunium_dust')
    e.add('forge:storage_blocks', 'kubejs:craunium_block')
    e.add('forge:nuggets', 'kubejs:craunium_nugget')
    e.add('forge:ingots', 'kubejs:craunium_ingot')
    e.add('forge:gears', 'kubejs:craunium_gear')
    e.add('forge:plates', 'kubejs:craunium_sheet')

    //
    e.remove('forge:dusts',[])
    e.add('forge:dusts', 'kubejs:hop_graphite_dust')
    e.remove('forge:dusts',[])
    e.add('forge:dusts', 'kubejs:sulfur_dust')
    e.remove('forge:dusts',[])
    e.add('forge:dusts', 'kubejs:electrum_dust')
    e.remove('forge:dusts',[])
    e.add('forge:dusts', 'kubejs:constantan_dust')
    e.remove('forge:dusts', 'createaddition:diamond_grit')
    e.add('forge:dusts', 'kubejs:diamond_dust')

    e.remove('forge:dusts/hop_graphite',[])
    e.add('forge:dusts/hop_graphite', 'kubejs:hop_graphite_dust')
    e.remove('forge:dusts/sulfur',[])
    e.add('forge:dusts/sulfur', 'kubejs:sulfur_dust')
    e.remove('forge:dusts/electrum',[])
    e.add('forge:dusts/electrum', 'kubejs:electrum_dust')
    e.remove('forge:dusts/constantan',[])
    e.add('forge:dusts/constantan', 'kubejs:constantan_dust')
    e.remove('forge:dusts/diamond', 'createaddition:diamond_grit')
    e.add('forge:dusts/diamond', 'kubejs:diamond_dust')
})