Jump to content

Recommended Posts

Posted

Solution:

For anyone that has an issue like this just run "gradlew setupdecompworkspace" from your project location.

You should be able to build your project after that.

Solution:

 

 

When I run gradlew build --info this is the output

 

Starting Build
Settings evaluated using empty settings script.
Projects loaded. Root project using build file 'F:\Minecraft Mods\Armerger\build.gradle'.
Included projects: [root project 'Armerger']
Evaluating root project 'Armerger' using build file 'F:\Minecraft Mods\Armerger\build.gradle'.
****************************
Powered By MCP:             
http://modcoderpack.com/    
Searge, ProfMobius, Fesh0r, 
R4wk, ZeuX, IngisKahn, bspkrs
MCP Data version : unknown
****************************
All projects evaluated.
Selected primary task 'DefaultTaskParameter{taskName='build',projectPath='null'}'
Tasks to be executed: [task ':compileApiJava', task ':processApiResources', task ':apiClasses', task ':sourceMainJava', task ':compileJava', task ':processResources', task ':classes', task ':jar', task ':compileTestJava', task ':processTestResources', task ':testClasses', task ':test', task ':extractMcpData', task ':getVersionJson', task ':extractUserDev', task ':genSrgs', task ':reobf', task ':assemble', task ':check', task ':build']
:compileApiJava (Thread[main,5,main]) started.
:compileApiJava
Skipping task ':compileApiJava' as it has no source files.
:compileApiJava UP-TO-DATE
:compileApiJava (Thread[main,5,main]) completed. Took 0.01 secs.
:processApiResources (Thread[main,5,main]) started.
:processApiResources
Skipping task ':processApiResources' as it has no source files.
:processApiResources UP-TO-DATE
:processApiResources (Thread[main,5,main]) completed. Took 0.001 secs.
:apiClasses (Thread[main,5,main]) started.
:apiClasses
Skipping task ':apiClasses' as it has no actions.
:apiClasses UP-TO-DATE
:apiClasses (Thread[main,5,main]) completed. Took 0.0 secs.
:sourceMainJava (Thread[main,5,main]) started.
:sourceMainJava
Skipping task ':sourceMainJava' as it is up-to-date (took 0.023 secs).
:sourceMainJava UP-TO-DATE
:sourceMainJava (Thread[main,5,main]) completed. Took 0.024 secs.
:compileJava (Thread[main,5,main]) started.
:compileJava
Failed to get resource: GET. [HTTP HTTP/1.1 403 Forbidden: https://libraries.minecraft.net//forgeSrc/1.7.10-10.13.4.1481-1.7.10/forgeSrc-1.7.10-10.13.4.1481-1.7.10.pom]
Failed to get resource: GET. [HTTP HTTP/1.1 403 Forbidden: https://libraries.minecraft.net/org/scala-lang/scala-parser-combinators_2.11/1.0.1/scala-parser-combinators_2.11-1.0.1.pom]
Failed to get resource: GET. [HTTP HTTP/1.1 403 Forbidden: https://libraries.minecraft.net/org/scala-lang/scala-swing_2.11/1.0.1/scala-swing_2.11-1.0.1.pom]
Failed to get resource: GET. [HTTP HTTP/1.1 403 Forbidden: https://libraries.minecraft.net/org/scala-lang/scala-xml_2.11/1.0.2/scala-xml_2.11-1.0.2.pom]
Executing task ':compileJava' (up-to-date check took 0.927 secs) due to:
  No history is available.
All input files are considered out-of-date for incremental task ':compileJava'.
Compiling with JDK Java compiler API.
:compileJava FAILED
:compileJava (Thread[main,5,main]) completed. Took 1.028 secs.

BUILD FAILED

Total time: 4.024 secs
Stopped 0 compiler daemon(s).

 

I did my initial setup in win8.1 and at the time I was able to build my project, I am now in win10. I have added the JAVA_HOME Env. Var. and javac -version is reporting the expected version (1.8u45)

 

You can see the folder structure in this Github

Any help would be appreciated.

 

Edit 1:

Tried building another project and that one is working, as far as I can tell they have the exact same gradle setup. You can see the folder structure in this Github

 

 

Edit 2:

I am able to run the mod from within eclipse and everything shows up, but still can't build it.

 

If you need other information just ask.

 

 

Edit 3:

Updated the output from attempting to build

New question:

Are these necessary to build and if not how to I remove them from the build path?

https://libraries.minecraft.net//forgeSrc/1.7.10-10.13.4.1481-1.7.10/forgeSrc-1.7.10-10.13.4.1481-1.7.10.pom]
https://libraries.minecraft.net/org/scala-lang/scala-parser-combinators_2.11/1.0.1/scala-parser-combinators_2.11-1.0.1.pom]
https://libraries.minecraft.net/org/scala-lang/scala-swing_2.11/1.0.1/scala-swing_2.11-1.0.1.pom]
https://libraries.minecraft.net/org/scala-lang/scala-xml_2.11/1.0.2/scala-xml_2.11-1.0.2.pom]

Current Project: Armerger 

Planned mods: Light Drafter  | Ore Swords

Looking for help getting a mod off the ground? Coding  | Textures

Posted

I made a new folder and transferred the gradle files, ran gradlew setupdecompworkspace, then copied the src folder and libs folder over ran gradlew build --info and it created the jar. Can I just run gradlew setupdecompworkspace in the original folder again to fix it?

 

This is the output from build:

Starting Build
Settings evaluated using empty settings script.
Projects loaded. Root project using build file 'F:\Minecraft Mods\test\build.gradle'.
Included projects: [root project 'test']
Evaluating root project 'test' using build file 'F:\Minecraft Mods\test\build.gradle'.
****************************
Powered By MCP:             
http://modcoderpack.com/    
Searge, ProfMobius, Fesh0r, 
R4wk, ZeuX, IngisKahn, bspkrs
MCP Data version : unknown
****************************
All projects evaluated.
Selected primary task 'DefaultTaskParameter{taskName='build',projectPath='null'}'
Tasks to be executed: [task ':compileApiJava', task ':processApiResources', task ':apiClasses', task ':sourceMainJava', task ':compileJava', task ':processResources', task ':classes', task ':jar', task ':compileTestJava', task ':processTestResources', task ':testClasses', task ':test', task ':extractMcpData', task ':getVersionJson', task ':extractUserDev', task ':genSrgs', task ':reobf', task ':assemble', task ':check', task ':build']
:compileApiJava (Thread[main,5,main]) started.
:compileApiJava
Skipping task ':compileApiJava' as it has no source files.
:compileApiJava UP-TO-DATE
:compileApiJava (Thread[main,5,main]) completed. Took 0.012 secs.
:processApiResources (Thread[main,5,main]) started.
:processApiResources
Skipping task ':processApiResources' as it has no source files.
:processApiResources UP-TO-DATE
:processApiResources (Thread[main,5,main]) completed. Took 0.0 secs.
:apiClasses (Thread[main,5,main]) started.
:apiClasses
Skipping task ':apiClasses' as it has no actions.
:apiClasses UP-TO-DATE
:apiClasses (Thread[main,5,main]) completed. Took 0.001 secs.
:sourceMainJava (Thread[main,5,main]) started.
:sourceMainJava
Executing task ':sourceMainJava' (up-to-date check took 0.069 secs) due to:
  No history is available.
:sourceMainJava (Thread[main,5,main]) completed. Took 0.141 secs.
:compileJava (Thread[main,5,main]) started.
:compileJava
Resource missing. [HTTP GET: http://files.minecraftforge.net/maven//forgeSrc/1.7.10-10.13.4.1481-1.7.10/forgeSrc-1.7.10-10.13.4.1481-1.7.10.pom]
Resource missing. [HTTP HEAD: http://files.minecraftforge.net/maven//forgeSrc/1.7.10-10.13.4.1481-1.7.10/forgeSrc-1.7.10-10.13.4.1481-1.7.10.jar]
Resource missing. [HTTP GET: http://repo1.maven.org/maven2//forgeSrc/1.7.10-10.13.4.1481-1.7.10/forgeSrc-1.7.10-10.13.4.1481-1.7.10.pom]
Resource missing. [HTTP HEAD: http://repo1.maven.org/maven2//forgeSrc/1.7.10-10.13.4.1481-1.7.10/forgeSrc-1.7.10-10.13.4.1481-1.7.10.jar]
Failed to get resource: GET. [HTTP HTTP/1.1 403 Forbidden: https://libraries.minecraft.net//forgeSrc/1.7.10-10.13.4.1481-1.7.10/forgeSrc-1.7.10-10.13.4.1481-1.7.10.pom]
Failed to get resource: GET. [HTTP HTTP/1.1 403 Forbidden: https://libraries.minecraft.net/org/scala-lang/scala-parser-combinators_2.11/1.0.1/scala-parser-combinators_2.11-1.0.1.pom]
Failed to get resource: GET. [HTTP HTTP/1.1 403 Forbidden: https://libraries.minecraft.net/org/scala-lang/scala-swing_2.11/1.0.1/scala-swing_2.11-1.0.1.pom]
Failed to get resource: GET. [HTTP HTTP/1.1 403 Forbidden: https://libraries.minecraft.net/org/scala-lang/scala-xml_2.11/1.0.2/scala-xml_2.11-1.0.2.pom]
Executing task ':compileJava' (up-to-date check took 1.68 secs) due to:
  No history is available.
All input files are considered out-of-date for incremental task ':compileJava'.
Compiling with JDK Java compiler API.
:compileJava (Thread[main,5,main]) completed. Took 2.462 secs.
:processResources (Thread[main,5,main]) started.
:processResources
Executing task ':processResources' (up-to-date check took 0.016 secs) due to:
  No history is available.
:processResources (Thread[main,5,main]) completed. Took 0.212 secs.
:classes (Thread[main,5,main]) started.
:classes
Skipping task ':classes' as it has no actions.
:classes (Thread[main,5,main]) completed. Took 0.001 secs.
:jar (Thread[main,5,main]) started.
:jar
Executing task ':jar' (up-to-date check took 0.011 secs) due to:
  No history is available.
:jar (Thread[main,5,main]) completed. Took 0.054 secs.
:compileTestJava (Thread[main,5,main]) started.
:compileTestJava
Skipping task ':compileTestJava' as it has no source files.
:compileTestJava UP-TO-DATE
:compileTestJava (Thread[main,5,main]) completed. Took 0.0 secs.
:processTestResources (Thread[main,5,main]) started.
:processTestResources
Skipping task ':processTestResources' as it has no source files.
:processTestResources UP-TO-DATE
:processTestResources (Thread[main,5,main]) completed. Took 0.001 secs.
:testClasses (Thread[main,5,main]) started.
:testClasses
Skipping task ':testClasses' as it has no actions.
:testClasses UP-TO-DATE
:testClasses (Thread[main,5,main]) completed. Took 0.0 secs.
:test (Thread[main,5,main]) started.
:test
file or directory 'F:\Minecraft Mods\test\build\classes\test', not found
Skipping task ':test' as it has no source files.
:test UP-TO-DATE
:test (Thread[main,5,main]) completed. Took 0.001 secs.
:extractMcpData (Thread[main,5,main]) started.
:extractMcpData
Skipping task ':extractMcpData' as it is up-to-date (took 0.005 secs).
:extractMcpData UP-TO-DATE
:extractMcpData (Thread[main,5,main]) completed. Took 0.005 secs.
:getVersionJson (Thread[main,5,main]) started.
:getVersionJson
Executing task ':getVersionJson' (up-to-date check took 0.001 secs) due to:
  Task has not declared any outputs.
:getVersionJson (Thread[main,5,main]) completed. Took 0.305 secs.
:extractUserDev (Thread[main,5,main]) started.
:extractUserDev
Failed to get resource: GET. [HTTP HTTP/1.1 403 Forbidden: https://libraries.minecraft.net/net/minecraftforge/forge/1.7.10-10.13.4.1481-1.7.10/forge-1.7.10-10.13.4.1481-1.7.10.pom]
Skipping task ':extractUserDev' as it is up-to-date (took 0.218 secs).
:extractUserDev UP-TO-DATE
:extractUserDev (Thread[main,5,main]) completed. Took 0.218 secs.
:genSrgs (Thread[main,5,main]) started.
:genSrgs
Skipping task ':genSrgs' as task onlyIf is false.
:genSrgs SKIPPED
:genSrgs (Thread[main,5,main]) completed. Took 0.227 secs.
:reobf (Thread[main,5,main]) started.
:reobf
Executing task ':reobf' (up-to-date check took 0.003 secs) due to:
  No history is available.
:reobf (Thread[main,5,main]) completed. Took 0.834 secs.
:assemble (Thread[main,5,main]) started.
:assemble
Skipping task ':assemble' as it has no actions.
:assemble (Thread[main,5,main]) completed. Took 0.0 secs.
:check (Thread[main,5,main]) started.
:check
Skipping task ':check' as it has no actions.
:check UP-TO-DATE
:check (Thread[main,5,main]) completed. Took 0.0 secs.
:build (Thread[main,5,main]) started.
:build
Skipping task ':build' as it has no actions.
:build (Thread[main,5,main]) completed. Took 0.0 secs.

BUILD SUCCESSFUL

Total time: 7.882 secs
Stopped 0 compiler daemon(s).

Current Project: Armerger 

Planned mods: Light Drafter  | Ore Swords

Looking for help getting a mod off the ground? Coding  | Textures

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



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Hey there! I removed Bobby as Pyralis suggested and found that I still had that and a another closely related bug (or same bug, different presentation) wherein a torch only illuminates its own block and gets smoothed 1 block out, then gone.   After comparing your modlist to mine (I'm on fabric, also 1.20.1) I found we had 2 mods with the same versions. Mine || Yours Bobby-5.0.1.jar ||bobby-1.20.1_v5.0.1.jar ImmediatelyFast-Fabric-1.2.17+1.20.4.jar || ImmediatelyFast-Forge-1.2.17+1.20.4.jar Removing ImmediatelyFast.. immediately (😉) seems to have fixed the issue. Since it's client only- no new world needed either! To note, I also removed all mods related to or containing direct requirements for Sodium, Indium and Iris which may have played a role, I did not test with re-adding.
    • For anyone still looking for the equivalent for 1.19.2+, the render type should be set for the model. In datagen, this can be done by using ModelBuilder::renderType, otherwise just add the line directly to the json file. As for the validity of this question, the idiomatic solution is presented nowhere online; ModelBuilder::renderType is never addressed when discussing block render types meaning that the solution I have provided is the first mentioned usage. Furthermore, there are no external references to this function meaning that to discover its existence requires a deep search through Forge's code. Therefore it is not only understandable but expected that most beginner modders would struggle to find this function given the already poor documentation of Forge's API.
    • Same issue without voicechat?
    • Start by following the docs to get a workspace setup: https://docs.minecraftforge.net/en/latest/gettingstarted/ Then poke around some of the tutorials, https://www.mcjty.eu/docs/1.20/ used to be the goto, but not sure if there are any updates for regular forge or not, but if you've brushed up on Java, it will be enough to get you started. Poke around the Minecraft and Forge sources to see how things are done. Read the FAQ for information on how to post code/logs when you run into issues. Share as much info on issues you have as possible. Use github to host projects, chances of someone helping are higher when they can actually see all your code and/or build it themselves. And finally, keep it on the forums, don't direct message people with questions, most people do not provide personal support like that. Also keep in mind forums posts are not always immediately answered, if you're looking for a quicker response, you can always try the Minecraft Forge discord server.
    • Hello, I have a Forge Minecraft sever (I host it at g-portal.com) which has always worked fine and I had no problems, but today it doesn't wanna work anymore. Today I started the server and the status said online, but after a few seconds it said this: "Start failed". And then out of nowhere it restarted itself and the same thing happened again and again and now it's in an infinite loop where it just keeps failing and then restarts. Here's the download link for the server logs: https://www.mediafire.com/file/sq30dgoonjevib1/2025-07-06-1.log/file Does anyone know how to fix this? If yes I would really appreciate help. Best wishes, Gabs1107
  • Topics

×
×
  • Create New...

Important Information

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