MC Modding
Please register and join the community!


Join the forum, it's quick and easy

MC Modding
Please register and join the community!
MC Modding
Would you like to react to this message? Create an account in a few clicks or log in to continue.

[Answered] Tut on smelting

2 posters

Go down

[Answered] Tut on smelting Empty [Answered] Tut on smelting

Post by filip151 Sat Oct 22, 2011 2:46 pm

Can somebody please make a tut on how to smelt a custom ore into a custom ingot? I have really big troubles with that.

filip151
Member

Posts : 11
Join date : 2011-10-21
Age : 25
Location : Norway, Oslo Poland, Swiecie

Back to top Go down

[Answered] Tut on smelting Empty Re: [Answered] Tut on smelting

Post by proshitness Sat Oct 22, 2011 2:54 pm

you do it like this:
Code:

ModLoader.AddSmelting(BronzeOre.blockID, new ItemStack(BronzeIngot.shiftedIndex, 1));
i believe, if i am mistaken then please correct me.

proshitness
Member

Posts : 4
Join date : 2011-10-20

Back to top Go down

[Answered] Tut on smelting Empty Re: [Answered] Tut on smelting

Post by filip151 Sat Oct 22, 2011 3:39 pm

Sorry, didn't work, maybe I need to do something else, like putting the bronzeingot together with the bronzeore or something, and one more thing.. How the **** did you know that I was making it with like bronzeore and bronzeingot?? Did you know it or did you guess? Cause that freaked me out a bit ;-)

filip151
Member

Posts : 11
Join date : 2011-10-21
Age : 25
Location : Norway, Oslo Poland, Swiecie

Back to top Go down

[Answered] Tut on smelting Empty Re: [Answered] Tut on smelting

Post by proshitness Sat Oct 22, 2011 5:30 pm

i just guessed XD
try to add the mod name before the ingot like so:
Code:
 new ItemStack(mod_***.BronzeIngot.shiftedIndex, 1));

proshitness
Member

Posts : 4
Join date : 2011-10-20

Back to top Go down

[Answered] Tut on smelting Empty Re: [Answered] Tut on smelting

Post by filip151 Sat Oct 22, 2011 9:31 pm

Thx!! Now I know what the error was! The error what that I took the mod_*** in front of the bronzeore! THX A LOT!! That really means a lot to me Wink

Edit: Wait, it didn't actully work...

Edit: Oh, I forgot to put the picture of the ingot to the minecraft.jar, I gonna do that later..

filip151
Member

Posts : 11
Join date : 2011-10-21
Age : 25
Location : Norway, Oslo Poland, Swiecie

Back to top Go down

[Answered] Tut on smelting Empty Re: [Answered] Tut on smelting

Post by proshitness Sun Oct 23, 2011 9:34 am

no problem

proshitness
Member

Posts : 4
Join date : 2011-10-20

Back to top Go down

[Answered] Tut on smelting Empty Re: [Answered] Tut on smelting

Post by filip151 Sun Oct 23, 2011 12:48 pm

Oh well, in fact I didn't need your help (not trying to be offensive) I had something wrong in the ingot section, so I rewrited it and then it worked! But anyway, I wouldn't do it without you! So thx a lot anyway! One more thing, I had to remove the shiftedindex for it to work. But thx anyway Very Happy

filip151
Member

Posts : 11
Join date : 2011-10-21
Age : 25
Location : Norway, Oslo Poland, Swiecie

Back to top Go down

[Answered] Tut on smelting Empty Re: [Answered] Tut on smelting

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum