Jump to content

Recommended Posts

Posted

You would find how that custom crafting table stores it's recipe list, and then add to it....

Cant really help much on such a vague question.

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

ok i have the recipe list, the manager ,inventory,inv result i want to make it so

that when i put a certain recipe in the compactor it shows but all i have at the moment is a blank useless crafting gui inside the compactor what i want to know is how would i register the recipe's to the compactor like make the crafting result display when you put a defined recipe in

Posted

Ah, you should look into how minecraft does it, go look at the Crafting table's Container class.

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

ok i have had a look and changed it to what i think is correct but it gives an error in the Compactor manager this is my code

 

  Reveal hidden contents

 

it give the error at this section of code

                if (var12.matches(par1InventoryCrafting))
                {
                    return var12.getCraftingResult(par1InventoryCrafting);
                }

do i need to make my own IRecipe?

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.