1

So I'm in the water and there's a skeleton above me shooting me only have one heart left I logged off the server will the skeleton despawn?

  • Aggressive mobs aren't permanent, so yes, getting off the game and back on will clear the skeleton. If you're avoiding death in a cheaty way why not just keepInventory true? – DH. Mar 27 '16 at 19:36
  • 1
    @DH If you unload a chunk in that way hostiles won't despawn, only when leaving chunk normally. – Little Helper Mar 27 '16 at 19:37
3

If you are playing single player then it should not despawn. You must leave the chunks and when they unload mobs can despawn.

Accordin to this stackexchange answer:

As of Minecraft 1.8, these are the two main despawning rules:

If a mob has not been within 32 blocks1 of a player for more than 30 seconds, it has a 1 in 800 chance every tick of despawning (about 1 in 40 every second) If there are no players within a 128 block radius2 of a mob, it will instantly despawn

Exceptions:

Mobs with nametags will never despawn, except... Mobs which have picked up items (i.e. were not spawned with that item) will never despawn, except... When the gamemode is set to peaceful, all hostile mobs will despawn (including those with nametags, or those who have picked up items) Passive mobs will never despawn (except chickens originally spawned as chicken jockeys, which will follow zombie despawning rules)

If you log off and there are no other players online, the server should immediately unload all chunks and all mobs within.

How long do monsters take to despawn?

Edit: I found an interesting fact while searching the wiki that may help in this type of situation,

If a hostile mob is tracking a player, the player can separate him or herself and the mob through a wall, relog, and the mob will no longer be tracking the player.

|improve this answer|||||
0

No, unless you exit without saving. But if you had just done something big in the world that would not be ideal.

If you have cheats enabled, here is a command that can help:

/kill @e[type=Skeleton]

That should help, this command also works for any mob.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.