Endermen don't despawn #2522

Closed
opened 2022-08-05 14:24:33 +02:00 by SumianVoice · 8 comments
Member
  1. Open a flat world
  2. Set time to 0
  3. Wait for some time for endermen to spawn
  4. Set time to 7000 / day
  5. Note that they will not despawn
1. Open a flat world 2. Set time to 0 3. Wait for some time for endermen to spawn 5. Set time to 7000 / day 4. Note that they will not despawn
Contributor

Here's an old and long thread in Despawning Discussion: #964.

Here's an old and long thread in **Despawning Discussion**: #964.
Contributor

Oh they do despawn dw. but it will take a while and some luck yes - watch for "despawned in mob step" or sth in the log.

Oh they do despawn dw. but it will take a while and some luck yes - watch for "despawned in mob step" or sth in the log.
Contributor

they do not exactly despawn according to minecraft rules though and I did think it needs a bit of tweaking too since their mob cap is high (as all monsters).

they do not exactly despawn according to minecraft rules though and I did think it needs a bit of tweaking too since their mob cap is high (as all monsters).
Contributor

should they like generally despawn when it's day ? Maybe that should just be implemented in enderman.lua itsself since other monsters just burst in flames right ?

should they like generally despawn when it's day ? Maybe that should just be implemented in enderman.lua itsself since other monsters just burst in flames right ?
Author
Member

In MC they lose aggro on daytime and teleport away from the player. If they teleport into sunlight too many times I think they despawn. Endermen in sunlight will teleport, and I think they usually despawn as a result.

In MC they lose aggro on daytime and teleport away from the player. If they teleport into sunlight too many times I think they despawn. Endermen in sunlight will teleport, and I think they usually despawn as a result.
Contributor

From the wiki:

An aggravated enderman pursues the player until it is either killed or distracted by external elements, such as rain *** or fire. They do not take damage from sunlight like undead mobs, but teleport randomly around until finding a dark spot if not already pursuing a player. During rain or daybreak, they teleport away to underground locations, such as caves.

*** That's not 100% accurate according to my testing. They either have a timer or health check when taking damage from external elements, and teleport away from that kind of damage, but they also try to damage the player who provoked them, meaning they will teleport back for the player - going back and forth. I tested this during rain.

Endermen can be harmed by melee attacks, water, lava, fire, splash water bottles, or rain. They are not damaged when standing in a filled cauldron‌[Java Edition only]. Endermen teleport away when they take damage from any of natural sources (1♥), continuing to do so until they find a dry location. They also teleport while taking damage from other sources, such as suffocation, poison, or wither.

They can despawn just as other hostiles, but only if they're not "moving blocks":

It does not despawn while holding a block.

From [the wiki](https://minecraft.fandom.com/wiki/Enderman#Behavior): > An aggravated enderman pursues the player until it is either killed or distracted by external elements, such as rain *** or fire. They do not take damage from sunlight like undead mobs, but teleport randomly around until finding a dark spot if not already pursuing a player. During rain or daybreak, they teleport away to underground locations, such as caves. *** That's not 100% accurate according to my testing. They either have a timer or health check when taking damage from external elements, and teleport away from that kind of damage, but they also try to damage the player who provoked them, meaning they will teleport back for the player - going back and forth. I tested this during rain. > Endermen can be harmed by melee attacks, water, lava, fire, splash water bottles, or rain. They are not damaged when standing in a filled cauldron‌[Java Edition only]. Endermen teleport away when they take damage from any of natural sources (1♥), continuing to do so until they find a dry location. They also teleport while taking damage from other sources, such as suffocation, poison, or wither. They **can** despawn just as other hostiles, but only if they're not "[moving blocks](https://minecraft.fandom.com/wiki/Enderman#Moving_blocks)": > It does not despawn while holding a block.
AFCMS added the
mobs
label 2022-08-26 10:47:36 +02:00

I had this same issue. Endermen were spawning in a cave. Had about 10 in one small area, while everything else despawned or went. It made going through there quite dangerous as getting past them without aggroing was challenging.

I had this same issue. Endermen were spawning in a cave. Had about 10 in one small area, while everything else despawned or went. It made going through there quite dangerous as getting past them without aggroing was challenging.
ancientmarinerdev added this to the 0.82.0 - Bamburgered milestone 2023-01-04 14:36:25 +01:00

MineClone2/MineClone2#3190 has all the needed information in but was a duplicate so closing. Please check for cause and solution.

https://git.minetest.land/MineClone2/MineClone2/issues/3190 has all the needed information in but was a duplicate so closing. Please check for cause and solution.
ancientmarinerdev added the
#P3: elevated
label 2023-01-04 14:54:11 +01:00
Sign in to join this conversation.
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: VoxeLibre/VoxeLibre#2522
No description provided.