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

Wolf attached to a fence by a lead will not attack mobs hurting the player when the lead is broken from far away

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.16.4, 20w51a, 1.21
    • Confirmed
    • Mob behaviour

      When dogs are attached to a fence post by leads, if the post is moved by a piston from far away, the dog will not attach any entity that hurts the player. This does not happen if the lead is broken at a close range where the wolf does not teleport. Rejoining the world will fix this.

      Steps to Reproduce:

      1. Spawn a wolf, tame it
      2. Attach it to a fence post (standing)
      3. Stand far enough away from the post so that the wolf can teleport
      4. Any way you see fit, detach the lead (can use a piston and redstone, /setblock on the post, etc)
      5. Let an entity hurt you (zombie, skeleton, etc)

      Expected Result:

      The wolf would attack the mob which hurt you after teleporting.

      Observed Behavior:

      The wolf will not do anything, and the mob will continue to hurt you.

      Screenshots/Videos:

      wolf_zombie_1-21.mp4

            Unassigned Unassigned
            BoomChief1776 William Dobie
            Votes:
            4 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: