bouwmeester2003 Posted December 31, 2018 Share Posted December 31, 2018 my custom crafting recipe isn't working this is my crating json file code: { "type": "minecraft:crafting_shaped", "pattern": [ "#" ], "key": { "#": { "item": "dreammod:block_cloud", "data": 1 } }, "result": { "item": "dreammod:cloud", "count": 9 } } there are no errors in console in game i have dolimitedcrafting set to false but it isn't working the file is in assets/dreammod/recipes/recipe.json so could anyone help me? Quote Link to comment Share on other sites More sharing options...
bouwmeester2003 Posted December 31, 2018 Author Share Posted December 31, 2018 someone Quote Link to comment Share on other sites More sharing options...
bouwmeester2003 Posted December 31, 2018 Author Share Posted December 31, 2018 can someone help me? Quote Link to comment Share on other sites More sharing options...
Cadiboo Posted January 1, 2019 Share Posted January 1, 2019 Can you post your code as a GitHub repository? Quote About Me Spoiler My Discord - Cadiboo#8887 My Website - Cadiboo.github.io My Mods - Cadiboo.github.io/projects My Tutorials - Cadiboo.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) Link to comment Share on other sites More sharing options...
bouwmeester2003 Posted January 1, 2019 Author Share Posted January 1, 2019 CADIBOO i don't want it open source but i need help so could you help me? Quote Link to comment Share on other sites More sharing options...
bouwmeester2003 Posted January 1, 2019 Author Share Posted January 1, 2019 i named the json file the same as the item i want to output Quote Link to comment Share on other sites More sharing options...
Cadiboo Posted January 1, 2019 Share Posted January 1, 2019 (edited) 11 minutes ago, bouwmeester2003 said: CADIBOO i don't want it open source but i need help so could you help me? I never said anything about open source. But if you want our help, we need your code. I’m also personally against not having your code FOSS, or at least Visible Source with minimal restrictions, IMO there is no reason at all not to have your software open source unless you are using bad encryption, in which case having it closed source will only hurt you in the long run anyway. ~~Without any of your mod’s code I can only reccomend checking your model registration code~~ Edit: sorry, 2am brain, idek what I was thinking Edited January 1, 2019 by Cadiboo Quote About Me Spoiler My Discord - Cadiboo#8887 My Website - Cadiboo.github.io My Mods - Cadiboo.github.io/projects My Tutorials - Cadiboo.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) Link to comment Share on other sites More sharing options...
bouwmeester2003 Posted January 1, 2019 Author Share Posted January 1, 2019 i did as the documentation i added the crafting recipe.json to the folder assets/dreammod/recipes and that's it Quote Link to comment Share on other sites More sharing options...
Cadiboo Posted January 1, 2019 Share Posted January 1, 2019 As I said, without code or logs we can’t really help. You could put a breakpoint where recipes get serialised and see if your recipe is loaded. If you aren’t willing to post your code, feel free to look at my Open Source mod(s), specifically https://github.com/Cadiboo/Example-Mod/blob/55e2ba2066b975dc5946170b00f6731a19aa2bb6/src/main/resources/assets/examplemod/recipes/example_recipe.json Quote About Me Spoiler My Discord - Cadiboo#8887 My Website - Cadiboo.github.io My Mods - Cadiboo.github.io/projects My Tutorials - Cadiboo.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) Link to comment Share on other sites More sharing options...
bouwmeester2003 Posted January 1, 2019 Author Share Posted January 1, 2019 i have it like yours earlier i had accidentally set i stead of dreammid:cloud minecraft:cloud and it gave an error i changed it but now it gives nothing i registers but you can't craft it Quote Link to comment Share on other sites More sharing options...
Cadiboo Posted January 1, 2019 Share Posted January 1, 2019 (edited) 3 minutes ago, bouwmeester2003 said: i have it like yours earlier i had accidentally set i stead of dreammid:cloud minecraft:cloud and it gave an error i changed it but now it gives nothing i registers but you can't craft it Could you restate that? Did you change “dreamid:cloud” to “minecraft:cloud” or did you change “dreamod:cloud” to “minecraft:cloud” or visa versa? If it gets to the registration phase it would either work or throw an error I’m pretty sure Edited January 1, 2019 by Cadiboo Quote About Me Spoiler My Discord - Cadiboo#8887 My Website - Cadiboo.github.io My Mods - Cadiboo.github.io/projects My Tutorials - Cadiboo.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) Link to comment Share on other sites More sharing options...
bouwmeester2003 Posted January 1, 2019 Author Share Posted January 1, 2019 i typed accidentally minecraft:cloud then it gave an error and changed it into dreammod:cloud because mod id is dreammod with minecraft:cloud it gave an error that it couldn't find now i've fixed that i gives none error but i can't craft it Quote Link to comment Share on other sites More sharing options...
Cadiboo Posted January 1, 2019 Share Posted January 1, 2019 If it loads & registers properly, but you can’t use it in the game you should probably do some digging with the debugger, I would start by taking a look at the recipe registry & checking the contents of your recipe Quote About Me Spoiler My Discord - Cadiboo#8887 My Website - Cadiboo.github.io My Mods - Cadiboo.github.io/projects My Tutorials - Cadiboo.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) Link to comment Share on other sites More sharing options...
bouwmeester2003 Posted January 1, 2019 Author Share Posted January 1, 2019 so where do i look for Quote Link to comment Share on other sites More sharing options...
bouwmeester2003 Posted January 1, 2019 Author Share Posted January 1, 2019 in the log under registering recipes it says [15:48:13] [Server thread/TRACE] [FML]: Registry: 443 dreammod:cloud net.minecraft.item.crafting.ShapedRecipes@41719f09 Quote Link to comment Share on other sites More sharing options...
bouwmeester2003 Posted January 1, 2019 Author Share Posted January 1, 2019 so what is the problem? Quote Link to comment Share on other sites More sharing options...
bouwmeester2003 Posted January 1, 2019 Author Share Posted January 1, 2019 the json file is: { "type": "minecraft:crafting_shaped", "pattern": [ "#" ], "key": { "#": { "item": "dreammod:block_cloud", "data": 1 } }, "result": { "item": "dreammod:cloud", "count": 9 } } Quote Link to comment Share on other sites More sharing options...
bouwmeester2003 Posted January 1, 2019 Author Share Posted January 1, 2019 why doesn't it work? Quote Link to comment Share on other sites More sharing options...
TestingSubject002 Posted January 1, 2019 Share Posted January 1, 2019 4 minutes ago, bouwmeester2003 said: why doesn't it work? Why don't you post your project on GitHub, let us find the problem and then delete the project from GitHub? Or, for example, you can post pieces of code you are not afraid to share. Quote Link to comment Share on other sites More sharing options...
bouwmeester2003 Posted January 1, 2019 Author Share Posted January 1, 2019 what do you want i'm making a recipe as the documentation says it scans thru assets/modid/recipes for recipes so i made there the file cloud.json with the recipe in it but it doesn't work no error at all Quote Link to comment Share on other sites More sharing options...
TestingSubject002 Posted January 1, 2019 Share Posted January 1, 2019 (edited) 12 minutes ago, bouwmeester2003 said: what do you want i'm making a recipe as the documentation says it scans thru assets/modid/recipes for recipes so i made there the file cloud.json with the recipe in it but it doesn't work no error at all If you had made a recipe as the documentation says it would have been working. Edited January 1, 2019 by TestingSubject002 1 Quote Link to comment Share on other sites More sharing options...
TestingSubject002 Posted January 1, 2019 Share Posted January 1, 2019 Man, you should just post your code. I don't think that somebody will steal it or something else. Quote Link to comment Share on other sites More sharing options...
bouwmeester2003 Posted January 1, 2019 Author Share Posted January 1, 2019 what peace of code do you need the problem is with recipes and you don't need to code recipes i think it maybe has to to with registering but the crazy thing is registers the recipe but you can't craft it i've just updated my forge and re setupdecompworkspace so maybe it works now Quote Link to comment Share on other sites More sharing options...
TestingSubject002 Posted January 1, 2019 Share Posted January 1, 2019 I think I have found the possible problem. Look at the "pattern" section of your item. You should have 3 string there. Actually, I think that you should use "crafting_shapeless" instead of "crafting_shaped". Quote Link to comment Share on other sites More sharing options...
bouwmeester2003 Posted January 1, 2019 Author Share Posted January 1, 2019 think i maybe have it used cloud_block but in the lang file i use for that block block_cloud Quote Link to comment Share on other sites More sharing options...
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.