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

Witches do not despawn correctly if they have a potion effect

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 18w33a
    • Minecraft 1.10.2, Minecraft 16w40a, Minecraft 16w41a, Minecraft 16w43a, Minecraft 1.11 Pre-Release 1, Minecraft 1.11, Minecraft 1.11.1, Minecraft 1.11.2, Minecraft 17w14a, Minecraft 17w17b, Minecraft 1.12 Pre-Release 3, Minecraft 1.12 Pre-Release 6, Minecraft 1.12, Minecraft 1.12.1 Pre-Release 1, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 17w48a, Minecraft 18w03b, Minecraft 18w16a
    • None
    • Confirmed
    • Survival

      The bug

      Witches that have drank a fire resistant potion will no longer despawn if they are farther than 32m from a player but less than 128m from a player.

      Hostile mobs normally despawn over time when farther than 32m but less than 128m from a player. Witches that have not drank a fire resistant potion will follow these rules. But if the witch drinks a fire resistant potions it will no longer follow these rules.

      How to reproduce

      1. Place a witch inside a glass box with it standing on a magma block or lava. (see picture)
      2. Move the player 40m away from the witch.
      3. Wait indefinitely for the witch to despawn.

      May also work with any potions the witch drinks.
      These witches will still despawn if the player goes farther than 128m from them.

      Code analysis

      Code analysis by gnembon can be found in this comment.

            rockenroll4life rockenroll4life (Josh Letellier)
            Rays Ray
            Votes:
            22 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: