Jump to content

Recommended Posts

Posted

So I'd like to create a new crafting block. What do I mean by that? I need a block like a crafting table, so I put in some items, and it gives me another in return. I'd also like it to be reversible. Similar to the Machine Workbench from OmegaCraft. I've been searching through the internet and vanilla code, and all I end up with is a headache. Could someone please give some advice? Thanks, BP.

Today (22/10/20) I reached 100 posts!

I'm probably more excited than I should be for something so realistically minor...

Posted

First, make a block with container access. If you want the information to be stored within the block, you'll also need a tileentity. From there, you can choose to use the current recipe system or create your own. As for making it reversible, you would need to check its output and get the ingredients used to make it. Since ingredients can be multiple items, you would need to select a random item to return from that list. And if you want to implement a recipe book for it, you'll need some knowledge to get it working semi-smoothly after all that especially with the additional of reversible recipes.

  • 2 weeks later...

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.