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, so I am trying to make something like (but not exactly) a custom furnace, in which players can put certain items in. The catch here being that the furnace only has one output. In order to get the output, an empty "container" item must be inserted, and based on the value of the item they put in the other slot, it will make the output a "charged" version of the empty container. How the catch here is that I want different items to have different values, and as a result charge the container to different values. Then I want to be able to use the custom "charged" item as a furnace fuel with a variable burn time based on a number assigned to the "charged" item. So EX:

 

Empty Item has an empty texture, and has a value of "0 out of 1000 fuel points"

Then you put that and say, wheat, into this custom furnace interface. The wheat dissapears, and the texture changes to a "partially full" container with a value of "25 out of 1000 fuel points"

Then someone puts a piece of coal into it, and that adds say 200 points. Then you have the same partially full container with a value of "225 out of 1000 fuel points".

Then someone can take the item and put it in a custom furnace along with something that needs smelted, say iron ore for example.

So lets say it takes 200 fuel points to smelt the iron ore, so then the furnace spits out an iron ingot and a "partially full" container with a value of "25 out of 1000 fuel points".

 

How complicated would this be? And where should I even start. I have 0 experience with custom interfaces/guis, or even making a block that is clickable. Any good examples/tutorial mods that would be useful to get a look at for pointers anyone knows of?

You might be interested in my sifter, then:

 

https://github.com/Draco18s/ReasonableRealism/blob/1.12.1/src/main/java/com/draco18s/ores/recipes/OreProcessingRecipes.java

 

(Note: I haven't converted my machines to JSON "recipe" format yet because I'm lazy)

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

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.