Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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...

  • 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

 

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.