
const fluidsToHide = [
	'createdieselgenerators:biodiesel',
	'createdieselgenerators:flowing_biodiesel',
	'immersiveengineering:biodiesel',
	'pneumaticcraft:biodiesel',
	'createdieselgenerators:diesel',
	'createdieselgenerators:flowing_diesel',
	'pneumaticcraft:diesel',
	'ad_astra:oil',
	'ad_astra:flowing_oil',
	'createdieselgenerators:crude_oil',
	'pneumaticcraft:oil',
	'createdieselgenerators:gasoline',
	'createdieselgenerators:flowing_gasoline',
	'pneumaticcraft:gasoline',
	'createaddition:bioethanol',
	'mekanismgenerators:bioethanol',	
	'createdieselgenerators:ethanol',
	'createdieselgenerators:flowing_ethanol',
	'pneumaticcraft:ethanol',
	'car:methanol',
	'car:canola_methanol_mix',
	'create:chocolate',
	'tfmg:sulfuric_acid',
	'artisanal:sulfuric_acid',
	'vintageimprovements:sulfuric_acid',		
	'createdieselgenerators:plant_oil',
	'createdieselgenerators:flowing_plant_oil',	
	'immersiveengineering:plantoil',	
	'pneumaticcraft:vegetable_oil',
	'tfmg:liquid_plastic',
	'tfmg:molten_plastic',
	'tfmg:lpg',
	'tfmg:flowing_lpg',
	'pneumaticcraft:kerosene',
	'pneumaticcraft:lubricant',
]

const fluidByproductsToHide = [
	'createdieselgenerators:biodiesel_bucket',
	'immersiveengineering:biodiesel_bucket',
	'pneumaticcraft:biodiesel_bucket',
	'createdieselgenerators:diesel_bucket',
	'pneumaticcraft:diesel_bucket',
	'ad_astra:oil_bucket',
	'createdieselgenerators:crude_oil_bucket',
	'pneumaticcraft:oil_bucket',
	'createdieselgenerators:gasoline_bucket',
	'pneumaticcraft:gasoline_bucket',
	'createaddition:bioethanol_bucket',
	'mekanismgenerators:bioethanol_bucket',
	'createdieselgenerators:ethanol_bucket',
	'pneumaticcraft:ethanol_bucket',
	'tfmg:sulfuric_acid_bucket',
	'artisanal:bucket/sulfuric_acid',
	'vintageimprovements:sulfuric_acid_bucket',
	'createdieselgenerators:plant_oil_bucket',
	'immersiveengineering:plantoil_bucket',	
	'pneumaticcraft:vegetable_oil_bucket',	
	'tfmg:molten_plastic_bucket',
	'tfmg:lpg_bucket',
	'pneumaticcraft:kerosene_bucket',
	'pneumaticcraft:lubricant_bucket',
]

JEIEvents.hideFluids(event => {
    fluidsToHide.forEach(id => {
        try {
            event.hide(id)
        } catch (e) {
            // This prevents one bad ID from stopping the others
            console.error(`KubeJS: Could not hide fluid ${id}`)
        }
    })
})
JEIEvents.hideItems(event => {
	fluidByproductsToHide.forEach(id => {
        try {
            event.hide(id)
        } catch (e) {
            // This prevents one bad ID from stopping the others
            console.error(`KubeJS: Could not hide fluid ${id}`)
        }
    })
})

