1

How To Make A Mod For MC 1.3.2!

1 diamonds

Get Embed Code

Forum:
HTML:
Link:
avatar TheSilentDwarf
Level 30 : Artisan Modder
Posted 09/20/12 11:05:44 am
09/20/12
Hello EveryBody It Is Me TheSilentDwarf And This Is my First Minecraft Modding Tutorial. I will Do more tutorials on modding but this one is the basic mod file you are going to use in all of your mods.

Ok So lets start this tutorial of by giving you the links for the things you need

Eclipse
http://www.eclipse.org/downloads/packages/eclipse-classic-42/junor
Download It with your version of windows/linux/mac

MCP
http://mcp.ocean-labs.de/index.php/MCP_Releases
Download the newest version of it.

Installing
1.Extract Eclipse Into A Folder Called Eclipse
2.Extract MCP into a Folder Called Mods
3.Get A Fresh Minecraft Bin Folder.(By Fresh i Mean No mods installed)
4.(Optional)Get a fresh Resources Folder
5.Copy Both of them into the jars file in mcp.
6.Download ModLoader 1.3.2
7.Install It In your minecraft inside mcp
8.Run Decompile.bat
9.After Thats Done Run Eclipse and you find your Mods Folder as Your Workspace

Learning Java
Go into The File Item.java And you can See all these public static stuff. Well these Are your In-Game Items
Example
public static Item pickaxeSteel = (new ItemPickaxe(1, EnumToolMaterial.IRON)).setIconCoord(2, 6).setItemName("pickaxeIron");

This Is our Iron Pickaxe In later tutorials i will teach how to make one.Well what does all this code mean, you might ask?
The new ItemPickaxe means its a new Pickaxe in game. The 1 is Its Item ID.EnumToolMaterial is Whats its made of this is iron. SetIconCord is where in the items.png its in. The SetItemname is whats it going to be in the Language files. Well Thats Our PickAxe

Example 2
public static Item porkCooked = (new ItemFood(64, 8, 0.8F, true)).setIconCoord(8, 5).setItemName("porkchopCooked");

This is Cooked Porkchop As you Can see its a Food. Its id is 64. The 8 is how many Food Bars Will it fill 2 is one full one. 0.8F its saturation level, How long you will not be hungry.

Starting Your First Mod
First Create a new class name it mod_yourmodname
Where yourmodname is Its going to be your mods name.

Now Your Files Should Look Like This
package net.minecraft.src;

public class mod_Test {

}

We Are Going To Add This
package net.minecraft.src;

public class mod_Test extends Basemod{

}

You Will Get An Error And You can Fix this by hovering over mod_Test.Click Add Unimplemented methods.
That Will be your basic mod file.

Diamond if you liked this mod.

Favourite if you loved this mod
Subscribe if you like my work

Additional Details

Tags:How, make, mod, pickaxe, eclipse, mcp, porkchop, Tutorial

More Blogs by TheSilentDwarfView All

2012-05-18 07:11:22
by TheSilentDwarf

Join us to post comments.

Comments : 4

1 - 4 of 4

Richy boy 23
Level 38
Artisan Creeper Hugger
September 20, 2012, 7:18 am

hey are you know me ;) can you make plugins for bukkit too ?

TheSilentDwarf
Level 30
Artisan Modder
September 20, 2012, 7:25 am

No i cant make plugins i have only studied mods for minecraft vanilla

Richy boy 23
Level 38
Artisan Creeper Hugger
September 20, 2012, 7:58 am

can you make for me a guinea pig mod for me that i can upload
:D this is very awesome guy

TheSilentDwarf
Level 30
Artisan Modder
September 20, 2012, 8:07 am

Uhh... i cant do mobs yet but im reasearching on that but for now you can ask some other modders

1 - 4 of 4