Posted March 17, 20196 yr Hello, I am trying to create a simple mod with an item and its crafting recipe. Here is the structure of my project: Here is the content of the wooden_stick.json file: { "type": "minecraft:crafting_shapeless", "ingredients": [ { "item": "minecraft:stick", "data": 0 }, { "item": "minecraft:leaves", "data": 0 } ], "result": { "item": "testmod:wooden_stick", "data": 0 } } RecipeLoader shows 0 recipes loaded in the client thread, and 524 in the server thread. The recipe isn't shown anywhere in game, and doesn't work. Furthermore, adding an error to the JSON file does not print any error. Edited March 17, 20196 yr by oscarglo fail
March 17, 20196 yr Seeing a mods.toml file I am assuming you are in 1.13. Recipes in 1.13 are not located within the assets folder. Instead they are now located within the data folder as they are now a part of a datapack instead of a resourcepack.
March 17, 20196 yr Author How do I structure that data folder? I've tried this but it doesn't seem to be working... Nevermind, it seems to find the file. I just have a parsing error to sort out now, can you load item/block groups like #minecraft:leaves ? Edited March 17, 20196 yr by oscarglo
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.