Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-275163

Datapack Custom Recipes Inaccessible

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.21.1
    • None
    • Unconfirmed
    • (Unassigned)

      I was developing a datapack involving adding craftability to spawn eggs. I first added .json files for the chicken spawn egg within both the recipe folder and the advancement/recipe folder to unlock the recipe, and it worked. But when I duplicated the .json files and tweaked them to add crafting recipes and unlocks for other mobs, they did not work.

      However, when I checked the advancements json file within the world folder, it logged that I had unlocked the recipes, despite them being uncraftable and not given to me.

      Attatched are the .json recipe files for the chicken and sheep spawn eggs, in addition to the world's advancements file.

       

      How to reproduce:

      1. Create a datapack with a directory of data/minecraft/recipe.

      2. Then, add the attatched .json files.

      3. Create a world with the datapack.

      4. Notice that the chicken spawn egg is craftable, yet the sheep egg is not.

      Note that I have not included reproduction for the recipe unlocking, this is because I believe that the issue is with the inaccessible crafting recipes.

            Unassigned Unassigned
            MrDerp999 MrDerp999
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: