Posted January 31, 201312 yr I have some pretty simple gui knowledge but i need to know how to have 1. Multiple inputs and outputs 2.fuel from an ore dictionary name 3.how long the furnace takes to make the item Creator of Jobo's ModLoader If I helped you could you please click the thank you button and applaud my karma.
January 31, 201312 yr Hi! first if you look on the wiki there are several tutorials (All which are listed here: http://www.minecraftforge.net/wiki/Tutorials) Some which involve the ore dictionary. As for the multiple inputs and outputs(for a blockContainer?) I know I have seen tutorials on these kinds of things but I can't seem to recall where, if you browse youtube and the mc forums and do some searching I'm sure you will find them The last question is quite easy to answer, just open the TileEntityFurnace.java file inn eclipse while you are modding and read the code, you should be able to figure out exactly how it works and how long it burns and WHY I'm not really sure what you meant inn the first question, but I assume you want a furnace which outputs to two slots and if so, I know there are tutorials written about it If you guys dont get it.. then well ya.. try harder...
January 31, 201312 yr Author so i think i got it working i got this here 1.Fuel for ore dictionary this seems to work but i decide i am not going to use it because i need to which type it is so i am going to remove needing a fuel and put three inputs so i will need to change the recipe file to have 3 inputs public static int essence = OreDictionary.getOreID("essence"); 2.How long the furnace takes to make an item this also seems to work if (this.isBurning() && this.canSmelt()) { ++this.CookTime; if (this.CookTime == 10000) { this.CookTime = 0; this.smeltItem(); var2 = true; } } 3. Multiple inputs and outputs so from what i can tell i need to add this in update entity Item var3 = this.ItemStacks[3].getItem().getContainerItem(); this.ItemStacks[3] = var3 == null ? null : new ItemStack(var3); from what i see slot 0 is output, slot 1 is input and slot 2 is coal not 100% sure though so i would change slot 2 to input and slot 3 to input and slot 4 to output Creator of Jobo's ModLoader If I helped you could you please click the thank you button and applaud my karma.
February 1, 201312 yr You may also want to look into implementing ISidedInventory. This will allow Buildcraft pipes, Redpower tubes, etc. to access different slots depending on which side they connect to.
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.