Jump to content

1.16.x Custom Furnace/Brewing Stand


ehbean

Recommended Posts

It's been a while since I've worked on a mod of mine, but I want to start again, and I need to make a few different custom crafting stations that act in similar way to brewing stands and furnaces. I've done some digging and I can't seem to find a straight forward example of doing so in 1.16.x. How would I go about making something like that? Is there any way to force slots inside the gui to only take certain items?

Link to comment
Share on other sites

4 hours ago, diesieben07 said:

Override isItemValid in your IItemHandler, it is respected by the slots. If you want different behavior for automation and the GUI you could also make a custom SlotItemHandler subclass and override isItemValid there.

I'll make sure to try that when I get there. I still need to create the actual crafting station/furnace. What would you recommend I do or look at to figure that out?

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.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.