Jump to content

[1.8] Setting up CCC and NEI


tiffit

Recommended Posts

This guide is to help you install NEI (Not enough items) and CCC (CodeChickenCore) into your workspace.

 

1. Download CCC and NEI

You will need to download CCC and NEI to use them. Download them by going to this link. You will need the dev version for both CCC and NEI.

 

2. Place CCC and NEI

Now, since you have NEI and CCC downloaded, place them in your eclipse/mods folder.

 

3. Run MC

Now that you have the mods installed, simply run minecraft.

 

4. MCP Config Dir

If you have everything correctly, a window should popup saying "Select an mcp conf dir for the deobfuscator"

If this comes up, download this file. Unzip the file and direct the selection window to that file.

You should now have CCC and NEI installed.

 

 

If you have any questions, feel free ask them and I will try to respond as quick as I can.

 

Link to comment
Share on other sites

 

2. Place CCC and NEI

Now, since you have NEI and CCC downloaded, place them in your eclipse/mods folder.

 

Please don't use the mods folder... The libs folder is there for a reason.

 

I'd do it like this:

  • Place the jars into the libs/ folder
  • rerun
    gradlew setupDecompWorkspace

    (or

    gradlew setupDevWorkspace

    if you don't want the MC source). It'll automatically add the jars inside the libs/ folder as libraries.

 

4. MCP Config Dir

If you have everything correctly, a window should popup saying "Select an mcp conf dir for the deobfuscator"

If this comes up, download this file. Unzip the file and direct the selection window to that file.

You should now have CCC and NEI installed.

 

No need to download anything... If you've set up ForgeGradle correctly, the conf dir is

C:\Users\[YOUR_USERNAME]\.gradle\caches\minecraft\net\minecraftforge\forge\[YOUR_FORGE_VERSION]\unpacked\conf

(Windows path, other OS may differ)

 

PS:

If you're feeling really fancy and know your way around the build.gradle script, add CCC and NEI as dependencies:

https://github.com/SanAndreasP/TurretModRebirth/blob/master/build.gradle#L25-L27

https://github.com/SanAndreasP/TurretModRebirth/blob/master/build.gradle#L83-L85

 

and rerun the gradlew setupDecomp/DevWorkspace command with the --refresh-dependencies parameter, like

gradlew setupDecompWorkspace --refresh-dependencies

 

... effectively skipping Step 1 and 2.

 

PPS:

A nice fact about CCC: It automatically decompiles any mod dropped inside the libs/ (or mods/) folder, very useful if you want to do compatibility stuff for a mod and you don't have any source for it available.

Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! |

mah twitter

This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.

Link to comment
Share on other sites

  • 2 months later...

PS:

If you're feeling really fancy and know your way around the build.gradle script, add CCC and NEI as dependencies:

https://github.com/SanAndreasP/TurretModRebirth/blob/master/build.gradle#L25-L27

https://github.com/SanAndreasP/TurretModRebirth/blob/master/build.gradle#L83-L85

 

Why add them as dependencies in the

buildscript

block? Isn't that only for the build script's dependencies?

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.

Link to comment
Share on other sites

PS:

If you're feeling really fancy and know your way around the build.gradle script, add CCC and NEI as dependencies:

https://github.com/SanAndreasP/TurretModRebirth/blob/master/build.gradle#L25-L27

https://github.com/SanAndreasP/TurretModRebirth/blob/master/build.gradle#L83-L85

 

Why add them as dependencies in the

buildscript

block? Isn't that only for the build script's dependencies?

 

I always thought it is needed for

gradlew build

, for if you actively reference the classes inside those libs!?

Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! |

mah twitter

This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.

Link to comment
Share on other sites

The buildscript-dependencies are for stuff that you need inside the build.gradle ;)

 

Ooh, so adding CCC and NEI to the buildscript-dependencies is completely useless... The more you know :D

Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! |

mah twitter

This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.

Link to comment
Share on other sites

  • 3 weeks later...
  • 1 month later...

 

2. Place CCC and NEI

Now, since you have NEI and CCC downloaded, place them in your eclipse/mods folder.

 

Please don't use the mods folder... The libs folder is there for a reason.

 

I'd do it like this:

  • Place the jars into the libs/ folder
  • rerun
    gradlew setupDecompWorkspace

    (or

    gradlew setupDevWorkspace

    if you don't want the MC source). It'll automatically add the jars inside the libs/ folder as libraries.

 

4. MCP Config Dir

If you have everything correctly, a window should popup saying "Select an mcp conf dir for the deobfuscator"

If this comes up, download this file. Unzip the file and direct the selection window to that file.

You should now have CCC and NEI installed.

 

No need to download anything... If you've set up ForgeGradle correctly, the conf dir is

C:\Users\[YOUR_USERNAME]\.gradle\caches\minecraft\net\minecraftforge\forge\[YOUR_FORGE_VERSION]\unpacked\conf

(Windows path, other OS may differ)

 

PS:

If you're feeling really fancy and know your way around the build.gradle script, add CCC and NEI as dependencies:

https://github.com/SanAndreasP/TurretModRebirth/blob/master/build.gradle#L25-L27

https://github.com/SanAndreasP/TurretModRebirth/blob/master/build.gradle#L83-L85

 

and rerun the gradlew setupDecomp/DevWorkspace command with the --refresh-dependencies parameter, like

gradlew setupDecompWorkspace --refresh-dependencies

 

... effectively skipping Step 1 and 2.

 

PPS:

A nice fact about CCC: It automatically decompiles any mod dropped inside the libs/ (or mods/) folder, very useful if you want to do compatibility stuff for a mod and you don't have any source for it available.

 

The unpacked folder no longer exists.  What should I do then?

Written by me, executed by me, dead to me.

Link to comment
Share on other sites

The unpacked folder no longer exists.  What should I do then?

 

Recent versions of ForgeGradle put the MCP mappings in ~/.gradle/caches/minecraft/de/oceanlabs/mcp/<mappings_type>/<mappings_version> (replace ~ with %USERPROFILE on Windows).

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.

Link to comment
Share on other sites

  • 3 weeks later...

If you update CodeChickenLib to 1.1.2.132 or newer and CodeChickenCore to 1.0.5.36, they should use the paths provided by ForgeGradle itself to find MCP mappings.

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.

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.



×
×
  • Create New...

Important Information

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