GregTechCEu / GregTech-Modern

GregTech CE Unofficial for modern versions
GNU Lesser General Public License v3.0
262 stars 152 forks source link

Game crashes on launch #1819

Closed ggerald-g closed 2 weeks ago

ggerald-g commented 2 weeks ago

Checked for existing issues

Tested latest version

GregTech CEu Version

1.40.0

Minecraft Version

1.20.1

Recipe Viewer Installed

EMI

Environment

Singleplayer

Cross-Mod Interaction

Yes

Other Installed Mods

Advancment Plaques, Alex's Mobs, Almost Unified, Amendments, Appleskin, AE2, Architectury API, Athena, Attribute Fix, bad packets, BetterF3, Botarium, Chipped, Citadel, Cloth Config API, Clumps, CoFH Core, Comforts, Configuration, Cosmetic Armor Reworked, Create, Create: New Age, Dynamic FPS, EMI, EMI Enchants, EMI Loot, EMI Trades, EMIffect, Embeddium, Embeddium(Rubidium) Extra, Entity Culling, FTB Chunks, FTB Library, FTB Teams, Farmer's Delight, Fast Leaf Decay, FastFurnace, FastSuite, FastWorkbench, FerriteCore, Framework, Goblin Traders, Iceberg, ImmediatelyFast, Item Highlighter, Jade Addons, Jade, Kotlin for Forge, KubeJS, KubeJS Additions, KubeJS Create, KubeJS Thermal, LDLib, Legendary Tooltips, Let Me Despawn, Lootr, Memory Leak Fix, Model Gap Fix, ModernFix, Moonlight Lib, Mouse Tweaks, Necrocomicon API, Not Enough Animations, Oculus, Placebo, Polymorph, Prism, Quark, Resourceful Lib, Rhino, Saturn, Searchables, Sophisticated Backpacks, Sophisticated Core, Sound Physics Remastered, spark, Starlight, Thermal (Cultivation, Dynamics, Endergy, Expansion, Extra, Foundation, Innovation), Twigs, You Shall Not Spawn, Zeta

Expected Behavior

Game launches

Actual Behavior

Game crashes

Steps to Reproduce

I wrote code in KubeJS that includes GTCEu chemicals, it launched the couple of times but I don't know what happened but it doesn't launch now. I asked CurseForge Discord and they said to post it , game crashes on every version

Additional Information

It launched the first couple of times but I don't know what happened but it doesn't launch now. I asked CurseForge Discord and they said to post it. Game crashes on every version I had to check that box or else I couldn't have posted it.

screret commented 2 weeks ago

I need a log to be able to tell you what's wrong send latest.log.

ggerald-g commented 2 weeks ago

latest.log

screret commented 2 weeks ago

oh, you're trying to check if a material has a property in the material registration event. don't do that. do it in GTCEuStartupEvents.materialModification instead, that fires after all materials are registered.

ggerald-g commented 2 weeks ago

how do i do that?

screret commented 2 weeks ago

use the event I mentioned to do modifications to materials instead of GTCEuStartupEvents.registry('gtceu:material'.

ggerald-g commented 2 weeks ago

oh ok

ggerald-g commented 2 weeks ago

i dont understand