const $Gas = Java.loadClass('mekanism.api.chemical.gas.Gas')
const $GasBuilder = Java.loadClass('mekanism.api.chemical.gas.GasBuilder')
const $GasAttributes = Java.loadClass('mekanism.api.chemical.gas.attribute.GasAttributes')
const $Radiation = $GasAttributes.Radiation

StartupEvents.registry('mekanism:gas', IRRebirth => {
    IRRebirth.createCustom('kubejs:oxidized_aluminum', () => new $Gas($GasBuilder.builder().tint(0xC7C0CA)))
    IRRebirth.createCustom('kubejs:oxidized_refined_obsidian', () => new $Gas($GasBuilder.builder().tint(0x8F5CA5)))
    IRRebirth.createCustom('kubejs:oxidized_certus_quartz', () => new $Gas($GasBuilder.builder().tint(0x9FC5E8)))
    IRRebirth.createCustom('kubejs:oxidized_steel', () => new $Gas($GasBuilder.builder().tint(0x6D6D6D)))
    IRRebirth.createCustom('kubejs:oxidized_prismarine', () => new $Gas($GasBuilder.builder().tint(0x94CAB7)))
    IRRebirth.createCustom('kubejs:oxidized_lapis', () => new $Gas($GasBuilder.builder().tint(0x4662B4)))
    IRRebirth.createCustom('kubejs:oxidized_gold', () => new $Gas($GasBuilder.builder().tint(0xF7F35B)))
    IRRebirth.createCustom('kubejs:oxidized_netherite', () => new $Gas($GasBuilder.builder().tint(0x605C52)))
    IRRebirth.createCustom('kubejs:oxidized_fluix', () => new $Gas($GasBuilder.builder().tint(0x674EA7)))
    IRRebirth.createCustom('kubejs:oxidized_glowstone', () => new $Gas($GasBuilder.builder().tint(0xF6B26B)))
    IRRebirth.createCustom('kubejs:oxidized_uraninite', () => new $Gas($GasBuilder.builder().tint(0x6DD63F)))
    IRRebirth.createCustom('kubejs:oxidized_iron', () => new $Gas($GasBuilder.builder().tint(0xC3C3C3)))
    IRRebirth.createCustom('kubejs:oxidized_silver', () => new $Gas($GasBuilder.builder().tint(0x97A4AC)))
    IRRebirth.createCustom('kubejs:oxidized_uranium', () => new $Gas($GasBuilder.builder().tint(0xAAC9A0)))
    IRRebirth.createCustom('kubejs:oxidized_redstone', () => new $Gas($GasBuilder.builder().tint(0x6F2424)))
    IRRebirth.createCustom('kubejs:oxidized_emerald', () => new $Gas($GasBuilder.builder().tint(0x4CDF4C)))
    IRRebirth.createCustom('kubejs:oxidized_nether_quartz', () => new $Gas($GasBuilder.builder().tint(0xF4EBD2)))
    IRRebirth.createCustom('kubejs:oxidized_nickel', () => new $Gas($GasBuilder.builder().tint(0xD4DFD1)))
    IRRebirth.createCustom('kubejs:oxidized_electrum', () => new $Gas($GasBuilder.builder().tint(0xBF9000)))
    IRRebirth.createCustom('kubejs:oxidized_bronze', () => new $Gas($GasBuilder.builder().tint(0xF2C18F)))
    IRRebirth.createCustom('kubejs:oxidized_draconium', () => new $Gas($GasBuilder.builder().tint(0x9852EC)))
    IRRebirth.createCustom('kubejs:oxidized_diamond', () => new $Gas($GasBuilder.builder().tint(0x57FFE9)))
    IRRebirth.createCustom('kubejs:oxidized_lead', () => new $Gas($GasBuilder.builder().tint(0x799491)))
    IRRebirth.createCustom('kubejs:oxidized_constantan', () => new $Gas($GasBuilder.builder().tint(0xB06237)))
    IRRebirth.createCustom('kubejs:oxidized_brass', () => new $Gas($GasBuilder.builder().tint(0xF2AB4D)))
    IRRebirth.createCustom('kubejs:oxidized_graphite', () => new $Gas($GasBuilder.builder().tint(0x383838)))
    IRRebirth.createCustom('kubejs:oxidized_tin', () => new $Gas($GasBuilder.builder().tint(0xDDDDDD)))
    IRRebirth.createCustom('kubejs:oxidized_zinc', () => new $Gas($GasBuilder.builder().tint(0x90C3B3)))
    IRRebirth.createCustom('kubejs:oxidized_awakened_draconium', () => new $Gas($GasBuilder.builder().tint(0xFF8700)))
    IRRebirth.createCustom('kubejs:oxidized_refined_glowstone', () => new $Gas($GasBuilder.builder().tint(0xE5CA79)))
    IRRebirth.createCustom('kubejs:oxidized_copper', () => new $Gas($GasBuilder.builder().tint(0xD27513)))
    IRRebirth.createCustom('kubejs:oxidized_energized_steel', () => new $Gas($GasBuilder.builder().tint(0x9F9473)))
    IRRebirth.createCustom('kubejs:oxidized_blazing_crystal', () => new $Gas($GasBuilder.builder().tint(0xFFCB00)))
    IRRebirth.createCustom('kubejs:oxidized_niotic_crystal', () => new $Gas($GasBuilder.builder().tint(0x00C7FF)))
    IRRebirth.createCustom('kubejs:oxidized_spirited_crystal', () => new $Gas($GasBuilder.builder().tint(0x6BFD49)))
    IRRebirth.createCustom('kubejs:oxidized_nitro_crystal', () => new $Gas($GasBuilder.builder().tint(0xFD4949)))
    IRRebirth.createCustom('kubejs:oxidized_carbon', () => new $Gas($GasBuilder.builder().tint(0x454545)))
    IRRebirth.createCustom('kubejs:oxidized_fluorite', () => new $Gas($GasBuilder.builder().tint(0xD4E5E5)))
    IRRebirth.createCustom('kubejs:oxidized_amethyst', () => new $Gas($GasBuilder.builder().tint(0xAD64D8)))
    IRRebirth.createCustom('kubejs:oxidized_sky_steel', () => new $Gas($GasBuilder.builder().tint(0x424242)))
    IRRebirth.createCustom('kubejs:oxidized_quantum_alloy', () => new $Gas($GasBuilder.builder().tint(0x803C9D)))
    IRRebirth.createCustom('kubejs:oxidized_osmium', () => new $Gas($GasBuilder.builder().tint(0x9090A3)))
    IRRebirth.createCustom('kubejs:irradiated_aluminum', () => new $Gas($GasBuilder.builder().tint(0xD0E6C7)))
    IRRebirth.createCustom('kubejs:irradiated_refined_obsidian', () => new $Gas($GasBuilder.builder().tint(0x9A75B9).with(new $Radiation(0.01))))
    IRRebirth.createCustom('kubejs:irradiated_certus_quartz', () => new $Gas($GasBuilder.builder().tint(0xAEEFE0).with(new $Radiation(0.01))))
    IRRebirth.createCustom('kubejs:irradiated_steel', () => new $Gas($GasBuilder.builder().tint(0x7B8571).with(new $Radiation(0.01))))
    IRRebirth.createCustom('kubejs:irradiated_prismarine', () => new $Gas($GasBuilder.builder().tint(0x9ED9C1).with(new $Radiation(0.01))))
    IRRebirth.createCustom('kubejs:irradiated_lapis', () => new $Gas($GasBuilder.builder().tint(0x4978C4).with(new $Radiation(0.01))))
    IRRebirth.createCustom('kubejs:irradiated_gold', () => new $Gas($GasBuilder.builder().tint(0xEFFF7A).with(new $Radiation(0.01))))
    IRRebirth.createCustom('kubejs:irradiated_netherite', () => new $Gas($GasBuilder.builder().tint(0x6B665C).with(new $Radiation(0.01))))
    IRRebirth.createCustom('kubejs:irradiated_fluix', () => new $Gas($GasBuilder.builder().tint(0x7563B2).with(new $Radiation(0.01))))
    IRRebirth.createCustom('kubejs:irradiated_glowstone', () => new $Gas($GasBuilder.builder().tint(0xFAD485).with(new $Radiation(0.01))))
    IRRebirth.createCustom('kubejs:irradiated_uraninite', () => new $Gas($GasBuilder.builder().tint(0x76F54C).with(new $Radiation(0.01))))
    IRRebirth.createCustom('kubejs:irradiated_iron', () => new $Gas($GasBuilder.builder().tint(0xD3E3D0).with(new $Radiation(0.01))))
    IRRebirth.createCustom('kubejs:irradiated_silver', () => new $Gas($GasBuilder.builder().tint(0xA5B7B3).with(new $Radiation(0.01))))
    IRRebirth.createCustom('kubejs:irradiated_uranium', () => new $Gas($GasBuilder.builder().tint(0xB8E6B0).with(new $Radiation(0.01))))
    IRRebirth.createCustom('kubejs:irradiated_redstone', () => new $Gas($GasBuilder.builder().tint(0x7F3636).with(new $Radiation(0.01))))
    IRRebirth.createCustom('kubejs:irradiated_emerald', () => new $Gas($GasBuilder.builder().tint(0x61FF61).with(new $Radiation(0.01))))
    IRRebirth.createCustom('kubejs:irradiated_nether_quartz', () => new $Gas($GasBuilder.builder().tint(0xF8F5DD).with(new $Radiation(0.01))))
    IRRebirth.createCustom('kubejs:irradiated_nickel', () => new $Gas($GasBuilder.builder().tint(0xE0F5DC).with(new $Radiation(0.01))))
    IRRebirth.createCustom('kubejs:irradiated_electrum', () => new $Gas($GasBuilder.builder().tint(0xD4A800).with(new $Radiation(0.01))))
    IRRebirth.createCustom('kubejs:irradiated_bronze', () => new $Gas($GasBuilder.builder().tint(0xFAD9A6).with(new $Radiation(0.01))))
    IRRebirth.createCustom('kubejs:irradiated_draconium', () => new $Gas($GasBuilder.builder().tint(0xAA6CFA).with(new $Radiation(0.01))))
    IRRebirth.createCustom('kubejs:irradiated_diamond', () => new $Gas($GasBuilder.builder().tint(0x6DFFF5).with(new $Radiation(0.01))))
    IRRebirth.createCustom('kubejs:irradiated_lead', () => new $Gas($GasBuilder.builder().tint(0x87A9A3).with(new $Radiation(0.01))))
    IRRebirth.createCustom('kubejs:irradiated_constantan', () => new $Gas($GasBuilder.builder().tint(0xC27248).with(new $Radiation(0.01))))
    IRRebirth.createCustom('kubejs:irradiated_brass', () => new $Gas($GasBuilder.builder().tint(0xFFD466).with(new $Radiation(0.01))))
    IRRebirth.createCustom('kubejs:irradiated_graphite', () => new $Gas($GasBuilder.builder().tint(0x404D40).with(new $Radiation(0.01))))
    IRRebirth.createCustom('kubejs:irradiated_tin', () => new $Gas($GasBuilder.builder().tint(0xEBFFEB).with(new $Radiation(0.01))))
    IRRebirth.createCustom('kubejs:irradiated_zinc', () => new $Gas($GasBuilder.builder().tint(0x9FE6C3).with(new $Radiation(0.01))))
    IRRebirth.createCustom('kubejs:irradiated_awakened_draconium', () => new $Gas($GasBuilder.builder().tint(0xFFA733).with(new $Radiation(0.01))))
    IRRebirth.createCustom('kubejs:irradiated_refined_glowstone', () => new $Gas($GasBuilder.builder().tint(0xF0DD8F).with(new $Radiation(0.01))))
    IRRebirth.createCustom('kubejs:irradiated_copper', () => new $Gas($GasBuilder.builder().tint(0xE88F2C).with(new $Radiation(0.01))))
    IRRebirth.createCustom('kubejs:irradiated_energized_steel', () => new $Gas($GasBuilder.builder().tint(0xADA880).with(new $Radiation(0.01))))
    IRRebirth.createCustom('kubejs:irradiated_blazing_crystal', () => new $Gas($GasBuilder.builder().tint(0xFFD933).with(new $Radiation(0.01))))
    IRRebirth.createCustom('kubejs:irradiated_niotic_crystal', () => new $Gas($GasBuilder.builder().tint(0x1AFFEA).with(new $Radiation(0.01))))
    IRRebirth.createCustom('kubejs:irradiated_spirited_crystal', () => new $Gas($GasBuilder.builder().tint(0x7DFF5B).with(new $Radiation(0.01))))
    IRRebirth.createCustom('kubejs:irradiated_nitro_crystal', () => new $Gas($GasBuilder.builder().tint(0xFF5E5E).with(new $Radiation(0.01))))
    IRRebirth.createCustom('kubejs:irradiated_carbon', () => new $Gas($GasBuilder.builder().tint(0x4F5C4F).with(new $Radiation(0.01))))
    IRRebirth.createCustom('kubejs:irradiated_fluorite', () => new $Gas($GasBuilder.builder().tint(0xE6FFEF).with(new $Radiation(0.01))))
    IRRebirth.createCustom('kubejs:irradiated_amethyst', () => new $Gas($GasBuilder.builder().tint(0xBE76EC).with(new $Radiation(0.01))))
    IRRebirth.createCustom('kubejs:irradiated_sky_steel', () => new $Gas($GasBuilder.builder().tint(0x4C554C).with(new $Radiation(0.01))))
    IRRebirth.createCustom('kubejs:irradiated_quantum_alloy', () => new $Gas($GasBuilder.builder().tint(0x914EB0).with(new $Radiation(0.01))))
    IRRebirth.createCustom('kubejs:irradiated_osmium', () => new $Gas($GasBuilder.builder().tint(0x9AA6B0).with(new $Radiation(0.01))))
})