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

recipe_crafted advancement trigger requires the recipe_id condition

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 23w16a, 23w18a, 1.20 Pre-release 1, 1.20 Pre-release 2, 1.20 Pre-release 5, 1.20 Pre-release 6, 1.20, 1.20.1, 23w32a, 23w35a
    • None
    • Plausible
    • Data Packs

      The recipe_id condition for the recipe_crafted advancement trigger is required, not optional.

      How to reproduce:

      1. In the launcher, go to the settings and enable "Open output log when Minecraft: Java Edition starts."
      2. Launch 23w16a or newer.
      3. Go to the world creation menu.
      4. Add the attached datapack to the world.
      5. Create the world and look at the log. You will find the error message "Parsing error loading custom advancement manossef:recipe_crafted: Missing recipe_id, expected to find a string."

      What I expected to happen was:

      I could make an advancement that triggers when I craft any recipe at all.

      What actually happened was:

      The recipe_id condition is required, so the game threw an error in the log when I tried to do that.

       

      Relates to MC-186503 and MC-250031.

            Unassigned Unassigned
            ManosSef [Helper] ManosSef
            Votes:
            3 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: