mojira.dev
MC-270842

Scores are not kept when a mob converts to another mob

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

Linked issues

Attachments

Comments

[Mod] turbo

Please add detailed steps with all commands used on how to reproduce this problem, i.e. where or how it can be observed.

BugTracker

Can confirm

[media]
Triton365

Scores still get lost on zombie-drowned conversion. Still not fixed in 24w36a

violine1101

Please create a new bug report if so.

Triton365
slicedlime

Not fixed according to MC-276312.

tholleman

(Unassigned)

Confirmed

Platform

Low

Entities

1.20.4, 1.20.5 Release Candidate 1, 1.21

24w36a

Retrieved