-
Bug
-
Resolution: Fixed
-
1.16.2 Pre-release 1, 1.16.2 Pre-release 2, 1.16.2 Pre-release 3, 1.16.2 Release Candidate 1, 1.16.2 Release Candidate 2, 1.16.2, 1.16.3, 1.16.4, 20w46a, 20w51a, 21w03a, 21w06a, 21w07a, 21w11a, 1.17, 1.17.1, 1.18, 1.18.1 Pre-release 1, 1.18.1, 1.19.2, 22w46a, 1.19.3, 23w05a, 1.20.2, 24w05b, 1.21.1
-
Confirmed
-
Mob behaviour
-
Normal
-
Gameplay
The bug
After zombifying, hoglins break their leash when they convert into a zoglin. This seems somewhat inconsistent, as zoglins can be leashed.
The video attachment shows a hoglin breaking its leash connected to a fence after it finishes its zombifying process; hoglins also break its leash when the player is holding the lead, not just when connected to a fence.
Code analysis
Code analysis and fix by ampolive can be found in this comment.
- is caused by
-
MC-88967 Most NBT tags are not kept when a mob converts to another mob
- Resolved
- relates to
-
MCPE-77211 Lead attached to hoglin does not break when hoglin turns into zoglin
- Open