Jump to content

Recommended Posts

Posted

is there a way to disable recipes of mod items? Thus having a boolean (that ultimately can be stored in the mods config) that will decide if an items recipe will be enabled. I was thinking of making certain items of my mod only available in creative or by directly creating it instead of creating it by crafting.

running minecraft on Mac OS X - Sierra --- creating code since 1986 ... --- मेरा दिल भारतवासी है!

width=289 height=100http://www.arno-saxena.de/pictures/chococraft/banner_signature.png[/img]

Posted

By default your items don't have any recipes until you define the recipe using the json file

 

What did you do that results in enabled item recipes

Posted

You can have conditions recipes

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
16 hours ago, yuckyh said:

By default your items don't have any recipes until you define the recipe using the json file

 

What did you do that results in enabled item recipes

really? yes, recipes are only in existence when the json file is created. What I have done is creating json files for recipes. This should be the default. But I want to give the users the opportunity to disable the recipes by a config file entry...

anyway ...

running minecraft on Mac OS X - Sierra --- creating code since 1986 ... --- मेरा दिल भारतवासी है!

width=289 height=100http://www.arno-saxena.de/pictures/chococraft/banner_signature.png[/img]

Posted
15 hours ago, Cadiboo said:

You can have conditions recipes 

That would be what I have in mind :D I haven't found anything regarding this in the docs. Do you have some pointers where I can find out how to do this?

running minecraft on Mac OS X - Sierra --- creating code since 1986 ... --- मेरा दिल भारतवासी है!

width=289 height=100http://www.arno-saxena.de/pictures/chococraft/banner_signature.png[/img]

Posted

I know there is a way to register them only if another mod is installed, and you can look at forge’s ConditionFactory.

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
On 3/15/2019 at 1:05 AM, Torojima said:

really? yes, recipes are only in existence when the json file is created. What I have done is creating json files for recipes. This should be the default. But I want to give the users the opportunity to disable the recipes by a config file entry...

anyway ...

Well, I thought you're just going to disable recipe without the user doing it. The conditional recipe should work for you. Good luck!

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.