Minecraft Blogs / Tutorial

How to mod (ModLoader) (100 sub special) (tutorial)(1.3.2)

  • 1,209 views, 2 today
  • 14
  • 12
  • 28
wolfgang798's Avatar wolfgang798
Level 47 : Master Egyptian
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


How to make a mod_ file (Must Do)
JHCSpng 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


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)
vEdeRpng 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
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

Create an account or sign in to comment.

1
10/24/2012 4:30 am
Level 1 : New Miner
sheldonrules
sheldonrules's Avatar
update with mobs pls
1
10/24/2012 4:34 am
Level 47 : Master Egyptian
wolfgang798
wolfgang798's Avatar
not right now
1
10/08/2012 7:53 am
Level 88 : Elite Engineer
TheLarsinator
TheLarsinator's Avatar
Can u make us a tutorial on how to use audiomod?
1
10/08/2012 3:47 pm
Level 47 : Master Egyptian
wolfgang798
wolfgang798's Avatar
I guess :D
1
10/06/2012 7:37 am
Level 27 : Expert Musician
DominoFirey
DominoFirey's Avatar
awesome! diamond,favourite
1
10/07/2012 3:07 am
Level 47 : Master Egyptian
wolfgang798
wolfgang798's Avatar
Thanks :D
1
10/05/2012 12:40 pm
Level 88 : Elite Engineer
TheLarsinator
TheLarsinator's Avatar
you dont happen to know how to render mobs do you since i cant get my whale to spawn
1
10/07/2012 3:07 am
Level 47 : Master Egyptian
wolfgang798
wolfgang798's Avatar
hmmm i will have a look
1
10/07/2012 5:08 am
Level 88 : Elite Engineer
TheLarsinator
TheLarsinator's Avatar
dont bother i fixed it. The only thing i just cant make work is a hostile watermob
1
10/04/2012 3:30 pm
Level 88 : Elite Engineer
TheLarsinator
TheLarsinator's Avatar
Could you PLEASE make a mob tutorial have been looking everywhere!!!
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome