Jump to content

Recommended Posts

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?

Posted

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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