Details
-
Bug
-
Resolution: Unresolved
-
None
-
Minecraft 15w38b, Minecraft 15w44b, Minecraft 1.9 Pre-Release 2, Minecraft 16w42a, Minecraft 1.12, Minecraft 1.12.2, Minecraft 18w02a, Minecraft 18w11a, Minecraft 1.13-pre4, Minecraft 1.13-pre5, Minecraft 1.13-pre6, Minecraft 1.13, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 19w02a, Minecraft 19w12b, Minecraft 19w13b, 1.14.4, 19w34a, 19w35a, 19w39a, 1.15.1, 1.15.2, 20w08a, 20w09a, 20w10a, 20w11a, 20w12a, 20w15a, 20w17a, 20w18a, 20w19a, 1.16 Pre-release 2, 1.16 Pre-release 3, 1.16 Pre-release 5, 1.16.1, 20w27a, 20w30a, 1.16.2, 1.16.3, 1.16.4, 20w46a, 20w51a, 21w03a, 1.16.5, 21w05b, 21w06a, 21w07a, 21w13a, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19 Pre-release 1, 1.19, 1.19.1 Release Candidate 2, 1.19.2, 1.19.3, 1.20.1
-
Confirmed
-
Entities
-
Low
-
Gameplay
Description
The bug
When a mob transforms into another mob (ex. zombie villager → villager, mooshroom → cow), it loses most of its NBT tags. This also affects conversions to the same mob, like slimes and magma cubes splitting.
It is worth noting CustomName and NoAI are preserved (MC-6773 & MC-67437), so other tags are expected to be saved as well.
Examples
The following is a list of tags that aren't transferred between entities.
From | Zombie | Zombie Villager | Mooshroom | Slime | Magma Cube | Villager | Piglin / Piglin Brute | Villager | Husk | Skeleton | Hoglin | Tadpole |
---|---|---|---|---|---|---|---|---|---|---|---|---|
To | Drowned | Villager | Cow | Smaller Slime | Smaller Magma Cube |
Zombie Villager | Zombified Piglin | Witch | Zombie | Stray | Zoglin | Frog |
ActiveEffects | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Attributes | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
CanPickUpLoot | ![]() |
![]() |
- | - | - | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
CustomName ( |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
DeathLootTable | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Fire | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Health | ![]() |
![]() |
![]() |
- | - | - | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Invulnerable | ![]() |
![]() |
![]() |
![]() |
![]() |
- | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
LeftHanded | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Motion | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
NoAI ( |
- ( |
![]() |
![]() |
![]() |
![]() |
![]() |
- ( |
![]() |
![]() |
![]() |
![]() |
![]() |
NoGravity | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
PersistenceRequired | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() ( |
![]() |
![]() |
![]() |
![]() |
PortalCooldown | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Rotation | ![]() |
![]() (MC-248587) |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Silent | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Tags | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
UUID | ![]() |
![]() |
![]() |
- | - | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
How to reproduce
- Summon a zombie villager with above tags
/summon minecraft:zombie_villager ~ ~ ~ {Health:10,Invulnerable:1,Fire:100,Tags:["foo","bar"],ConversionTime:1}
- Once the zombie villager converts to a villager, look at its NBT data
/data get entity @e[type=villager,limit=1,sort=nearest]
→
Note that the tags do not persist
Attachments
Issue Links
- causes
-
MC-265066 Mobs converting to different mobs causes wardens to no longer be angry at them
- Open
- is duplicated by
-
MC-91898 If you shear the mushroom cow with tag "NoAI", normal cow will be without the tag "NoAI"
- Resolved
-
MC-97752 Converting Villager to Zombie
- Resolved
-
MC-103290 Mooshrooms face south after shearing
- Resolved
-
MC-127307 Zombies lose some properties after converting to a drowned
- Resolved
-
MC-129122 Named Zombies become despawnable after turning into drowned.
- Resolved
-
MC-132087 Zombies that turn into drowned regain health
- Resolved
-
MC-132613 NBT is removed when zombies/husks convert
- Resolved
-
MC-133997 Dropchances not carrying over with drowned conversion
- Resolved
-
MC-134924 nametaged zombies can despawn after turned in drawn
- Resolved
-
MC-136089 Name Tagged Villager despawns if converted to a Zombie Villager when >128 blocks away
- Resolved
-
MC-138009 When a zombie turns into a drowned, the drowned faces south
- Resolved
-
MC-142032 Persistence loss of mobs changing into other mobs, thus also despawn
- Resolved
-
MC-159298 Villagers that have been infected by a zombie can despawn, even if they were named before they were converted
- Resolved
-
MC-160139 Renamed Zombie villagers despawn
- Resolved
-
MC-160146 zombified villagers despawn even when named
- Resolved
-
MC-160149 Named Zombie Villagers despawn
- Resolved
-
MC-160196 Named Villagers can despawn when converted to Zombie Villagers.
- Resolved
-
MC-160551 Named Villagers converted to Zombie Villagers can despawn
- Resolved
-
MC-162500 Named Villagers converted to Zombie Villagers despawn
- Resolved
-
MC-163938 Zombie villagers despawn after cure
- Resolved
-
MC-166749 Villagers, when name tagged and then subsequently are converted into Zombie Villagers retain their name tag but can despawn.
- Resolved
-
MC-170501 Lost NBT data when converting to and from Villager and Zombie Villager
- Resolved
-
MC-170509 Named Villagers lose their PersistenceRequired data value when converted into Zombies
- Resolved
-
MC-170726 Zombie villagers despawning after curing.
- Resolved
-
MC-172196 Portal Cooldown Resets when Mobs Transform
- Resolved
-
MC-172677 Piglins transformed into Zombified Piglins do not keep facing the same direction as they previously were
- Resolved
-
MC-173037 When A Piglin Is Named Using A Name Tag, It Will Despawn When It Becomes a Zombie Pigman
- Resolved
-
MC-174190 If you breed mooshroom cows and then shear them to normal cows you can breed them again
- Resolved
-
MC-174843 Mooshrooms lose velocity and rotation when sheared
- Resolved
-
MC-176388 Zombie villagers despawning
- Resolved
-
MC-180471 Piglins and Hoglins lose potion effects after zombification
- Resolved
-
MC-183724 Zombie Villager Despawning
- Resolved
-
MC-189750 When NoAI mooshrooms are sheared, they lose their NoAI tag
- Resolved
-
MC-192485 Mobs that turn into other mobs dont keep attributes
- Resolved
-
MC-193068 Left handed Piglin Brutes turn to right handed pigmen
- Resolved
-
MC-193069 Zombified piglin doesn't keep Piglin Brute statistics
- Resolved
-
MC-193072 Piglin bruts not keep value of health in 45 HP after zombification
- Resolved
-
MC-193389 Piglin brute loses health after converting to zombified piglin
- Resolved
-
MC-199995 Entities gain gravity when they convert
- Resolved
-
MC-210921 Zombies turned into drown have reset health
- Resolved
-
MC-220614 Issue
- Resolved
-
MC-221538 Mooshroom looses EntityTags
- Resolved
-
MC-245688 When a left-handed Piglin/Piglin Brute zombifies it does not save the tag {LeftHanded: 1}
- Resolved
-
MC-248044 Mob conversion rerandomizes the random name of a mob used to target for commands
- Resolved
-
MC-254501 Frogs face south and slow down when growing up
- Resolved
-
MC-264717 Villagers lose their heads when zombified and cured.
- Resolved
- relates to
-
MC-196964 Fall damage is reset when an entity converts to another entity
- Open
-
MC-248587 Curing villagers/villagers zombifying desyncs rotation
- Open
-
MC-251930 When a shulker splits, the new mob doesn't retain certain NBT tags
- Open
-
MC-261666 Armor given to Villagers is lost when they convert to Zombie Villagers
- Open
-
MC-6773 Renaming a slime or Magma cube, Once it splits it no longer has its custom name.
- Resolved
-
MC-11883 Cured zombie villagers don't keep their profession
- Resolved
-
MC-36489 Mooshrooms lose their name (from name tag) when sheared
- Resolved
-
MC-67437 Lightning gives AI to Witches and Zombie Pigman that were originally Pigs and Villagers that had NoAI set to 1
- Resolved
-
MC-132607 Splitting slimes and magma cubes do not copy NoAI value
- Resolved
-
MC-135898 Teams are not retained when a mob converts to another mob
- Open
-
MC-149679 Zombie Villagers cured into regular villagers lose numeric values on trades
- Open
-
MC-194158 Mobs lose hostility after changing forms (zombification)
- Open
-
MC-196736 Hoglins break their leash when zombifying, despite zoglins being leashable
- Open
-
MC-27535 Mobs can sometimes still despawn, even if named with a name tag
- Resolved
-
MC-136776 Some NBT tags are not kept when fish or axolotl mobs are caught in water buckets
- Resolved
-
MC-159300 Villagers that have been infected by a zombie can despawn, even if they have been traded with
- Resolved
-
MC-183860 Zombie villager converted from villager gets PersistenceRequired depending on whether attacking zombie had it
- Resolved
-
MC-193083 Passengers get off mobs if they convert into other mobs
- Resolved
-
MC-3591 Cured zombie villagers don't drop picked up items
- Resolved