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

Scores are not kept when a mob converts to another mob

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.4, 1.20.5 Release Candidate 1
    • None
    • Confirmed
    • (Unassigned)

      When a mob transforms into another mob (ex. zombie villager → villager, mooshroom → cow), it loses all scores set with /scoreboard

      Steps to reproduce:

      1. Create a scoreboard 
        /scoreboard objectives add test dummy
      2. Summon a villager
      3. Give the villager a score 
        /scoreboard players add @e[type=minecraft:villager] test 1
      4. Summon a zombie and let the villager be converted 
        /difficulty hard
        /time set midnight
        /summon minecraft:zombie
      5. Get the scores of the new zombie villager 
        /scoreboard players list @e[type=minecraft:zombie_villager, sort=nearest, limit=1]
      6. Expect the zombie villager to have the test score of 1 and be disappointed

      Possibly related to MC-88967

            Unassigned Unassigned
            tholleman tholleman
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              CHK: