
StartupEvents.registry("item",event=>{
    event.create("mcgougou:fire_starter","basic").unstackable()
    event.create("mcgougou:unfired_bucket","basic")
    event.create("mcgougou:bucket_with_stone","basic")
    event.create("mcgougou:unfinished_lava_bucket_33","basic")
    event.create("mcgougou:unfinished_lava_bucket_66","basic")
    event.create("mcgougou:moon_marker","basic")
    event.create("mcgougou:mars_marker","basic")
    const gtlevel = ["ulv", "lv", "mv", "hv", "ev", "iv", "luv", "zpm", "uv", "uhv"]
    gtlevel.forEach((u_circuit) => {
        event.create("mcgougou:"+ u_circuit + "_universal_circuit")
            .tag("gtceu:circuits/" + u_circuit)
            .displayName(u_circuit.toUpperCase() + "通用电路板")
    })
    // event.create("mcgougou:plant_ash")
})
const $WireProperty = Java.loadClass('com.gregtechceu.gtceu.api.data.chemical.material.properties.WireProperties');


GTCEuStartupEvents.registry('gtceu:material', event =>{
   event.create('plant_dust')
        .dust()
        .components('1x gtceu:potassium_carbonate','1x gtceu:calcium_carbonate','1x gtceu:silicon_dioxide')
        .color(0x5B5E71).iconSet(GTMaterialIconSet.DULL)
        .flags(GTMaterialFlags.DISABLE_DECOMPOSITION)
        .flags(GTMaterialFlags.DECOMPOSITION_BY_CENTRIFUGING)
    event.create('anthracite_coal')
        .dust()
        .element(GTElements.C)
        .burnTime(20*10*32)
        .color(0x4B5054).iconSet(GTMaterialIconSet.DULL)
    event.create('caf2')
        .dust()
        .formula("CaF₂")
        .color(0x9966CC).iconSet(GTMaterialIconSet.METALLIC)
    event.create('cryolite')
        .dust()
        .ore(4,4,false)
        .components("3x gtceu:sodium","1x gtceu:aluminium","6x gtceu:fluorine")
        .color(0xE8EAEB).iconSet(GTMaterialIconSet.DULL)
.flags(GTMaterialFlags.DISABLE_DECOMPOSITION)
event.create('aluminium_oxide_with_cryolite')
        .dust()
        .liquid(1223)
        .formula("(Al₂O₃)(Na₃AlF₆)")
        .color(0xADD8E6).iconSet(GTMaterialIconSet.DULL)
event.create('aluminium_with_pyrolusite')
        .dust()
        .formula("(Al)(MnO₂)")
        .color(0x5A5A58).iconSet(GTMaterialIconSet.DULL)
event.create('xinjinchuzha')
        .dust()
        .formula("(ZnFe₂O₄)(???)")
        .color(0x76180B).iconSet(GTMaterialIconSet.DULL)

event.create('manganese_monoxide')
        .dust()
        .components('1x gtceu:manganese',"1x gtceu:oxygen")
        .flags(GTMaterialFlags.DISABLE_DECOMPOSITION)
        .color(0x8A9A5B).iconSet(GTMaterialIconSet.DULL)
event.create('manganese_sulfate_solution')
        .liquid(293)
        .formula("(MnSO₄)(H₂O)")
        .color(0xF5CED9).iconSet(GTMaterialIconSet.DULL)
event.create('vanadium_slag')
        .dust()
        .formula("(FeO)(SiO₂)(V?)")
        .color(0x3A3A38).iconSet(GTMaterialIconSet.DULL)
event.create('vanadium_leaching_residue')
        .dust()
        .color(0x8B5A2B).iconSet(GTMaterialIconSet.DULL)
event.create('d4')
        .liquid(293)
        .formula("C₈H₂₄O₄Si₄")
        .color(0xF7F9FA).iconSet(GTMaterialIconSet.DULL)
event.create('jiajiyixijishengjiao')
        .liquid(293)
        .formula("[(CH₃)₂SiO]ₙ[CH₂=CH(CH₃)SiO]ₘ")
        .color(0xE8F0F5).iconSet(GTMaterialIconSet.DULL)
event.create('iron_based_catalyst')
        .dust()
        .color(0x2D2D2D).iconSet(GTMaterialIconSet.DULL)
event.create('zncl2')
        .dust()
        .color(0x2D2D24).iconSet(GTMaterialIconSet.DULL)
event.create('ammonium_metavanadate')
        .dust()
        .formula("NH₄VO₃")
        .color(0xFAF3D0).iconSet(GTMaterialIconSet.DULL)
event.create('vanadium_pentoxide')
        .ingot()
        .flags(GTMaterialFlags.FLAMMABLE)
        .formula("V₂O₅")
        .color(0xF7B53C).iconSet(GTMaterialIconSet.ROUGH)
event.create('pt10rh')
        .ingot()
        .flags(GTMaterialFlags.FLAMMABLE)
        .formula("PtRh")
        .color(0xFBEBE0).iconSet(GTMaterialIconSet.ROUGH)
event.create('aluminum_hydroxide')
        .dust()
        .formula("Al(OH)₃")
        .color(0xF5F5F5).iconSet(GTMaterialIconSet.DULL)
event.create('aluminum_oxide')
        .dust()
        .formula("Al₂O₃")
        .color(0xD3D3D3).iconSet(GTMaterialIconSet.DULL)
event.create('al_ga_oh_3')
        .dust()
        .formula("(Al(OH)₃)(Ga(OH)₃)")
        .color(0xD3D3D3).iconSet(GTMaterialIconSet.DULL)
event.create('fujiazha')
        .dust()
        .formula("(Ga(OH)₃)(?)")
        .color(0xC0C0C0).iconSet(GTMaterialIconSet.DULL)
event.create('fujiajianjinzha')
        .dust()
        .color(0xA9A9A9).iconSet(GTMaterialIconSet.DULL)
event.create('gesuanna')
        .dust()
        .formula("Na₂CrO₄")
        .color(0xFFA500).iconSet(GTMaterialIconSet.DULL)
event.create('zhonggesuanna')
        .dust()
        .formula("Na₂Cr₂O₇")
        .color(0xFFD700).iconSet(GTMaterialIconSet.DULL)
event.create('na2so4')
        .dust()
        .formula("Na₂SO₄")
        .color(0xF9F9F9).iconSet(GTMaterialIconSet.DULL)
event.create('cr2o3')
        .dust()
        .formula("Cr₂O₃")
        .color(0x006400).iconSet(GTMaterialIconSet.DULL)
event.create('moo2cl2')
        .gas(432).dust()
        .formula("MoO₂Cl₂")
        .color(0xFFB833).iconSet(GTMaterialIconSet.DULL)
event.create('wusuanna')
        .dust()
        .formula("Na₂WO₄")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)
event.create('pure_wusuan')
        .dust()
        .formula("H₂WO₄")
        .color(0xFCFB9F).iconSet(GTMaterialIconSet.DULL)
        event.create('wo2')
        .dust()
        .formula("WO₂")
        .color(0x7E7D29).iconSet(GTMaterialIconSet.DULL)
event.create('wo3')
        .dust()
        .formula("WO₃")
        .color(0xBEBC3D).iconSet(GTMaterialIconSet.DULL)
event.create('moo3')
        .dust()
        .formula("MoO₃")
        .color(0x787878).iconSet(GTMaterialIconSet.DULL)
event.create('pure_moo3')
        .dust()
        .formula("MoO₃")
        .color(0x919191).iconSet(GTMaterialIconSet.DULL)
event.create('moo2')
        .dust()
        .formula("MoO₃")
        .color(0xAAAAAA).iconSet(GTMaterialIconSet.DULL)
event.create('vanadium_containing_leaching_solution')
        .liquid(293)
        .formula("(NaVO₃)(H₂O)(?)")
        .color(0xFFE4B5).iconSet(GTMaterialIconSet.DULL)
event.create('rock_salt_solution')
        .liquid(293)
        .formula("(KCl)(H₂O)")
        .color(0xFFFFFA).iconSet(GTMaterialIconSet.DULL)
event.create('bayer_solution')
        .liquid(293)
        .formula("(NaOH)(Na[Al(OH)₄])(Na[Ga(OH)₄])(???)(H₂O)")
        .color(0xA67C52).iconSet(GTMaterialIconSet.DULL)
event.create('ca_aloh4_solution')
        .liquid(293)
        .formula("(Ca[Al(OH)₄]₂)(H₂O)")
        .color(0xA67C52).iconSet(GTMaterialIconSet.DULL)
event.create('raw_nagaoh4_solution')
        .liquid(293)
        .formula("(Na[Ga(OH)₄])(?)(H₂O)")
        .color(0xF0F8FF).iconSet(GTMaterialIconSet.DULL)
event.create('nagaoh4_solution')
        .liquid(293)
        .formula("(Na[Ga(OH)₄])(H₂O)")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)
event.create('caoh2_solution')
        .liquid(293)
        .formula("(Ca(OH)₂)(H₂O)")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)
event.create('mgcl2_solution')
        .liquid(293)
        .formula("(MgCl₂)(H₂O)")
        .color(0xF7FBFF).iconSet(GTMaterialIconSet.DULL)
event.create('mgcl2_molten')
        .liquid(987)
        .formula("MgCl₂")
        .color(0xF5F5DC).iconSet(GTMaterialIconSet.DULL)
event.create('nacl_molten')
        .liquid(1074)
        .formula("NaCl")
        .color(0xF8F4E8).iconSet(GTMaterialIconSet.DULL)
event.create('k_gas')
        .gas(1032)
        .formula("K")
        .color(0xD8D2F0).iconSet(GTMaterialIconSet.DULL)
event.create('ca_gas')
        .gas(1757)
        .formula("Ca")
        .color(0xD46B30).iconSet(GTMaterialIconSet.DULL)
event.create('raw_sihcl3')
        .liquid(293)
        .formula("(SiHCl₃)(SiCl₄)(?)")
        .color(0xF8F3D6).iconSet(GTMaterialIconSet.DULL)
event.create('sihcl3')
        .liquid(293)
        .formula("SiHCl₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)
event.create('ch2cl2')
        .liquid(293)
        .formula("CH₂Cl₂")
        .color(0x87287A).iconSet(GTMaterialIconSet.DULL)
event.create('ccl4')
        .liquid(293)
        .formula("CCl₄")
        .color(0x672A92).iconSet(GTMaterialIconSet.DULL)
event.create('chxclx_mix')
        .liquid(293)
        .formula("(CH₃Cl)(CH₂Cl₂)(CHCl₃)(CCl₄)")
        .color(0x7F2980).iconSet(GTMaterialIconSet.DULL)
event.create('pure_si')
        .ingot().element(GTElements.Si)
        .flags(GTMaterialFlags.FLAMMABLE)
        .color(0x5C5C61).iconSet(GTMaterialIconSet.SHINY)
event.create('white_p')
        .dust().element(GTElements.P)
        .color(0xFFF8D7).iconSet(GTMaterialIconSet.DULL)
event.create('luzha')
        .dust()
        .color(0xA0826D).iconSet(GTMaterialIconSet.DULL)
event.create('sbcl5')
        .liquid(293)
        .formula("SbCl₅")
        .color(0xE6D5B8).iconSet(GTMaterialIconSet.DULL)
event.create('nh42s2o8')
        .liquid(293)
        .formula("(NH₄)₂S₂O₈")
        .color(0xF9FBFD).iconSet(GTMaterialIconSet.DULL)
event.create('ch4_l')
        .liquid(111)
        .formula("CH₄")
        .color(0xB30C56).iconSet(GTMaterialIconSet.DULL)
event.create('pure_ch4')
        .gas(293)
        .formula("CH₄")
        .color(0xC10050).iconSet(GTMaterialIconSet.DULL)
event.create('pure_ch4_l')
        .liquid(111)
        .formula("CH₄")
        .color(0xC10050).iconSet(GTMaterialIconSet.DULL)
event.create('tier1_rocket_fuel')
        .liquid(85)
        .formula("(CH₄)(O₂)")
        .color(0x8C3A84).iconSet(GTMaterialIconSet.DULL)
event.create('tier2_rocket_fuel')
        .liquid(273)
        .formula("(C₂H₈N₂)(N₂O₄)")
        .color(0x0D245C).iconSet(GTMaterialIconSet.DULL)
event.create('nh4hso4')
        .liquid(293)
        .formula("NH₄HSO₄")
        .color(0xF9FCFF).iconSet(GTMaterialIconSet.DULL)
event.create('chclf2')
        .gas(293)
        .formula("CHClF₂")
        .color(0xF4F8FA).iconSet(GTMaterialIconSet.DULL)
event.create('h2o_chclf2')
        .gas(293)
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)
event.create('raw_ticl4')
        .liquid(293)
        .formula("(TiCl₄)(?)")
        .color(0x86322E).iconSet(GTMaterialIconSet.DULL)
event.create('boxi_cl')
        .liquid(293)
        .formula("H[?Cl₄]")
        .color(0x381E1B).iconSet(GTMaterialIconSet.DULL)
event.create('boxi_cl_out_ruos')
        .liquid(293)
        .formula("H[?Cl₄]")
        .color(0x381E1B).iconSet(GTMaterialIconSet.DULL)
event.create('boxi_cl_out_3')
        .liquid(293)
        .formula("H[?Cl₄]")
        .color(0x381E1B).iconSet(GTMaterialIconSet.DULL)
event.create('boxi_cl_out_4')
        .liquid(293)
        .formula("H[?Cl₄]")
        .color(0x381E1B).iconSet(GTMaterialIconSet.DULL)
event.create('pcl3')
        .liquid(293)
        .formula("PCl₃")
        .color(0xD4E8D8).iconSet(GTMaterialIconSet.DULL)
event.create('xinxiquan')
        .liquid(293)
        .formula("C₈H₁₄O")
        .color(0xFFF2D0).iconSet(GTMaterialIconSet.DULL)
event.create('yixinchun')
        .liquid(293)
        .formula("C₈H₁₈O")
        .color(0xFFF7E8).iconSet(GTMaterialIconSet.DULL)
event.create('ruoso4_gas')
        .gas(380)
        .formula("(RuO₄)(OsO₄)")
        .color(0x728251).iconSet(GTMaterialIconSet.DULL)
event.create('hrucl')
        .liquid(293)
        .formula("H₂[RuCl₆]")
        .color(0x602060).iconSet(GTMaterialIconSet.DULL)
event.create('hrhcl')
        .liquid(293)
        .formula("H₂[RhCl₆]")
        .color(0x992835).iconSet(GTMaterialIconSet.DULL)
event.create('hoscl')
        .liquid(293)
        .formula("H₂[OsCl₆]")
        .color(0x7C2424).iconSet(GTMaterialIconSet.DULL)
event.create('na2oso4')
        .liquid(293)
        .formula("Na₂OsO₄")
        .color(0xA64B2A).iconSet(GTMaterialIconSet.DULL)
event.create('nh4os')
        .dust()
        .formula("(NH₄)₂[OsCl₆]")
        .color(0x702020).iconSet(GTMaterialIconSet.DULL)
event.create('nh4ru')
        .dust()
        .formula("(NH₄)₂[RuCl₆]")
        .color(0x5A235A).iconSet(GTMaterialIconSet.DULL)
event.create('nh4pt')
        .dust()
        .formula("(NH₄)₂[PtCl₆]")
        .color(0xD8AF26).iconSet(GTMaterialIconSet.DULL)
event.create('nh4ir')
        .dust()
        .formula("(NH₄)₂[IrCl₆]")
        .color(0x1F1A1C).iconSet(GTMaterialIconSet.DULL)
event.create('nh4rh')
        .dust()
        .formula("(NH₄)₂[RhCl₆]")
        .color(0x1F1A1C).iconSet(GTMaterialIconSet.DULL)
event.create('bi2o3')
        .dust()
        .formula("Bi₂O₃")
        .color(0xEEEEEE).iconSet(GTMaterialIconSet.DULL)
event.create('pdoh')
        .dust()
        .formula("Pd(OH)₂")
        .color(0x444444).iconSet(GTMaterialIconSet.DULL)
event.create('re2so43')
        .dust()
        .formula("RE₂(SO₄)₃")
        .color(0xDC9747).iconSet(GTMaterialIconSet.DULL)
        event.create('reoh3')
        .dust()
        .formula("RE(OH)₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)
event.create('sccl3')
        .liquid(293)
        .formula("ScCl₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('lacl3')
        .liquid(293)
        .formula("LaCl₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('cecl3')
        .liquid(293)
        .formula("CeCl₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('prcl3')
        .liquid(293)
        .formula("PrCl₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('ndcl3')
        .liquid(293)
        .formula("NdCl₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('smcl3')
        .liquid(293)
        .formula("SmCl₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('eucl3')
        .liquid(293)
        .formula("EuCl₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('gdcl3')
        .liquid(293)
        .formula("GdCl₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('tbcl3')
        .liquid(293)
        .formula("TbCl₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('dycl3')
        .liquid(293)
        .formula("DyCl₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('hocl3')
        .liquid(293)
        .formula("HoCl₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('ercl3')
        .liquid(293)
        .formula("ErCl₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('tmcl3')
        .liquid(293)
        .formula("TmCl₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('ybcl3')
        .liquid(293)
        .formula("YbCl₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('lucl3')
        .liquid(293)
        .formula("LuCl₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('ycl3')
        .liquid(293)
        .formula("YCl₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)
event.create('scco3')
        .dust()
        .formula("Sc₂(CO₃)₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('laco3')
        .dust()
        .formula("La₂(CO₃)₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('ceco3')
        .dust()
        .formula("Ce₂(CO₃)₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('prco3')
        .dust()
        .formula("Pr₂(CO₃)₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('ndco3')
        .dust()
        .formula("Nd₂(CO₃)₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('smco3')
        .dust()
        .formula("Sm₂(CO₃)₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('euco3')
        .dust()
        .formula("Eu₂(CO₃)₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('gdco3')
        .dust()
        .formula("Gd₂(CO₃)₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('tbco3')
        .dust()
        .formula("Tb₂(CO₃)₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('dyco3')
        .dust()
        .formula("Dy₂(CO₃)₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('hoco3')
        .dust()
        .formula("Ho₂(CO₃)₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('erco3')
        .dust()
        .formula("Er₂(CO₃)₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('tmco3')
        .dust()
        .formula("Tm₂(CO₃)₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('ybco3')
        .dust()
        .formula("Yb₂(CO₃)₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('luco3')
        .dust()
        .formula("Lu₂(CO₃)₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('yco3')
        .dust()
        .formula("Y₂(CO₃)₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)
event.create('recl3')
        .liquid(293)
        .formula("RECl₃")
        .color(0x7B9173).iconSet(GTMaterialIconSet.DULL)
event.create('sc2o3')
        .dust()
        .formula("Sc₂O₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('la2o3')
        .dust()
        .formula("La₂O₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('ce2o3')
        .dust()
        .formula("Ce₂O₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('pr2o3')
        .dust()
        .formula("Pr₂O₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('nd2o3')
        .dust()
        .formula("Nd₂O₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('sm2o3')
        .dust()
        .formula("Sm₂O₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('eu2o3')
        .dust()
        .formula("Eu₂O₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('gd2o3')
        .dust()
        .formula("Gd₂O₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('tb2o3')
        .dust()
        .formula("Tb₂O₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('dy2o3')
        .dust()
        .formula("Dy₂O₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('ho2o3')
        .dust()
        .formula("Ho₂O₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('er2o3')
        .dust()
        .formula("Er₂O₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('tm2o3')
        .dust()
        .formula("Tm₂O₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('yb2o3')
        .dust()
        .formula("Yb₂O₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('lu2o3')
        .dust()
        .formula("Lu₂O₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)

event.create('y2o3')
        .dust()
        .formula("Y₂O₃")
        .color(0xFFFFFF).iconSet(GTMaterialIconSet.DULL)
event.create('lvsuangai')
        .dust()
        .formula("CaO·Al₂O₃")
        .color(0x919191).iconSet(GTMaterialIconSet.DULL)
event.create('hhmy')
        .liquid(293)
        .color(0xF8FAFC).iconSet(GTMaterialIconSet.DULL)
event.create('pdnh3cl')
        .dust()
        .formula("Pd(NH₃)₂Cl₂")
        .color(0xD4AF37).iconSet(GTMaterialIconSet.DULL)
event.create('bingtongliandan')
        .liquid(293)
        .formula("C₆H₁₂N₂")
        .color(0xF7F9FA).iconSet(GTMaterialIconSet.DULL)
event.create('lvdaiyixinwan')
        .liquid(293)
        .formula("C₈H₁₇Cl")
        .color(0xE6E8EB).iconSet(GTMaterialIconSet.DULL)
        event.create('yichunna')
        .dust()
        .formula("C₂H₅ONa")
        .color(0xF5F2EF)
        .iconSet(GTMaterialIconSet.DULL);
        event.create('linsuaneryixingxinzhi')
        .liquid(293)
        .formula("C₁₆H₃₅O₃P")
        .color(0xEFF5FC)
        .iconSet(GTMaterialIconSet.DULL);
        event.create('p507nayan')
        .liquid(293)
        .formula("C₁₆H₃₄NaO₃P")
        .color(0xE4EEF7)
        .iconSet(GTMaterialIconSet.DULL);
event.create('p507')
        .liquid(293)
        .formula("C₁₆H₃₅O₃P")
        .color(0xEDF4FB)
        .iconSet(GTMaterialIconSet.DULL);
        event.create('yalinsuaneryixingxinzhi')
        .liquid(293)
        .formula("C₁₆H₃₅O₃P")
        .color(0xF0F6FC)
        .iconSet(GTMaterialIconSet.DULL);
        event.create('yalinsuaneryixingxinzhina')
        .liquid(293)
        .formula("C₁₆H₃₄NaO₃P")
        .color(0xE8F0F8)
        .iconSet(GTMaterialIconSet.DULL);
event.create('n2h4h2o')
        .liquid(293)
        .formula("N₂H₄・H₂O")
        .color(0xF8FAFC).iconSet(GTMaterialIconSet.DULL)
event.create('rocket_1_material')
.ingot()
        .color(0x716F71).iconSet(GTMaterialIconSet.BRIGHT)
        .flags(GTMaterialFlags.GENERATE_PLATE).flags(GTMaterialFlags.GENERATE_BOLT_SCREW).flags(GTMaterialFlags.GENERATE_ROD).flags(GTMaterialFlags.GENERATE_DENSE)
        .flags(GTMaterialFlags.GENERATE_GEAR).flags(GTMaterialFlags.GENERATE_FRAME).flags(GTMaterialFlags.GENERATE_RING).flags(GTMaterialFlags.GENERATE_SPRING)
        .flags(GTMaterialFlags.GENERATE_LONG_ROD)
event.create('rocket_2_material')
.ingot()
        .color(0xD38B4C).iconSet(GTMaterialIconSet.BRIGHT)
        .flags(GTMaterialFlags.GENERATE_PLATE).flags(GTMaterialFlags.GENERATE_BOLT_SCREW).flags(GTMaterialFlags.GENERATE_ROD).flags(GTMaterialFlags.GENERATE_DENSE)
        .flags(GTMaterialFlags.GENERATE_GEAR).flags(GTMaterialFlags.GENERATE_FRAME).flags(GTMaterialFlags.GENERATE_RING).flags(GTMaterialFlags.GENERATE_SPRING)
        .flags(GTMaterialFlags.GENERATE_LONG_ROD)
event.create('pr')
.ingot()
        .color(0x8FA860).iconSet(GTMaterialIconSet.DULL).element(GTElements.Pr).liquid(1208)
        .flags(GTMaterialFlags.GENERATE_PLATE).flags(GTMaterialFlags.GENERATE_BOLT_SCREW).flags(GTMaterialFlags.GENERATE_ROD).flags(GTMaterialFlags.GENERATE_DENSE)
        .flags(GTMaterialFlags.GENERATE_GEAR).flags(GTMaterialFlags.GENERATE_FRAME).flags(GTMaterialFlags.GENERATE_RING).flags(GTMaterialFlags.GENERATE_SPRING)
        .flags(GTMaterialFlags.GENERATE_LONG_ROD)
event.create('pm')
.ingot()
        .color(0xB55448).iconSet(GTMaterialIconSet.DULL).element(GTElements.Pm).liquid(1315)
        .flags(GTMaterialFlags.GENERATE_PLATE).flags(GTMaterialFlags.GENERATE_BOLT_SCREW).flags(GTMaterialFlags.GENERATE_ROD).flags(GTMaterialFlags.GENERATE_DENSE)
        .flags(GTMaterialFlags.GENERATE_GEAR).flags(GTMaterialFlags.GENERATE_FRAME).flags(GTMaterialFlags.GENERATE_RING).flags(GTMaterialFlags.GENERATE_SPRING)
        .flags(GTMaterialFlags.GENERATE_LONG_ROD)
event.create('gd')
.ingot()
        .color(0x8FA0A8).iconSet(GTMaterialIconSet.DULL).element(GTElements.Gd).liquid(1586)
        .flags(GTMaterialFlags.GENERATE_PLATE).flags(GTMaterialFlags.GENERATE_BOLT_SCREW).flags(GTMaterialFlags.GENERATE_ROD).flags(GTMaterialFlags.GENERATE_DENSE)
        .flags(GTMaterialFlags.GENERATE_GEAR).flags(GTMaterialFlags.GENERATE_FRAME).flags(GTMaterialFlags.GENERATE_RING).flags(GTMaterialFlags.GENERATE_SPRING)
        .flags(GTMaterialFlags.GENERATE_LONG_ROD)
event.create('tb')
.ingot()
        .color(0x5FA88A).iconSet(GTMaterialIconSet.DULL).element(GTElements.Tb).liquid(1629)
        .flags(GTMaterialFlags.GENERATE_PLATE).flags(GTMaterialFlags.GENERATE_BOLT_SCREW).flags(GTMaterialFlags.GENERATE_ROD).flags(GTMaterialFlags.GENERATE_DENSE)
        .flags(GTMaterialFlags.GENERATE_GEAR).flags(GTMaterialFlags.GENERATE_FRAME).flags(GTMaterialFlags.GENERATE_RING).flags(GTMaterialFlags.GENERATE_SPRING)
        .flags(GTMaterialFlags.GENERATE_LONG_ROD)
event.create('dy')
.ingot()
        .color(0xD8A85A).iconSet(GTMaterialIconSet.DULL).element(GTElements.Dy).liquid(1685)
        .flags(GTMaterialFlags.GENERATE_PLATE).flags(GTMaterialFlags.GENERATE_BOLT_SCREW).flags(GTMaterialFlags.GENERATE_ROD).flags(GTMaterialFlags.GENERATE_DENSE)
        .flags(GTMaterialFlags.GENERATE_GEAR).flags(GTMaterialFlags.GENERATE_FRAME).flags(GTMaterialFlags.GENERATE_RING).flags(GTMaterialFlags.GENERATE_SPRING)
        .flags(GTMaterialFlags.GENERATE_LONG_ROD)
event.create('ho')
.ingot()
        .color(0xC97258).iconSet(GTMaterialIconSet.DULL).element(GTElements.Ho).liquid(1747)
        .flags(GTMaterialFlags.GENERATE_PLATE).flags(GTMaterialFlags.GENERATE_BOLT_SCREW).flags(GTMaterialFlags.GENERATE_ROD).flags(GTMaterialFlags.GENERATE_DENSE)
        .flags(GTMaterialFlags.GENERATE_GEAR).flags(GTMaterialFlags.GENERATE_FRAME).flags(GTMaterialFlags.GENERATE_RING).flags(GTMaterialFlags.GENERATE_SPRING)
        .flags(GTMaterialFlags.GENERATE_LONG_ROD)
event.create('er')
.ingot()
        .color(0xB58FA8).iconSet(GTMaterialIconSet.DULL).element(GTElements.Er).liquid(1802)
        .flags(GTMaterialFlags.GENERATE_PLATE).flags(GTMaterialFlags.GENERATE_BOLT_SCREW).flags(GTMaterialFlags.GENERATE_ROD).flags(GTMaterialFlags.GENERATE_DENSE)
        .flags(GTMaterialFlags.GENERATE_GEAR).flags(GTMaterialFlags.GENERATE_FRAME).flags(GTMaterialFlags.GENERATE_RING).flags(GTMaterialFlags.GENERATE_SPRING)
        .flags(GTMaterialFlags.GENERATE_LONG_ROD)
event.create('tm')
.ingot()
        .color(0x7368A8).iconSet(GTMaterialIconSet.DULL).element(GTElements.Tm).liquid(1818)
        .flags(GTMaterialFlags.GENERATE_PLATE).flags(GTMaterialFlags.GENERATE_BOLT_SCREW).flags(GTMaterialFlags.GENERATE_ROD).flags(GTMaterialFlags.GENERATE_DENSE)
        .flags(GTMaterialFlags.GENERATE_GEAR).flags(GTMaterialFlags.GENERATE_FRAME).flags(GTMaterialFlags.GENERATE_RING).flags(GTMaterialFlags.GENERATE_SPRING)
        .flags(GTMaterialFlags.GENERATE_LONG_ROD)
event.create('yb')
.ingot()
        .color(0xA8B5BE).iconSet(GTMaterialIconSet.DULL).element(GTElements.Yb).liquid(1092)
        .flags(GTMaterialFlags.GENERATE_PLATE).flags(GTMaterialFlags.GENERATE_BOLT_SCREW).flags(GTMaterialFlags.GENERATE_ROD).flags(GTMaterialFlags.GENERATE_DENSE)
        .flags(GTMaterialFlags.GENERATE_GEAR).flags(GTMaterialFlags.GENERATE_FRAME).flags(GTMaterialFlags.GENERATE_RING).flags(GTMaterialFlags.GENERATE_SPRING)
        .flags(GTMaterialFlags.GENERATE_LONG_ROD)
event.create('sc')
.ingot()
        .color(0x8FA88F).iconSet(GTMaterialIconSet.DULL).element(GTElements.Sc).liquid(1814)
        .flags(GTMaterialFlags.GENERATE_PLATE).flags(GTMaterialFlags.GENERATE_BOLT_SCREW).flags(GTMaterialFlags.GENERATE_ROD).flags(GTMaterialFlags.GENERATE_DENSE)
        .flags(GTMaterialFlags.GENERATE_GEAR).flags(GTMaterialFlags.GENERATE_FRAME).flags(GTMaterialFlags.GENERATE_RING).flags(GTMaterialFlags.GENERATE_SPRING)
        .flags(GTMaterialFlags.GENERATE_LONG_ROD)
})
const DimensionMarker = Java.loadClass('com.gregtechceu.gtceu.api.data.DimensionMarker')
GTCEuStartupEvents.registry("gtceu:dimension_marker", event => {
    //调整已有维度的图标，例如调整下界的图标
//     let netherKey = new ResourceLocation("minecraft", "the_nether")
//     let upgradedNetherMarker = new DimensionMarker(
//         5, 
//         Items.NETHERITE_BLOCK, 
//         "text.mymod.super_nether" 
//     )
//     GTRegistries.DIMENSION_MARKERS.registerOrOverride(netherKey, upgradedNetherMarker)
   //为新维度添加图标
    event.create("ad_astra:moon")
        .iconSupplier(() => Item.of("mcgougou:moon_marker").getItem())
        .tier(0)
        .overrideName("月球维度")
    event.create("ad_astra:mars")
        .iconSupplier(() => Item.of("mcgougou:mars_marker").getItem())
        .tier(0)
        .overrideName("火星维度")
})