- 1,298 views, 0 today
- 14
- 12
- 28
250
Greetings Everyone welcome to wolfgang's Modding tutorial =D
First off I am going to assume you have already set up eclipse and mcp,If not watch this video http://www.youtube.com/watch?v=Z-7Q1BQ9W4Y
Just before we start I would like to thank yeaaapBro for the picture his YouTube can be found here
I would also like to thanks bgwoo for the spoiler images
Now to get to your source folder (where all the code is stored) click on the Client folder,then src,Lastly click on the folder net.minecraft.src
A mod_file is a file where all ModLoader functions are stored.So first off make a new class (to do ths click the green button with a C in it)And the class name needs to be mod_whatever (whatever can be changed) then hit Finish after a few seconds of Loading a file should appear first delete everything out of it, now copy everything from here into the : http://pastebin.com/QLKpYH5Q
ok just under mod_ whatever extends BaseMod copy the top section into there:http://pastebin.com/htxm0PW1 After that paste the middle section into your public void load() paste the middle section lastly you will have an error up the top hover over it and click the option create class then copy the last section in . Now go back to your mod_file and in the top section find the part /terrain.png ","/blocks/???.png the /blocks means that your texture is located in a folder called blocks in your minecraft.jar and the /???.png is the name of the texture (Textures must be 16X16 . (so will need to make a new folder inside the jar you used to set-up mcp called blocks and put the and put our texture in there) Making it generate will be added later =D
First off I am going to assume you have already set up eclipse and mcp,If not watch this video http://www.youtube.com/watch?v=Z-7Q1BQ9W4Y
Just before we start I would like to thank yeaaapBro for the picture his YouTube can be found here
I would also like to thanks bgwoo for the spoiler images
Now to get to your source folder (where all the code is stored) click on the Client folder,then src,Lastly click on the folder net.minecraft.src
How to make a mod_ file (Must Do)

How to make a Smelting Recipe (Very Very Easy)
ok so all you need to do is copy this into your public void load area.That's it enjoy (remember you cant just upload smelting mods to pmc.)
How to make a Biome
So first off copy the first section from the link just under the mod_whatever extends BaseMod link is here after you have done that there will be an error hover over it and hit the option that appears make new clas,now go back to your mod_file and add the ModLoader.addBiome(???) part to your public void load area once thats done copy the last section of code into the new class you made (class's name should start as BiomeGen????) OK now run minecraft and try and find your biome.
How to Make Food (Very easy)
First paste the first section in just under your mod_??? extends basemod get the 2 sections here . Now just paste the second bit to your public void load bit.Now all you need to do is make the texture.(you should know how to make a texture from reading the other tuts)
How to make a Crafting recipe (Very Very easy)
All you need to do to make a crafting recipe is copy this into your pubic void load.Thats it enjoy :D (remember you cant upload just crafting recipes mods to pmc)
How to make a Item(Easy)
ok so just under your mod_whatever extends BaseMod.Paste the first section from this link here in . Now after you have done that add the second section to your public void Load bit.Lastly you will have an error back at the mod_??? extends BaseMod bit hover over the error and an click the option Create new class then paste the last section in . . Now go back to your mod_file and in the top section find the part /gui/items.png ","/items/???.png the /blocks means that your texture is located in a folder called blocks in your minecraft.jar and the /???.png is the name of the texture so will need to make a new folder inside the jar you used to set-up mcp called Items and put your texture in there(make sure to spell everything perfect or else it wont work.)(Textures must be 16X16 and transparent around the edges as then you wont get this big white sheet in your hand) now click the run button in eclipse(little green button with a play sign in it)It may tell you your workspace needs to build so just be patient and once thats done create a new world with the minecraft that popped up and play with your item =D
How to make a Block (Easy)

Tags |
2 Update Logs
Update #2 : by wolfgang798 09/27/2012 7:00:49 pmSep 27th, 2012
Added smelting recipes ,crafting recipes and more
LOAD MORE LOGS
1462988
6
Create an account or sign in to comment.