SamuraiDestroy Posted January 29, 2024 Posted January 29, 2024 The recipes I added don't work. I've made sure that all of them use the correct mod id and item names but they just don't work. Attached is an image of the hierarchy and images of the recipe .json files. Quote
vemerion Posted January 30, 2024 Posted January 30, 2024 On 1/29/2024 at 5:51 PM, SamuraiDestroy said: The recipes I added don't work. I've made sure that all of them use the correct mod id and item names but they just don't work. Attached is an image of the hierarchy and images of the recipe .json files. Expand Could be that you might need to refresh the files in your IDE for them to be found by the game. Otherwise I would recommend checking the log to see if it says anything about the recipes not working. Quote
SamuraiDestroy Posted January 30, 2024 Author Posted January 30, 2024 Refreshing did nothing and nothing seems out of the ordinary in the log, at least in the area of it after I joined the game. What exactly should I be looking for in the log anyway? Quote
vemerion Posted January 31, 2024 Posted January 31, 2024 On 1/30/2024 at 5:39 PM, SamuraiDestroy said: Refreshing did nothing and nothing seems out of the ordinary in the log, at least in the area of it after I joined the game. What exactly should I be looking for in the log anyway? Expand I would do a search for the recipe file names in the debug log file to see if something went wrong. Quote
SamuraiDestroy Posted January 31, 2024 Author Posted January 31, 2024 Ah found it. [Render thread/ERROR] [net.minecraft.world.item.crafting.RecipeManager/]: Parsing error loading recipe beyond:soul_shard_from_soul_shard_block com.google.gson.JsonSyntaxException: Expected count to be a Int, was "9" [Render thread/ERROR] [net.minecraft.world.item.crafting.RecipeManager/]: Parsing error loading recipe beyond:soul_shard_block com.google.gson.JsonParseException: An ingredient entry needs either a tag or an item Any idea what I did to cause this? Quote
vemerion Posted January 31, 2024 Posted January 31, 2024 On 1/31/2024 at 9:58 AM, SamuraiDestroy said: Any idea what I did to cause this? Expand You need to remove the quotes from the nine so it just becomes: "count": 9 and you need to remove the colon inside the string so it just becomes: "item": "beyond:soul_shard" I recommend using data generators to avoid having to manually create the json recipes and avoid these problems in the future. Quote
SamuraiDestroy Posted January 31, 2024 Author Posted January 31, 2024 On 1/31/2024 at 10:38 AM, vemerion said: and you need to remove the colon inside the string so it just becomes: "item": "beyond:soul_shard" Expand I don't know what you mean by that and don't see a difference to how it originally was. Quote
vemerion Posted January 31, 2024 Posted January 31, 2024 On 1/31/2024 at 11:13 AM, SamuraiDestroy said: I don't know what you mean by that and don't see a difference to how it originally was. Expand Change" "item:": to "item": 1 Quote
SamuraiDestroy Posted January 31, 2024 Author Posted January 31, 2024 Ohhhhh I didn't even realise I had done that thanks so much Quote
vemerion Posted January 31, 2024 Posted January 31, 2024 On 1/31/2024 at 11:22 AM, SamuraiDestroy said: Ohhhhh I didn't even realise I had done that thanks so much Expand No problem! Glad I could help Quote
Recommended Posts
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.