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

Lead remains attached to the fence when the mob is killed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Snapshot 13w19a, Snapshot 13w21a, Snapshot 13w21b, Snapshot 13w26a, Minecraft 1.6, Minecraft 1.6.1, Minecraft 1.6.2, Minecraft 1.8, Minecraft 1.8.8, Minecraft 15w45a, Minecraft 1.10.2, Minecraft 16w33a, Minecraft 16w42a, Minecraft 16w43a, Minecraft 16w44a, Minecraft 1.11.2, Minecraft 1.12.2, Minecraft 17w50a, Minecraft 1.13-pre10, Minecraft 1.13.1, Minecraft 1.13.2-pre2, Minecraft 1.13.2, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 1.14 Pre-Release 5, 1.14.4, 1.15 Pre-release 6, 1.15.2, 20w16a, 20w19a, 20w20b, 1.16 Pre-release 2, 1.16 Pre-release 3, 1.16 Pre-release 4, 1.16 Pre-release 5, 1.16 Pre-release 6, 1.16 Pre-release 7, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Pre-release 1, 1.16.4 Pre-release 2, 1.16.4, 20w46a, 20w51a, 21w03a, 21w05b, 21w06a, 21w07a, 21w11a, 21w13a, 21w14a, 21w15a, 21w17a, 1.17 Pre-release 1, 1.17 Release Candidate 1, 1.17, 1.17.1, 21w39a, 1.18.2, 22w18a, 1.19, 1.19.2, 1.20.3, 1.20.4 Release Candidate 1, 1.20.4, 1.21 Pre-Release 1, 1.21 Pre-Release 3, 1.21.1, 24w35a, 1.21.3
    • Confirmed
    • Entities
    • Low
    • Platform

      The bug

      Lead remains attached to the fence when the mob is killed.

      Steps to Reproduce:

      • Place down a fence and obtain a lead.
      • Summon a pig and use the lead to leash it to the fence.
      • Kill the pig and watch the leash knot closely.

      Observed Behavior:
      Leash knots remain attached to fences when the leashed entity is killed.

      Expected Behavior:
      Leash knots would not remain attached to fences when the leashed entity is killed. Instead, as soon as the leashed entity is slain, the leash knot should be destroyed.

      Code analysis

      Code analysis by TriWonder81 can be found in this comment.

        1. MC-16663.mp4
          3.23 MB
        2. mom1.png
          mom1.png
          485 kB

            Unassigned Unassigned
            Lucart98 Luca Dibattista
            Votes:
            32 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              CHK: