Jump to content

My mod doesn't build propperly


FLOWO

Recommended Posts

I've been trying to learn forge and when i got to building the project the project builds and i take mod from libs folder and when i try to put it in mods folder and launch minecraft it says that its not valid mod file. Anny idea why is this happening?

Link to comment
Share on other sites

You don't put any mods in the mods folder in a development environment unless you know they are already deobfuscated.

 

Your mod will be automatically added to the game. Other mods need to be added using the gradle dependency mechanism.

Examples from the mdk: https://github.com/MinecraftForge/MinecraftForge/blob/98823a8f071e04c360a99ad5b46910f6c15028a8/mdk/build.gradle#L134

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

2 hours ago, warjort said:

You don't put any mods in the mods folder in a development environment unless you know they are already deobfuscated.

 

Your mod will be automatically added to the game. Other mods need to be added using the gradle dependency mechanism.

Examples from the mdk: https://github.com/MinecraftForge/MinecraftForge/blob/98823a8f071e04c360a99ad5b46910f6c15028a8/mdk/build.gradle#L134

but then how do i test the mod?

Link to comment
Share on other sites

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

Then you did it wrong. Double check you did each step correctly.

 

Otherwise, your question is unanswerable. We have no idea what you did/did not do correctly or what error you are getting.

You don't show any useful information. We have no psychic powers.

"It does not work" style posts are a waste of your time and ours.

 

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

2 minutes ago, warjort said:

Then you did it wrong. Double check you did each step correctly.

 

Otherwise, your question is unanswerable. We have no idea what you did/did not do correctly or what error you are getting.

You don't show any useful information. We have no psychic powers.

"It does not work" style posts are a waste of your time and ours.

 

then what information do you need? I'm new to forge lib and maybe I don't understand everything you do 

Link to comment
Share on other sites

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.