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

"bred_animals" trigger doesn't work when saving & re-entering after breeding

    XMLWordPrintable

Details

    • Confirmed

    Description

      Reproduction

      The advancement to be used, placed in world/data/advancements/custom/breed_relog.json

      {
          "criteria": {
              "custom_test_name": {
                  "trigger": "minecraft:bred_animals"
              }
          }
      }
      

      And the following commands to test it at will:

      /advancement test @p custom:breed_relog
      /advancement revoke @p custom:breed_relog
      1. Breed two animals together.
      2. Save and exit the world before they finish.
      3. Re-enter and allow them to finish, but you will not be awarded the advancement.

      Reason

      The animals do not save their breeder's UUID to NBT, unlike zombie villagers saving the curer's UUID for the minecraft:cured_zombie_villager trigger.

      Attachments

        Issue Links

          Activity

            People

              dinnerbone [Mojang] Nathan Adams
              skylinerw [Mod] Skylinerw
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                CHK: