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.

Featured Replies

Ok, so I managed to fix the error, and my mod properly compiled. However, when I tried to run the mod on my minecraft forge profile, it didn't appear. Forge acted as if the mod didn't exist. I'm not sure why this happened, so I guessed that it was a problem with the forge version. I changed it in the build file, but still got the same result ._.

My source code is in the src/main/java/com/slayer, as I believe it should be. However, when I open the jar file with JD-Gui, the only thing that shows up is a MANIFEST.MF inside a META-INF folder. The manifest file only has this line of text:

 

Manifest-Version: 1.0

 

I'm really not sure what's going on here. I made sure that all of the syntax errors in the build file were fixed, and my java files are in the right place. It seems that I'm doing everything correctly, so why wouldn't the mod compile properly?

 

 

Is there anything I can do to fix this issue? If I don't do something about this, then I won't be able to share my mod when it's finished. I can't even test it properly right now because the minecraft instance in gradle is laggy.

Actually, I found the issue: It was a problem with the way I wrote my build file. I managed to compile it now> Thank you for your help. :)

  • 4 months later...

Hi, someone can help me?

 

 

I make all steps and repeat again, but everytime that i open the eclipse, i can't find .java archives, im my project explorer i found only .classes

 

Some prints:

AHFl7Bx.png

mqIaj8X.png

 

I dont explained well...

 

inside the .jar archive there's not .java file to edit...

pd5R0Eb.png

 

How can i edit the entities?

i cant edit files .class

 

 

any mistake, sorry, i'm beginner, i dont know much

And what i do to edit (create) mods?

 

like put the arrow entity to explode with the primedTnt method?

  • 1 month later...

inside the .jar archive there's not .java file to edit...

 

How can i edit the entities?

i cant edit files .class

Yes, of course you cannot edit them. They are part of libraries that Minecraft uses resp. part of Minecraft itself. You cannot just edit other people's code.

 

And why i saw people editing it?

in tutorials all this .class is .jar, and they edit by it.

 

i still don't understanding.

 

 

diesieben07, i cant understand it too, i dont know what is  EntityJoinWorldEvent.

as i said, i'm beginner.

 

  • 1 month later...

Hello. I am getting the error "java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path". You have an entry in your troubleshooting section for that, however I couldn't find a folder 'natives' within a folder 'build' anywhere on my harddisk. I followed your tutorial to the letter. Could you shed some light on this problem?

Just use GradleStart as your main class, no program arguments required.

 

Your suggestion fixed the problem entirely. Thank you very much.

  • 1 month later...

Just wanted to chime in here and say that if anyone is receiving a stackoverflow exception during the :recompileMc task - update your JDK. This had me confused for about an hour this morning. - I updated to jdk 7u80 and everything went off without a hitch.

 

[Original Error] http://pastebin.com/BDhapB5Q

As it was generated from "gradle setupDecompWorkspace eclipse"

  • 5 months later...

whenever I run gradlew build, it gets most of the way through before stalling at a retromapReplacedMain indefinitely. Please help, this is rendering me incapable of building my mod.

  • 6 months later...

hi, i'm starting again my modding career,

but the fact that using "GradleStart in the run configuration for eclipse" is only mentioned in the comments and not in the initial post makes me kind of wondering. Written in 2013 it should be checked if everything in 2017 is still the way it was. And if so it should be mentioned there. My last time modding was 2015.

Sorry if someone is pissed if i say this, but i think as a coder, who checks every bit and byte and comma, you can't leave an important tutorial like that. It does not even explain what "gradlew eclipse" does exactly [..] .. Saying so i presume we are happy about as much (terrific) modders as possible .. [rant over][wishing a happy day]

24 minutes ago, chrissiOnAir said:

hi, i'm starting again my modding career,

but the fact that using "GradleStart in the run configuration for eclipse" is only mentioned in the comments and not in the initial post makes me kind of wondering. Written in 2013 it should be checked if everything in 2017 is still the way it was. And if so it should be mentioned there. My last time modding was 2015.

Sorry if someone is pissed if i say this, but i think as a coder, who checks every bit and byte and comma, you can't leave an important tutorial like that. It does not even explain what "gradlew eclipse" does exactly [..] .. Saying so i presume we are happy about as much (terrific) modders as possible .. [rant over][wishing a happy day]

 

It's still the same as it was. This page is the most up-to-date guide on setting up a ForgeGradle workspace and it explains what each step does in a bit more detail.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

  • 1 year later...

image.thumb.png.c78c9df321fced39dce52e3dc5020890.png

I'm sorry, how can i solution this exception ? the forge verson is 1.7.10 - 10.13.4.1614, and i change some text in the file "build.gradle".

there is what i chage:

image.png.03cf97f5c647a3b64a400ea93714898f.png

can some one help me? pls.

1 minute ago, diesieben07 said:

这不是支持线程。此外,此论坛不再支持1.7.10及更早版本。如果您需要支持,请更新到现代版的Minecraft。

so is that mean, i wanna get some help need me updata my forge verson to 1.10.x or more?

but some people say that the mod of 1.7.10 are best made... 

Just now, diesieben07 said:

如果您需要帮助,是的,请停止使用古代版本。

并制作自己的主题。

alright,So now how can I delete my wrong thread?

Hi everyone, sorry for bothering you all, but i'm having trouble setting up the environment for modding minecraft. When i run the command "gradlew setupDecompWorkspace" it says it can't resolve the dependencies for classpath, can somebody help me? I'm sorry if i post this here but i'm currently new so i don't know whether i should post this here or somewhere else.

  • 3 months later...
  • 8 months later...

is any of this information still relevant to the current version of forge gradle? Is there an updated version of this tutorial I have over looked?

  • 5 months later...

image.png.9d9026a99f5372b7eb2c2ca58beb047e.png

Should I download other JDE version?  

(I have forge-1.7.10-10.13.4.1558-1.7.10)

Edited by Nonamow

  • Guest unpinned and locked this topic
Guest
This topic is now closed to further replies.

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.