Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-55270

Phantoms are not despawning in Peaceful Difficulty

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • None
    • 1.17.11 Hotfix, 1.16.100.54 Beta, 1.16.0.66 Beta, 1.13.3, 1.13.1, 1.13.0, 1.14.1.2 Beta, 1.14.30 Hotfix, 1.14.60 Hotfix, 1.16.20, 1.16.201 Hotfix, 1.18.1 Hotfix
    • None
    • Confirmed
    • Multiple
    • 274828

      Since the last update 1.13.0 phantoms have been occasionally spawning when the game is set to peaceful difficulty.  They remain passive until the game is set to a difficulty other than peaceful. 

      Technical details from Auldrick:

      It used to be that monsters in chunks outside of ticked areas were not deleted when you set the difficulty to peaceful, so if you visited an area during the night with normal difficulty, left while it was still dark, and then switched to peaceful and went back there, one of two things would happen:

      • If it was daylight when you went back, the hostile mobs would still be there and the undead ones would catch fire and burn to death.
      • If it was night when you went back, the hostile mobs would still be there and would target you if you were close enough.

      Mojang recently made changes that included causing some mobs to despawn more frequently. Perhaps at that time, they arranged for hostile mobs outside the player's ticking area to despawn as well, because the above scenario no longer occurs. Instead, if you return to the area during the day, the hostile mobs are simply gone. Except for phantoms. Any phantoms you left behind in the darkness will still be there when you return, even if the difficulty is set to peaceful.

      Steps to reproduce:

      1. Select a world you haven't slept in for several days, so that phantoms will spawn in it.
      2. In creative mode with difficulty set to normal, find a good sized plain (for visibility's sake).
      3. Set the time to night. Watch for a bunch of monsters to spawn, including phantoms.
      4. Fly (or teleport) at least 200 blocks away.
      5. Set the time to noon. Set the difficulty to peaceful.
      6. Fly or teleport back to the plain.

      Expected results:
      All the monsters are gone.

      Actual results:
      All the monsters except phantoms are gone. The phantoms are there and start burning as soon as you get within ticking range.

            ExsharkV Mikaela Kennedy
            Votes:
            16 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: