Posted March 13, 20187 yr Hi All, I have a few recipes in my mod that use custom items and Minecraft items. For example, this one: { "type": "minecraft:crafting_shaped", "group": "chickencurry", "pattern": [ "T", "C", "R" ], "key": { "T": { "item": "millenaire:turmeric" }, "C": { "item": "minecraft:chicken" }, "R": { "item": "millenaire:rice" } }, "result": { "item": "millenaire:chickencurry" } } They work fine, my only issue is that they only appear in the recipe book once the player has used them at least once. I would prefer it if they could be discovered whenever he gets either of the custom item involved. Is there anyway of specifying this with JSON-based recipes? Thanks http://www.millenaire.org/img/dynamicsig.png[/img]
March 13, 20187 yr I think you need to make an advancement for each ingredient, as I think that is actually what happens in vanilla too. You don't need to make it a "visible" advancement in the advancement tree but it needs to exist. Look in the advancements.recipes assets folder in Minecraft to see examples of how the recipe advancements should be written. Edited March 13, 20187 yr by jabelar Check out my tutorials here: http://jabelarminecraft.blogspot.com/
March 13, 20187 yr Some mod-based examples: https://github.com/Draco18s/ReasonableRealism/tree/1.12.1/src/main/resources/assets/harderores/advancements Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
March 27, 20187 yr Author Thanks guys, that helped, got it working with no other issues based on Draco's examples. The label and desc are not required for those advancements right? They don't seem to show up anywhere. http://www.millenaire.org/img/dynamicsig.png[/img]
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.