Jump to content

[1.12.2] Custom Recipes Works On Vanilla Crafting Table


Triphion

Recommended Posts

I want my special recipes to work ONLY on my new crafting table. I have everything set-up: Custom Crafting Table, Custom IRecipe implementation and a _factories.json. My Crafting Table is just like a normal Crafting Table so my custom IRecipe is essentially the same as a "shaped" recipe. This is what my custom IRecipe implementation looks like:

 

Custom IRecipe implementation - https://gist.github.com/triphion/ac318db6a9a38789e219bbc71adea2b8

 

My guess is that i can somehow change this inside the matches function. 

Edited by Triphion
Link to comment
Share on other sites

7 hours ago, loordgek said:

check if the InventoryCrafting is yours

Did this and it works! Thank you! Only issue i have now is that the Crafting Book is behaving oddly, the recipes themselves aren't showing up when i click on them and my custom recipe for sword is showing up as a 90 degrees rotated sword recipe. The Crafting Book issue regarding the recipes that aren't showing up inside the crafting window however has something to do with the container, don't know where this gets called since i have checked withing the vanilla Crafting Table and my code looks pretty identical. 

Link to comment
Share on other sites

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.