Jump to content

Compiled jar gives an error when loading minecraft, even tho it runs perfectly in Intellij.


Recommended Posts

Posted
  On 4/19/2020 at 6:59 PM, aNoob4Gamer said:

When  I run "runClient" in Intellij, minecraft doesn't give an error, but when I compile a jar for the mod and load it with forge it gives me this error:

"modid encountered an error during the load_registries event phase"

Here is the log file, hope someone can help.

Expand  

Looks like you didn't build it using the gradle build task.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Posted
  On 4/19/2020 at 7:12 PM, aNoob4Gamer said:

Do I have to use the "build" task under that category?

Expand  

Yes you either need to run the "gradlew build" task in the terminal or via your IDE to build your mod. Because Minecraft is obfuscated and therefore your code too must be obfuscated to match the Minecraft obfuscation.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Posted
  On 4/19/2020 at 7:14 PM, Animefan8888 said:

Yes you either need to run the "gradlew build" task in the terminal or via your IDE to build your mod. Because Minecraft is obfuscated and therefore your code too must be obfuscated to match the Minecraft obfuscation.

Expand  

Thank you that fixed the error issue, tho for some reason my textures now don't exist now. 

Posted
  On 4/19/2020 at 7:25 PM, aNoob4Gamer said:

Thank you that fixed the error issue, tho for some reason my textures now don't exist now. 

Expand  

Post the debug.log file found in .minecraft/logs.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Posted
  On 4/19/2020 at 7:27 PM, aNoob4Gamer said:

Do you mean the latest.log because no debug log is created

Expand  

No I meant debug.log, but normally latest.log works too.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Posted
  On 4/19/2020 at 7:30 PM, aNoob4Gamer said:
Expand  

Does this file exist within your jar?

  Quote

defaultaddons:textures/items/ruby.png

Expand  

Also its convention to do textures/item/texture.png nowadays.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

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.