Posted January 14, 20169 yr Hello Community, I have a problem with importing the Forge-Libraries into my Eclipse Project. I did all the stuff with gradlew, but what I want is a forge.jar File which I can import into my Eclipse project, similiar to teh Bukkit or Spigot API. The only file which looks like a forge.jar Library is in my /build/tmp/decomileMC folder, but when I import this jar into Eclipse, it shows all packages, but without their classes. Though after a decompile of the same jar-file, jd-gui shows the classes. It seems that, Eclipse has issues importing thic specific library. I'm thankful for every help you give me! Forward
January 14, 20169 yr If you run gradlew eclipse , ForgeGradle should automatically generate an Eclipse project with Forge and its dependencies as libraries. You don't need to import anything manually. 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.
January 16, 20169 yr The way you should be doing it is download and extract Forge to location you want your workspace, open a console window in the folder and first run command: gradlew setupDecompWorkspace then run command: gradlew eclipse. Then in Eclipse, you should import the project (right click on project hierarchy, choose Import, then choose Existing Project). That should come up with example mod project that includes all the Forge libraries. Check out my tutorials here: http://jabelarminecraft.blogspot.com/
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.