Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

custom crafting recipe doesn't work


Recommended Posts

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?

Link to post
Share on other sites

Can you post your code as a GitHub repository?

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.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 post
Share on other sites
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 by Cadiboo

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.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 post
Share on other sites

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

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.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 post
Share on other sites
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 by Cadiboo

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.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 post
Share on other sites

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

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.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 post
Share on other sites
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 by TestingSubject002
  • Like 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.