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

Posted

Hi, I just took a class on how to make Minecraft mods. Unfortunately, none of the instructors were able to show me how to create a second furnace, with a second set of recipes. Basically a machine.

 

I have found a bunch of guides for what I want in 1.7 and older, but I have yet to find a guide in 1.8. I have tried to adapt these to 1.8 but a bunch of stuff like texturing seem to be totally different. I am wondering if I am able to create a second furnace by extending the blockFurnace class? I have tried extending this class as well as copying the Smelting recipes and relabeling all references to it. However, I am unable to figure out how to make a second "active" state so the furnace will not just revert back to a normal furnace on use.

 

Any help at all is appreciated!

Your instructors couldn't, or wouldn't? If they really couldn't, that's pretty sad...

 

BlockFurnace uses a static method (which you can't override) that is called from TileEntityFurnace's onUpdate method - you have to override the TE method to call your own static method instead, which would then set the block state to YOUR active / inactive block, rather than the vanilla one.

 

There is a lot of stuff going on in those classes, though, so what I would recommend is to start off with a simple block in 1.8, get it rendering and all of that, then follow a 1.7.10 tutorial on furnaces to get it going as a furnace with custom recipes, as all of that is basically the same.

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.