Posted February 23, 201312 yr Is there a way of making a custom furnace give us different output from what we insert as a fuel and which class should this be in? The tileentitiy, the BlockCustomFurnace or the ContainerCustomFurnace?
February 24, 201312 yr Inn the tileentity... check the furnace tile and the brewing stand. They are quite similar If you know your java basics you should have no problems figuring it out If you guys dont get it.. then well ya.. try harder...
February 24, 201312 yr I know that you got an answer. But the basic Furnace make it like so: If it can update: check is fuel inside. If true = make fuel smaller check if is a item/block inside which can be smelted. While true and there is fuel inside the integer start to cook. if the fuel == null getFuel. this is what the furnace do. minecraft is complex you have to understand what you are doing. That does not mean if you are do not understanding go away from that. But its better when you have a little clue from that. I did made my first own furnace. its a little bit easier to understand. Because it is working under a other way. https://github.com/Speiger/DynamicTools/blob/master/spmod/dynamictools/common/Tileentities/TileAdvWorkbench.java this furnace (3 slot input = slot 1 output) is a littlebit easier to understand. at the get fuel i experiment something so you only need the if and not the else if. i hope that helps you.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.