Jump to content

Recommended Posts

Posted

I have my working custom crafting table and everything like that set up. But now i'd like to have some new recipes added on-top of the vanilla ones. I have some insight into it, such as i'd probably need a crafting manager/handler or something like that. But i don't know how to make one or how to use it. So i'd like some guidance here if possible. Such as: What is important inside a crafting manager/handler? How do i make use of it? How do i register it? 

 

Worth noting is that crafting recipes in json format is new to me aswell since this is my first mod in 1.12.2, so some insight onto that aswell would be great! ?

Posted

UPDATE: I have figured out the part of adding new recipes to my crafting table, but the problem is that i don't want the custom recipes to register for the standard crafting table aswell. I only want the custom recipes to be registered onto my custom crafting table. How would i do this? Would really appreciate some help. 

Posted

You probably want a custom recipe type. To do this I think you’ll need a _factories.json file and a custom IRecipe implementation.

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Posted
10 hours ago, Cadiboo said:

You probably want a custom recipe type. To do this I think you’ll need a _factories.json file and a custom IRecipe implementation.

Okay, i looked a bit into it, however, i have a REALLY hard time understanding how everything regarding IRecipe works. I have however created a _factories.json now, so i think that one will work once i get everything else done. 

Also, to clear up, i have added recipes. But the recipes are normal recipes, and since my custom crafting table is basically a vanilla with a retexture, it adds onto that table aswell. But i want the recipes to only work on my custom table, and not the vanilla one. 

How do i make use of a custom IRecipe by the way? 

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.