Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Recommended Posts

5 hours ago, Blooode said:

I want to create custom crafting table in my mod. What I need to do it?

you will need:

  • a custom block (your crafting table block)
  • a custom WorkbenchContainer, you need to overwrite the stillValid method and if you want you can change some vanilla logic

 

Link to post
Share on other sites
10 hours ago, Luis_ST said:

you will need:

  • a custom block (your crafting table block)
  • a custom WorkbenchContainer, you need to overwrite the stillValid method and if you want you can change some vanilla logic

 

I have block, container and gui. But what I need to do my custom recipes in it?

Link to post
Share on other sites
1 hour ago, Blooode said:

I have block, container and gui. But what I need to do my custom recipes in it?

do you already have a custom recipe implemented? if not, you'll a class that'l hold the recipe and check for matches, the recipe inventory and the recipe serializer

 

then it's up to you to write the logic in your container. you can use of the world's recipe manager to see if a recipe inventory matches any recipe

Link to post
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.

Guest
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 Privacy Policy.