Posted January 29, 20241 yr 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.
January 30, 20241 yr 16 hours ago, 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. 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.
January 30, 20241 yr Author 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?
January 31, 20241 yr 12 hours ago, 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? I would do a search for the recipe file names in the debug log file to see if something went wrong.
January 31, 20241 yr Author 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?
January 31, 20241 yr 37 minutes ago, SamuraiDestroy said: Any idea what I did to cause this? 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.
January 31, 20241 yr Author 34 minutes ago, vemerion said: and you need to remove the colon inside the string so it just becomes: "item": "beyond:soul_shard" I don't know what you mean by that and don't see a difference to how it originally was.
January 31, 20241 yr 4 minutes ago, SamuraiDestroy said: I don't know what you mean by that and don't see a difference to how it originally was. Change" "item:": to "item":
January 31, 20241 yr 25 minutes ago, SamuraiDestroy said: Ohhhhh I didn't even realise I had done that thanks so much No problem! Glad I could help
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.