Jump to content

Recommended Posts

Posted

I am brand new modding Minecraft but not new at all to java development.  However, I must be missing something in how to get started.  I downloaded the Forge installer and the forge MDK.  I started reading what little doco it has on how to mod a few things.  But NOWHERE does it explain what the game's existing structure is.  Nowhere am I finding existing code to view so I can begin to understand how to mod anything.  Am I missing a download somewhere?  We get to to see the de-obfuscated source somehow right???

 

Thanks.

 

Posted

The source is in the forgeSrc package you can browse using your IDE, under external libraries.

Reminder: You are not allowed to distribute this package.

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Posted (edited)
  On 9/11/2018 at 3:33 AM, DaemonUmbra said:

The source is in the forgeSrc package you can browse using your IDE, under external libraries.

Reminder: You are not allowed to distribute this package.

Expand  

Sorry, I am not finding this folder anywhere.  I downloaded the windows installer of forge.  It create some files and folder in in my .minecraft folder.  It also added the Forge profile that I can see in the launcher.  The MDK file was a zip file.  All I got in there is an examplemod.java file.  That's it.

 

As far as IDEs go, I intend to use IntelliJ but I didn't open it yet.  Will it somehow auto-download this folder?

 

Edited by MrChoke
Posted

You read these docs, correct?

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Posted

 

Ugh, my bad.  No.  I didn't do it until now.  I have tons of experience in using Maven to build projects but ZERO experience with gradle.  I didn't realize these commands will do the downloading.  Thanks.

 

Posted

Ok, I think I got the source now.  I see it in forgeSource.jar under

net.minecraft.

 

Please let me know if that is not correct.  And YES, I intend only to view it to learn how to mod, never will I copy it. 

 

One last question, my IntelliJ is complaining with this error:

 

Unindexed remote maven repositories found. Disable...
                    The following repositories used in your gradle projects were not indexed yet: 
                   http://files.minecraftforge.net/maven

 

Not sure where that is coming from...  Is it safe to just disable this like it says I can do?

 

Thanks.

Posted

I've never encountered that error before, try running the cleanCache task, you will need to re-run setupdecompworkspace afterwards, but it shouldn't hurt anything you've done.

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

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.