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

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?

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 :D

If you guys dont get it.. then well ya.. try harder...

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.

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.