[Answered] Tut on smelting
2 posters
MC Modding :: Modding :: Singleplayer Modding :: Requests
Page 1 of 1
[Answered] Tut on smelting
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 : 26
Location : Norway, Oslo Poland, Swiecie
Re: [Answered] Tut on smelting
you do it like this:
- Code:
ModLoader.AddSmelting(BronzeOre.blockID, new ItemStack(BronzeIngot.shiftedIndex, 1));
proshitness- Member
- Posts : 4
Join date : 2011-10-20
Re: [Answered] Tut on smelting
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 : 26
Location : Norway, Oslo Poland, Swiecie
Re: [Answered] Tut on smelting
i just guessed XD
try to add the mod name before the ingot like so:
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
Re: [Answered] Tut on smelting
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
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..
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 : 26
Location : Norway, Oslo Poland, Swiecie
Re: [Answered] Tut on smelting
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
filip151- Member
- Posts : 11
Join date : 2011-10-21
Age : 26
Location : Norway, Oslo Poland, Swiecie
Similar topics
» [Answered]Reobfuscate
» [answered] What do i do when the coding is done?
» [answered] Help with crashing
» [Answered] ore mining help
» [Answered] tree
» [answered] What do i do when the coding is done?
» [answered] Help with crashing
» [Answered] ore mining help
» [Answered] tree
MC Modding :: Modding :: Singleplayer Modding :: Requests
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum