I know, this is asked a lot, but it seems like every thread I search on there is never much of a solid answer stating how to do it. Does anyone have any tutorials or links to tools I should be using when I decompile the files and such? Thanks to who ever answers this, I'll really appreciate it.
Plenty of modders work without MCP. Kodaichi, Risugami, 303, lahwran, ShaRose, Scaevolus, and Shockah, to name a few. As birjolaxew said, use a decompiler. Either jad, jadretro, or jd-gui will do. Then you edit the code, which will be obfuscated. The modders' advice is generally: Don't learn the names, learn the code.
You don't decompile the whole thing, you only decompile the classes you wish to edit, then when you recompile them, you recompile them with minecraft.jar as a library. And yes, you should use ModLoader as well. If you wish to talk to them directly, there's always the option of IRC.
I don't create mods, but I do spend time editing a few. I like just using plain obfuscated files for making the changes and compiling them, and use MCP's deobfuscation for making a set of files I can use for reference. It's a simple cmd command to compile an individual file too that way.
Decompilers have been listed here, so I won't tell you how to do that. To compile a file, using cmd, put the minecraft.jar you are using in the same location as the edited files. Travel to the folder path. Then, use "javac -cp minecraft.jar {filename}.java". Then put the new .class file into the jar using winrar or whatever. I'm sure there's a way to set up an ide to do this, but it just seems simpler to do it this way.
When you use ModLoader, does that mean I just make my own Java files? And I won't have to decompile all of the original ones for Minecraft? The main reason I don't want to mod in general is I don't want to use the same class file as someone else is. I'd like for my mods to be compatible with other people's.
Find a mod that uses modloader, and look at it. There are basically different files representing new entities, blocks, items, etc. And there is a mod file that actually adds the modded items using modloader. The mod file has a certain naming convention you have to follow though for the file name ("mod_{whatever}.class"). If done properly, the only thing you are doing that could conflict with other people's stuff is the ID's being used. That in itself is a simple fix too.
I have some issues with the recompile. Current version of netbeans/javac will not reference classes in the default package as well as some "unreported exceptions". How do you get around the default package issue?
Decompilers have been listed here, so I won't tell you how to do that. To compile a file, using cmd, put the minecraft.jar you are using in the same location as the edited files. Travel to the folder path. Then, use "javac -cp minecraft.jar {filename}.java". Then put the new .class file into the jar using winrar or whatever. I'm sure there's a way to set up an ide to do this, but it just seems simpler to do it this way.
When you use ModLoader, does that mean I just make my own Java files? And I won't have to decompile all of the original ones for Minecraft? The main reason I don't want to mod in general is I don't want to use the same class file as someone else is. I'd like for my mods to be compatible with other people's.
MC 1.8.9
Forge 11.15.0.1688
Optifine 1.8.9 HD U H1
Villager Info 1.8-2.1
Xaero Minimap 1.7.9
Zyin HUD 1.4.8