Posted June 19, 20214 yr I want to create custom crafting table in my mod. What I need to do it? Edited June 19, 20214 yr by Blooode
June 19, 20214 yr 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
June 19, 20214 yr Author 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?
June 19, 20214 yr 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
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.