mojira.dev
MC-116616

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

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.

Linked issues

Comments 0

No comments.

Skylinerw

Nathan Adams

Confirmed

advancement, bred_animals, trigger

Minecraft 17w16b

Minecraft 17w17b

Retrieved