aNoob4Gamer Posted April 19, 2020 Posted April 19, 2020 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.logFetching info... Quote
Animefan8888 Posted April 19, 2020 Posted April 19, 2020 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. Quote 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.
aNoob4Gamer Posted April 19, 2020 Author Posted April 19, 2020 On 4/19/2020 at 7:07 PM, Animefan8888 said: Looks like you didn't build it using the gradle build task. Expand I built it using the "jar" task under build in Intellij. Do I have to use the "build" task under that category? Quote
Animefan8888 Posted April 19, 2020 Posted April 19, 2020 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. Quote 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.
aNoob4Gamer Posted April 19, 2020 Author Posted April 19, 2020 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. Quote
Animefan8888 Posted April 19, 2020 Posted April 19, 2020 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. Quote 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.
aNoob4Gamer Posted April 19, 2020 Author Posted April 19, 2020 On 4/19/2020 at 7:26 PM, Animefan8888 said: Post the debug.log file found in .minecraft/logs. Expand Do you mean the latest.log because no debug log is created Quote
Animefan8888 Posted April 19, 2020 Posted April 19, 2020 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. Quote 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.
aNoob4Gamer Posted April 19, 2020 Author Posted April 19, 2020 On 4/19/2020 at 7:29 PM, Animefan8888 said: No I meant debug.log, but normally latest.log works too. Expand latest.logFetching info... Quote
Animefan8888 Posted April 19, 2020 Posted April 19, 2020 On 4/19/2020 at 7:30 PM, aNoob4Gamer said: latest.log 8.25 kB · 0 downloads 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. Quote 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.
aNoob4Gamer Posted April 19, 2020 Author Posted April 19, 2020 On 4/19/2020 at 7:33 PM, Animefan8888 said: Does this file exist within your jar? Expand Had capitalized the R thank you for your help. Quote
Recommended Posts
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.