Jump to content

My mod works fine in Intellij, but crashes without any errors in normal forge instance [solved]


Recommended Posts

This is my ENTIRE log file. I didn't delete or change anything, I copy pasted it as is. https://pastebin.com/kd7ndEmG

The game crashes immediately on startup, but the log doesn't give me a single error, warning, or anything. Earlier, it was giving me a graphics driver error, but I updated my computer and that fixed it, but now it's crashing without any errors at all. There's no errors in Intellij when I build it either. If I run the client in Intellij it runs just fine. If I disable my mod and run forge without any mods or with a different mod it also runs just fine.

It even crashes if I comment out all my code, remove the 1 mixin in my project from the config file, and delete the data and assets folders. I made a new project and copied over my code, json files, etc. but it still crashes instantly, so I have no idea what's going on.

The version of Minecraft I'm using is 1.20 and the forge version is 51.0.33. I checked to make sure these are the same numbers as what's in my gradle.properties file and they are.

I made another mod with these exact same versions and it works. The only difference in the gradle.properties files is stuff like the mod name and description. The build.gradle files are identical except for the mod IDs. The mods.toml files are exactly the same. Neither mod has any dependencies I would have to install. I have no idea why one mod works and the other doesn't.

Without any errors being printed to the log, I have no idea what to do to make my mod work. I spent days working on this and even more days trying to figure out why it won't work... Please help :(

Edit: some files were named incorrectly in the build.gradle file that I overlooked.

Edited by TNT Blox 0
solution
Link to comment
Share on other sites

  • TNT Blox 0 changed the title to My mod works fine in Intellij, but crashes without any errors in normal forge instance [solved]

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.