Jump to content

[1.12.2] Recipe not displayed in recipe book


SuperManitu

Recommended Posts

Hello,

I'm currently trying to get my recipes to be displayed in the recipe book when the player has the necessary items to craft them. So I added an advancement json for this purpose (copied from the planks):

Spoiler

{
  "parent": "minecraft:recipes/root",
  "rewards": {
    "recipes": [
      "stevescarts:blockadvdetector"
    ]
  },
  "criteria": {
    "has_items": {
      "trigger": "minecraft:inventory_changed",
      "conditions": {
        "items": [
          {
            "item": "minecraft:iron_ingot",
            "count": {
              "min": 6
            }
          },
          {
            "item": "minecraft:stone_pressure_plate",
            "count": {
              "min": 2
            }
          },
          {
            "item": "minecraft:redstone"
          }
        ]
      }
    },
    "has_recipe": {
      "trigger": "minecraft:recipe_unlocked",
      "conditions": {
        "recipe": "stevescarts:blockadvdetector"
      }
    }
  },
  "requirements": [
    [
      "has_items",
      "has_recipe"
    ]
  ]
}

 

If I collect the items, I see the "New recipes available" with the correct item, but when I open the recipe book, the new recipe is not there. What step am I missing?

Link to comment
Share on other sites

Recipes will show up in the recipe book only under certain conditions (assuming you have the recipe)

1. All mod recipes if you use a custom creative tab will show under the miscellaneous tab

2. If recipe can be crafted the player crafting gird(2x2 or smaller) than you can see it when looking in from the player inventory if it is larger than it will only show up when you are looking at the crafting table

Edited by CoderAtParadise
info

Did you really need to know?

Link to comment
Share on other sites

I did forget to look at a crafting table, but it did not change anything. I can't see the recipe neither in the "all" category nor in the "misc" category not any other category. But I do get the "new recipe available" with the correct Item symbol

Edited by SuperManitu
  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

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.