Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

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

Featured Replies

Posted

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.

latest.log

7 minutes ago, 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.

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.

  • Author
2 minutes ago, Animefan8888 said:

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

I built it using the "jar" task under build in Intellij. Do I have to use the "build" task under that category?

 

Just now, aNoob4Gamer said:

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

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.

  • Author
8 minutes ago, 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.

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

Just now, aNoob4Gamer said:

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

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.

  • Author
1 minute ago, Animefan8888 said:

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

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

Just now, aNoob4Gamer said:

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

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.

Just now, aNoob4Gamer said:

Does this file exist within your jar?

Quote

defaultaddons:textures/items/ruby.png

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.

  • Author
2 minutes ago, Animefan8888 said:

Does this file exist within your jar?

Had capitalized the R thank you for your help.

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.