Jump to content

Recommended Posts

Posted

Hello, sorry if this is obvious, but I've been trying to find an answer.

I made the mod Title Screen Tweaks back in 2012. And updated it to 1.5.1. (I left it then because I could figure forge out)

I'm back now and want to continue developing, I've got the code correct, all I need now is to load it, whether it's a keybind or a button on the options screen. But in the 1.7.2 update, I cannot access the source code so I don't know how to do it.

Thanks,

Billy, Chuk40076.

Posted

Run "gradlew setupDecompWorkspace" and you will get decompiled Minecraft code that you can view; it's in the "referenced libraries" section of your package explorer under "forgeSrc-{version}"

Sorry, having problems. I shift right click in the explorer (In the folder) and click "Open command window here" and enter in "gradlew setupDecompWorkspace" wait a few seconds, and I get the following log:

 

 

"C:\Users\Chuk\Desktop\Coding\forge1.7>gradlew setupDecompWorkspace

****************************

Powered By MCP:

http://mcp.ocean-labs.de/

Searge, ProfMobius, Fesh0r,

R4wk, ZeuX, IngisKahn

MCP Data version : unknown

****************************

:extractUserDev

:getAssetsIndex

:getAssets

:copyAssets

:extractNatives

:genSrgs UP-TO-DATE

:downloadMcpTools UP-TO-DATE

:downloadClient SKIPPED

:downloadServer SKIPPED

:mergeJars SKIPPED

:deobfuscateJar UP-TO-DATE

:decompile FAILED

 

FAILURE: Build failed with an exception.

 

* What went wrong:

Execution failed for task ':decompile'.

> Process 'command 'C:\Program Files (x86)\Java\jdk1.7.0_51\bin\java.exe'' finis

hed with non-zero exit value 1

 

* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug

option to get more log output.

 

BUILD FAILED

 

Total time: 8.616 secs

 

C:\Users\Chuk\Desktop\Coding\forge1.7>"

Posted

I'm just going to refer you to Lex's tutorials on setting up Forge - you no longer need an actual forge folder, set everything up in the directory that you will be using for the mod:

 

 

I'll try in the morning, thanks.

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.