I do not know if there is already a post about this but, I need help making a new "furnace". I want it to have the same GUI as a regular furnace but I want it to have custom fuels and recipes. Any help would be appreciated. Thanks in advance. It can use either Minecraft Forge or ModLoader.
Even when I use this tutorial I still get errors. Do you know anyone else that does a tutorial for furnaces?
Post the errors and code. You will never get anywhere if you just "run away" from errors. Put some work in and figure them out.
Rollback Post to RevisionRollBack
“Computers are incredibly fast, accurate and stupid; humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination."
First, scrap your files for the furnace because it is something you are doing wrong. Please do not copy and paste because you will not learn anything that way.
Second, gather the source files in minecraft related to the furnace for whatever version of mc you are using and make copies of those to your package.
Then follow any tutorial related to the furnace, mine shows you step by step the necessary changes, and only the appropriate changes.....
Thank you so much. I had already tried doing that using other people's tutorials but I still always had errors. But I tried one last time before I just gave up and BINGO. Your tutorial worked. And do you know anywhere I can find tutorials on how to damage items whenever they are used in the new block.
Well I have read through a lot of code and have NO idea where to start to get this to work. I am an amateur/novice java coder. So I'm not too good at this stuff. I tried changing the decrStackSize method in the slot file for my block and just got many errors that required core file changes. I even tried making custom Slot files but just got even more errors from my container file for my block. And to fix those errors I needed to change core files. So I have no idea where to start. If anyone has any idea where to start, please let me know.
What sort of items are you talking about damaging? You can look at the tools, bows, armor, swords, or an anvil to see how the game damages those items, but I know some blocks use the damage parameter for other things, for instance I believe wool colors are set by the damage parameter, so doing something like that might require an small overhaul on the core source code
Need a good universal mob farm? Check out the Double Shift Towers. Designed for 1.9 and gets 22,000 Items / Hour with a very simple redstone set up - https://www.youtube.com/watch?v=jL8aoJpjjgU
What sort of items are you talking about damaging? You can look at the tools, bows, armor, swords, or an anvil to see how the game damages those items, but I know some blocks use the damage parameter for other things, for instance I believe wool colors are set by the damage parameter, so doing something like that might require an small overhaul on the core source code
I mean damaging custom items that when put in the fuel slot get damaged and still burn items. But the code that damages tools uses the player and a living entity. Not a tile entity. So it doesn't work the same. But it is close. Kind of like a battery that can be used and recharged.
And for some reason metadata items is giving me trouble. I am using switches but only 3 damages(0, 1, 2) are showing up and all have the same name. If anyone could help, greatly appreciate it.
Does anyone know how to have metadata blocks drop metadata items? I know how to have blocks drop items but every time I try to do it with metadata blocks, it drops the block instead of the item. It has the correct damage but isn't the item. I will post code if anyone needs to see how I tried doing it.
Even when I use this tutorial I still get errors. Do you know anyone else that does a tutorial for furnaces?
Post the errors and code. You will never get anywhere if you just "run away" from errors. Put some work in and figure them out.
together they are powerful beyond imagination."
Find out how I generate....coolAlias...world structure generation and rotation tool...
I am still getting an error with SlotYourFurnace. In the protected void onCrafting method there is a line that says
par1ItemStack.onCrafting(this.thePlayer.worldObj, this.thePlayer, this.field_75228_B );
Space after uppercase B is so it won't turn into emoticon.
In my code no space is there.
I am getting an error on the field_75228_B part. Says I need to change it to field_75228_b.
Let me know if that is my problem.
And by the way, thank you SO much. Everyone else's furnace tutorials were hard to follow.
Second, gather the source files in minecraft related to the furnace for whatever version of mc you are using and make copies of those to your package.
Then follow any tutorial related to the furnace, mine shows you step by step the necessary changes, and only the appropriate changes.....
Find out how I generate....coolAlias...world structure generation and rotation tool...
Find out how I generate....coolAlias...world structure generation and rotation tool...
Find out how I generate....coolAlias...world structure generation and rotation tool...
Bored enough to watch some vanilla lets plays? http://www.youtube.com/user/Crump3txxix
Need a good universal mob farm? Check out the Double Shift Towers. Designed for 1.9 and gets 22,000 Items / Hour with a very simple redstone set up - https://www.youtube.com/watch?v=jL8aoJpjjgU
I mean damaging custom items that when put in the fuel slot get damaged and still burn items. But the code that damages tools uses the player and a living entity. Not a tile entity. So it doesn't work the same. But it is close. Kind of like a battery that can be used and recharged.