Posted May 8, 20205 yr I want to create an alternate crafting table for my mod that's identical to the vanilla one, but accesses different recipes (the recipe type might be thorneislearningmods:upgraded_crafting_[shapeless/shaped]). I looked at the vanilla code, but it's indecipherable. Could someone please explain to me how I might handle this?
May 9, 20205 yr 1 hour ago, TheThorneCorporation said: I looked at the vanilla code, but it's indecipherable Then you're gonna have a lot of problems. The workbench is programmed so simply that if you copied the workbench exactly (provided you updated the way of handling containers), you would only need to change a single line of code within the container.
May 13, 20205 yr Author okay... what do you mean by "updating the way of handling containers," though?
May 13, 20205 yr Pretty sure Champion is talking about how the client gets notified that a container was opened. NetworkHooks is a good place to start looking on that front. Have you ever want the new operator to return a type that you didn't ask for? Well, now you can!
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.