Jump to content

Recommended Posts

Posted

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?

Posted

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)

Posted (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 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)

Posted

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)

Posted (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 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)

Posted

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

Posted

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)

Posted
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.

Posted (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 by TestingSubject002
  • Like 1
Posted

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

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.