(adsbygoogle = window.adsbygoogle || []).push({});
Well I'm surprised no ones made one :O So I decided to make one because this section is really lacking it
So there's a few things you'll need to go ahead and download first,
Minecraft Coders Pack, The latest version,
You must login or register to view this content.
A text editor, I will use Eclipse but any is fine
And Java SDK installed
Link:
You must login or register to view this content.
Only install your systems version
NOTE: Backup your .Minecraft folder, then delete it, and redownload the clean version!!!!!
Ok now we are ready to start!
[multipage=Step 1: Decompiling]
NOTE: Backup your .Minecraft folder, then delete it, and redownload the clean version!!!!!
NOTE: Backup your .Minecraft folder, then delete it, and redownload the clean version!!!!!
NOTE: Backup your .Minecraft folder, then delete it, and redownload the clean version!!!!!
Ok So the first thing we need to do is decompile minecraft so we can edit it, This is simply done.
1.) Go ahead and open your .minecraft folder
(Type %appdata% in RUN, Open the .minecraft folder )
2.) Open up your extracted MCP folder, Then open up the JARS folder.
3.) Go ahead and COPY+PASTE the bin folder and Resources from .minecraft into the Jars folder

(C&P THEM)
4.) Then OPEN the Bin directory in .minecraft and COPY AND PASTE the Minecraft.jar into your jars folder

.
End result should be
You must login or register to view this content.
5.) Now go to the main directory in MCP and run Decompile.bat
Now go to SRC<MINECRAFT<NET<MINECRAFT<SRC< There should be 100s of Java files

This is good! Now we can go onto editing them
[multipage=Step 2: Editing the Java's]
For this I will use Eclipse, Skip to the page "How to setup eclipse with MCP" to find out how

.
Now I will be showing you how to edit the max meat stack size

.
1.) Locate the file called ItemFood.java
2.) Double click it, You will get a small code
3.) locate
maxStackSize = 1;
and change the one to whatever you like, as long as it is under 64!
I will use 16,
4.) Go ahead and just press CTRL+S to save it, Now you can close eclipse.
Editing is now done!!
[multipage=Step 3: Recompiling]
Go to the main directory again,
1.) Run recompile.bat
Wait for it to finish, there should be NO ERRORS.
2.) Then run Reobfuscate.bat and wait until it's done you should get something like
You must login or register to view this content.
3.) Navigate to MCP<REOBF<MINECRAFT< There will be one class there, that is your edited mod
Now just open Minecraft.jar with your favorite program (7zip Winzip etc etc) now copy and paste the class in, delete META-INF and start minecraft.
kill a few pigs and you should notice you can stack to 16 now!!
[multipage=How to setup eclipse with MCP]
To use eclipse with MCP, just do the following steps:
- Decompile the Minecraft sources
- Open Eclipse
- Select the "eclipse" folder in MCP as workspace
- Create a mod
- You can test the modified client and server in Eclipse, debug
settings are already prepared to start the game in the IDE
- Recompile and reobfuscate as usual
[Multipage=Thanks for reading!]
Hopefully you enjoyed this tutorial, It was very basic of course and I will soon make more on more advanced stuff

Until then enjoy life and minecraft