Jump to content

[1.16.5] Help with Creating a Custom Recipe Type


HeyImAmethyst

Recommended Posts

I made a crafting table block that behaves like a crafting table but only my custom recipes work on it. I made a container, recipe, recipe type, and serializer for it but my custom recipe doesnt work properly. When I  put enough items to make only one craft result it works fine but if I put more than enough, like enough to make multiple at once, the items that I put in for the recipe either multiplies within the crafting grid or it doesnt get used up at all. I've tried moving code around, changing values ect. but I can't find out what is causing the issue.

Here is my container class: https://pastebin.com/dvN01bEt

Here is my recipe class: https://pastebin.com/GKZFENZT

Here is my recipe type class: https://pastebin.com/SywS2Av1

And here is the serializer for my recipe: https://pastebin.com/6J4ZUZGp

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.