Jump to content

[1.10.2] Is there a pre-implemented way to create recipes for your machines?


Recommended Posts

Posted

I was wondering if there's something to make the modders life easier like a RecipeRegistry class that you can use that won't matter for the vanilla workbench. You register a recipe in it, it deals with all the ore dictionary stuff for you, etc.

 

If there isn't can somebody tell me which classes should I look into for registering and later obtaining outputs from recipes? I plan to copy/paste the necessary stuff to make a machine sensible recipe registry: for this machine with this ingredients, you get this output.

Posted

Nothing is pre-configured for custom machines.

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.

Posted

Nothing is pre-configured for custom machines.

 

Got it. Thanks. Could you give me a hint on what classes shoul I look into to implement my own recipe system?

Posted

It entirely depends on what you are trying to do.

 

As every custom machine has different types of input with different types of configuration, what to look at for an example will vary widely.

 

Figure out what is closest to your goal and look at its source.

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.