Alright, since people keep asking the same questions over and over I'm going to help you.
In this tutorial we will be making a new fuel type.
Let's see if you have these things.
If you don't just download one of the versions below.
MoreIDs
makeMyItem
ModLoader
Notepad++ (Notepad is just fine)
Item Code Definition (You will need this no matter what)
To start open up Notepad++
In the menu bar click Language and select Item
This Language I have create myself and will highlight all the nessessary components. If something isnt correct it won't be highlighted.
To start add a comment by using the pound sign (#).
You will notice that it will turn green once you go to the next line.
In this comment type the name of your item and end it with another pound sign (#).
In the next line give it an ID.
And ID can be any number between 92-255,355-2255,2258+
All other IDs are being used by the Vanilla Minecraft Blocks and Items.
You can also set this field to auto. This might be good for something that won't be used in crafting or smelting.
Once your done press enter and the field should turn red.
Now this is the tricky part...
Press Forward Slash (/) Twice
Skip two lines and press the pound sign (#) twice.
On the line with the two Slashes you can put anything you want For this were going to put Recipe.
This is what you should have by this point:
# Revised Coal #
ID=4000
// Recipe
##
To start the recipe think of how you want it to be made. If your using just one item you'll use one character.
If your using nine different items you'll use nine different characters. For this example we'll use two.
We're going to craft it using two dirt blocks and two sand blocks.
Enter this code in:
?XY ,YX , ,4
This is vital to make our item in game.
Now to explain this.
Each and every space is vital to the recipe.
The question mark tells Minecraft "This is how to make this item"
The first set of characters (XY ) say to Minecraft "The top-left slot will be item X, the top-middle slot will be item Y and the top-right slot will be empty"
The second set of characters (YX ) tells Minecraft the same thing but the middle row.
The last set of characters ( ) tell Minecraft the Bottom row will be completely empty.
The fourth parameter (4) tells Minecraft how many of this item to make when crafted.
There is a fifth parameter that allows you to craft items (like sand) that are hard coded into the game.
We have the recipe set up but Minecraft doesn't know what items X and Y are!
To define an item you put this little bit of code in.
*X=3
The asterisk (*) tells Minecraft "I'm going to define what one of the items in the recipe is"
The X can be any letter or symbol that you want.
It tells Minecraft "Letter X is going to be..."
The final parameter (3) Just tells Minecraft what the block/item id is.
In this case "dirt!"
So Minecraft knows what X is but what about Y?
Well Y is sand and its block ID is 12. So the code is:
*Y=12
Now please note when defining the recipe and the letter they MUST be the same.
For example if we put Xxx in our recipe it would treat X and x differently!
So make sure you have the correct lettering before asking a question!
We are almost done. We just have to give it some properties!
Create a new division of your code (Using // and ##) name it Properties and add the following code:
Type=Fuel
FuelPower=2010
MaxStack=64
Type=Fuel Tells Minecraft that this item can be used to smelt objects
FuelPower Tells Minecraft how long the item can burn for. To smelt one object takes 201 ticks.
Our New coal can smelt two more objects then normal coal.
Finally MaxStack tells Minecraft that this item can stack on itself.
This will start the bases of a pickaxe that will be able to mine at the speed of Iron that has greater durability then Diamond.
Here are the speeds for the different tools:
Wood=2
Stone=4
Iron=6
Diamond=8
Gold=10
Now. Our recipe... We'll just use dirt and sticks (Yea I know, but it's a tutorial... What do you want from me?)
Add this under the recipe
*X=3
*!=280
This will allow us to craft it in this fashion:
[] []
[] []
Now for the effectives... Since we already made it's type Pickaxe it will be effective to all stone based materials already... But say we want to make it effective with sand and things as well.
This will make it effective to everything a normal pickaxe plus the addition of sand, dirt and gravel.
Now say we want the pickaxe to mine obsidain, redstone ore, furnaces, and cobblestone stairs faster. We use what people think is the Effective speed property.
The first parameter is SPEED. All other parameters are the block ids.
Here is the code to make it mine these objects faster then gold.
Effective 13,49,61,62,67,73,74
Now if you noticed the difference between the two effectives then your awesome for those of you that didn't theres a space instead of a comma after the keyword.
Your final output for you new dirt pickaxe is this:
Well Apparently I need to make yet ANOTHER tutorial...
This time I have to make it for the textures...
Open up your image making software and make a new 16x16 pixel file.
Draw your image in the file. It helps if you zoom in and use textures from the items.png
Once your done save it with THE EXACT SAME NAME as your .item file or it will not work!
Open up your Minecraft.jar with WinRAR or 7zip and locate the triman folder.
If you don't have this folder THEN CREATE IT
Go into it and there should be another folder named items
Again if you don't have this folder create it.
Go into your items folder and drag the png files into there. ONLY THE PNG FILES!
Hope this helped you... I might make a tutorial on how to make items that fit the look of Minecraft...
Rollback Post to RevisionRollBack
Well I -suppose- I should write something here. But I also should make a new account D<
Goddamn do I hate this name z_z
This is almost everything we need. Except the SmeltFrom property.
Now before we insert it into the code I'm going to explain what this does.
There are two parameters the second one of which is optional.
The first parameter is the ID of the block/item to be smelted from. In this case dirt and it's ID is 3.
The second parameter is how many of THIS item you receive from smelting the dirt. In this case we will use 4.
SmeltFrom=3,4
To put it in better terms I'll try to explain it in my usual way.
SmeltFrom tells Minecraft "This item can be made by smelting an item"
The first parameter (3) tells Minecraft "When dirt is smelted make this item"
The second parameter just tells Mincraft "When dirt is smelted make 4 of this item"
Dura=-1 is something I'd like to thank someone for. It allows the item to be used endlessly without the damage bars... Thank you Problematic
We are going to focus on two commands, &Consume and &Shoot
&Consume is almost like the &Use command, but it consumes an item in your inventory instead of checking what block you right-clicked on...
&Shoot will fire arrows.
Add this to your code:
&Consume,262,1,&Shoot,1
This tells Minecraft "Check to see if player has at least one arrow in there inventory. If there is take one away and shoot an arrow. Otherwise don't shoot an arrow."
Save it create a PNG for it and test it!
Thanks to Club559 for this tutorial.
Rollback Post to RevisionRollBack
Well I -suppose- I should write something here. But I also should make a new account D<
Goddamn do I hate this name z_z
This will remove the block currently pointed at and replace it with bedrock.
We don't want that so we need to give it an offset.
&PlaceBlock,7,0,1,0
The &PlaceBlock tells Minecraft "I want to place a block"
The first parameter (7) tells Minecraft "I want to place a piece of bedrock at the pointed block"
The second, third, and fourth parameters (0,1,0) are offsets.
What this set of numbers do (0,1,0) tells Minecraft "Place the block 1 above selected block."
You can change offsets to what ever numbers you want.
I.E 3,2,0 Will place the block 3 to the left (West?) and will be floating one block high (Depending on where placed)
hey can you make a tut on how to make items that have to be smelted to be made.i hope that is a good description. the readme is not clear enough to me on this subject.motavation sry only i am out. :smile.gif:
hey can you make a tut on how to make items that have to be smelted to be made.i hope that is a good description. the readme is not clear enough to me on this subject.motavation sry only i am out. :smile.gif:
I agree. Although i am certain i followed the instructions, my Purified Water refused to work. A detailed tutorial perhaps? As an example i think he should make smeltable glass, which gets you ruined glass. (Lots of black junk obstructing most if not all vision.)
Edit: Oh wait he already made the tutorial. Oh well.
Edit 2: How peculiar. Apparently i DID do it correctly, yet my Drinkable, purified water didn't smelt. Ah, well, It's all a matter of trial and error. Hopefully i'll figure it out.
Can you make a tut for how to create a new mineable block?
A tutorial on how to make armor would be nice too.
Also if you can, please list all the differant types such as pickaxe, shovle, weapon, ect?
All of this is much appreciated. Thank you so much.
~Monsoon300
In this tutorial we will be making a new fuel type.
Let's see if you have these things.
If you don't just download one of the versions below.
MoreIDs
makeMyItem
ModLoader
Notepad++ (Notepad is just fine)
Item Code Definition (You will need this no matter what)
Rar Version
Zip Version
Once that is all done you can begin coding!
To start open up Notepad++
In the menu bar click Language and select Item
This Language I have create myself and will highlight all the nessessary components. If something isnt correct it won't be highlighted.
To start add a comment by using the pound sign (#).
You will notice that it will turn green once you go to the next line.
In this comment type the name of your item and end it with another pound sign (#).
In the next line give it an ID.
And ID can be any number between 92-255,355-2255,2258+
All other IDs are being used by the Vanilla Minecraft Blocks and Items.
You can also set this field to auto. This might be good for something that won't be used in crafting or smelting.
Once your done press enter and the field should turn red.
Now this is the tricky part...
Press Forward Slash (/) Twice
Skip two lines and press the pound sign (#) twice.
On the line with the two Slashes you can put anything you want For this were going to put Recipe.
This is what you should have by this point:
To start the recipe think of how you want it to be made. If your using just one item you'll use one character.
If your using nine different items you'll use nine different characters. For this example we'll use two.
We're going to craft it using two dirt blocks and two sand blocks.
Enter this code in:
This is vital to make our item in game.
Now to explain this.
Each and every space is vital to the recipe.
The question mark tells Minecraft "This is how to make this item"
The first set of characters (XY ) say to Minecraft "The top-left slot will be item X, the top-middle slot will be item Y and the top-right slot will be empty"
The second set of characters (YX ) tells Minecraft the same thing but the middle row.
The last set of characters ( ) tell Minecraft the Bottom row will be completely empty.
The fourth parameter (4) tells Minecraft how many of this item to make when crafted.
There is a fifth parameter that allows you to craft items (like sand) that are hard coded into the game.
We have the recipe set up but Minecraft doesn't know what items X and Y are!
To define an item you put this little bit of code in.
The asterisk (*) tells Minecraft "I'm going to define what one of the items in the recipe is"
The X can be any letter or symbol that you want.
It tells Minecraft "Letter X is going to be..."
The final parameter (3) Just tells Minecraft what the block/item id is.
In this case "dirt!"
So Minecraft knows what X is but what about Y?
Well Y is sand and its block ID is 12. So the code is:
Now please note when defining the recipe and the letter they MUST be the same.
For example if we put Xxx in our recipe it would treat X and x differently!
So make sure you have the correct lettering before asking a question!
This should be your code so far:
We are almost done. We just have to give it some properties!
Create a new division of your code (Using // and ##) name it Properties and add the following code:
Type=Fuel Tells Minecraft that this item can be used to smelt objects
FuelPower Tells Minecraft how long the item can burn for. To smelt one object takes 201 ticks.
Our New coal can smelt two more objects then normal coal.
Finally MaxStack tells Minecraft that this item can stack on itself.
This is the final code output:
Save it as a .item file in the %AppData%/.minecraft/mod/items
I hope this has helped you make new items. If you need more help I will post another tutorial.
Goddamn do I hate this name z_z
In this one we will create a pickaxe and learn how to use BOTH effectives...
Start by putting the bases in:
This will start the bases of a pickaxe that will be able to mine at the speed of Iron that has greater durability then Diamond.
Here are the speeds for the different tools:
Wood=2
Stone=4
Iron=6
Diamond=8
Gold=10
Now. Our recipe... We'll just use dirt and sticks (Yea I know, but it's a tutorial... What do you want from me?)
Add this under the recipe
This will allow us to craft it in this fashion:
[] []
[] []
Now for the effectives... Since we already made it's type Pickaxe it will be effective to all stone based materials already... But say we want to make it effective with sand and things as well.
We add this to the Properties.
This will make it effective to everything a normal pickaxe plus the addition of sand, dirt and gravel.
Now say we want the pickaxe to mine obsidain, redstone ore, furnaces, and cobblestone stairs faster. We use what people think is the Effective speed property.
The first parameter is SPEED. All other parameters are the block ids.
Here is the code to make it mine these objects faster then gold.
Now if you noticed the difference between the two effectives then your awesome for those of you that didn't theres a space instead of a comma after the keyword.
Your final output for you new dirt pickaxe is this:
I hoped this help you understand what Effective and Effective 'speed' do.
Goddamn do I hate this name z_z
This time I have to make it for the textures...
Open up your image making software and make a new 16x16 pixel file.
Draw your image in the file. It helps if you zoom in and use textures from the items.png
Once your done save it with THE EXACT SAME NAME as your .item file or it will not work!
Open up your Minecraft.jar with WinRAR or 7zip and locate the triman folder.
If you don't have this folder THEN CREATE IT
Go into it and there should be another folder named items
Again if you don't have this folder create it.
Go into your items folder and drag the png files into there.
ONLY THE PNG FILES!
Hope this helped you... I might make a tutorial on how to make items that fit the look of Minecraft...
Goddamn do I hate this name z_z
This tutorial will be based on the SmeltFrom property.
Input this code:
This is almost everything we need. Except the SmeltFrom property.
Now before we insert it into the code I'm going to explain what this does.
There are two parameters the second one of which is optional.
The first parameter is the ID of the block/item to be smelted from. In this case dirt and it's ID is 3.
The second parameter is how many of THIS item you receive from smelting the dirt. In this case we will use 4.
To put it in better terms I'll try to explain it in my usual way.
SmeltFrom tells Minecraft "This item can be made by smelting an item"
The first parameter (3) tells Minecraft "When dirt is smelted make this item"
The second parameter just tells Mincraft "When dirt is smelted make 4 of this item"
Final Code Output:
Hope this helps you understand the SmeltFrom Property!
Goddamn do I hate this name z_z
We are going to make a basic bow crafted with feathers and sticks.
Base Code:
Dura=-1 is something I'd like to thank someone for. It allows the item to be used endlessly without the damage bars... Thank you Problematic
We are going to focus on two commands, &Consume and &Shoot
&Consume is almost like the &Use command, but it consumes an item in your inventory instead of checking what block you right-clicked on...
&Shoot will fire arrows.
Add this to your code:
This tells Minecraft "Check to see if player has at least one arrow in there inventory. If there is take one away and shoot an arrow. Otherwise don't shoot an arrow."
Save it create a PNG for it and test it!
Thanks to Club559 for this tutorial.
Goddamn do I hate this name z_z
Create a basic tool:
This will make this item craftable using:
The command for this will be:
This will remove the block currently pointed at and replace it with bedrock.
We don't want that so we need to give it an offset.
The &PlaceBlock tells Minecraft "I want to place a block"
The first parameter (7) tells Minecraft "I want to place a piece of bedrock at the pointed block"
The second, third, and fourth parameters (0,1,0) are offsets.
What this set of numbers do (0,1,0) tells Minecraft "Place the block 1 above selected block."
You can change offsets to what ever numbers you want.
I.E 3,2,0 Will place the block 3 to the left (West?) and will be floating one block high (Depending on where placed)
Final Code:
Hope it helped...
Goddamn do I hate this name z_z
Goddamn do I hate this name z_z
Goddamn do I hate this name z_z
Goddamn do I hate this name z_z
Sorry mate this is impossible... But there is a way to make it do this...
Goddamn do I hate this name z_z
I agree. Although i am certain i followed the instructions, my Purified Water refused to work. A detailed tutorial perhaps? As an example i think he should make smeltable glass, which gets you ruined glass. (Lots of black junk obstructing most if not all vision.)
Edit: Oh wait he already made the tutorial. Oh well.
Edit 2: How peculiar. Apparently i DID do it correctly, yet my Drinkable, purified water didn't smelt. Ah, well, It's all a matter of trial and error. Hopefully i'll figure it out.
I made it AFTER you requested... So thats why you didn't see it :tongue.gif:
Goddamn do I hate this name z_z
This is makeMyItem not makeMyBlock... I'll make a topic for that when it's released...
Goddamn do I hate this name z_z
Well then I guess there kinda is a way... But it would require insta-Structures...
Goddamn do I hate this name z_z
ID=445
? # , # , X ,1,445
*#=503
*X=280
Type=Weapon
DmgDealt=6
Dura=-1
# NetherRack Ingot
ID=503
SmeltFrom=87,1
MaxStack=64
Anything wrong here?
A tutorial on how to make armor would be nice too.
Also if you can, please list all the differant types such as pickaxe, shovle, weapon, ect?
All of this is much appreciated. Thank you so much.
~Monsoon300