Jump to content

Recommended Posts

Posted

Hey,

 

I've started on a big mod called agricultureCraft,

but I wan't to change the recipe of bread.

Does anyone know how to change the recipe without changing base classes.

 

thanks,

thejelmega

Posted

Get the recipe manager, find the one you wanna replace.

Remove it

And add a new one.

If you ask me how, i'll slap you, go look at the code :P

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted

No...

This is done in code, not editing anything in the compiled class.

All can be done from runtime.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted

all of the recipes are just stored in an array. just grab the array and cycle through it searching each finished product id for the right one. then just add a new recipe to the array.

 

make sure you remove all recipes first before adding any.

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.