Jump to content

Recipes not working as intended (1.21)


Recommended Posts

I have been working on recipes for my mod and have come across two errors.

ERROR ONE:

[19:38:01] [Render thread/ERROR] [minecraft/RecipeManager]: Parsing error loading recipe echoingend:gazite_block
com.google.gson.JsonParseException: Map entry 'A' : Failed to parse either. First: Input does not contain a key [type]: MapLike[{"item":"echoingend:gazite"}]; Second: Failed to parse either. First: Not a json array: {"item":"echoingend:gazite"}; Second: No key tag in MapLike[{"item":"echoingend:gazite"}]; Unknown registry key in ResourceKey[minecraft:root / minecraft:item]: echoingend:gazite

LINKED CODE: 

{
  "type": "minecraft:crafting_shaped",
  "category": "misc",
  "key": {
    "A": {
      "item": "echoingend:gazite"
    }
  },
  "pattern": [
    "AAA",
    "AAA",
    "AAA"
  ],
  "result": {
    "count": 1,
    "id": "echoingend:gazite_block"
  }
}


ERROR TWO:

[19:38:01] [Render thread/ERROR] [minecraft/RecipeManager]: Parsing error loading recipe echoingend:gazite
com.google.gson.JsonParseException: Unknown registry key in ResourceKey[minecraft:root / minecraft:item]: echoingend:gazite

LINKED CODE:

{
  "type": "minecraft:crafting_shapeless",
  "category": "misc",
  "ingredients": [
    {
      "item": "echoingend:gazite_block"
    }
  ],
  "result": {
    "count": 9,
    "id": "echoingend:gazite"
  }
}

The tutorial I was following. 

 

The GitHub Repository from the tutorial.

 

My file structure is:

data/[MOD ID]/recipe/[ITEM/BLOCK], as it is in the tutorial.

 

Link to comment
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.
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.



×
×
  • Create New...

Important Information

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