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

Hoglins break their leash when zombifying, despite zoglins being leashable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 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
    • 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.

            Unassigned Unassigned
            BlockOfNetherite BlockOfNetherite
            Votes:
            15 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              CHK: