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.

[SOLVED][1.7.10]my custom furnace is making any amount of items into only 1 item

Featured Replies

It's caused by a typo I think!

 

From TileEntityBlastFurnace.java, lines 240 - 242:

 

if(this.furnaceItemStacks[0].stackSize >= 0){ // If the ItemStack contains zero or more items
   this.furnaceItemStacks[0] = null; // Set the ItemStack to null
}

 

Now I know you might not know where the source of any given error in your project is, but linking to your entire project kind of comes off as "Here's my project, now fix it for me!" I doubt that's the impression you intended to give, but that's the one I got. Just something to consider.

  • Author

no it was because of last time i posted on here it was erroring on one file but the problem causing it was in another file xD but yeah i was looking at that line and to me i thought it was fine, but my brain is half dead right now so idk.... thanks

  • Author

ok i changed it to this:

f(this.furnaceItemStacks[0].stackSize == 0){ // If the ItemStack contains zero or more items
   this.furnaceItemStacks[0] = null; // Set the ItemStack to null
}

 

and now it is working, i checked on the guy who's tutorial i was following and his is still showing what my code was, so i didn't do it wrong, so much as he game me incorrect code xD

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.