Voxelands Forum

The official Voxelands discussion forum

You are not logged in.

#1 2016-05-02 22:35:11

Chief Videologist
From: Germany
Registered: 2015-11-25
Posts: 19

Despawning mobs

I've encountered maps, especially on multiplayer-servers, that were overrun by mobs like sheep, deer and many many fish in the water. It 'seems' (i don't know) that mobs slow down a server.
maybe there should be an routine which checks if a player is currently around. If so, it lets some kind of mob spawn in the chunk near the player. If not, or the server is generally empty, the routine lets mobs despawn.

Don't know if its an easy task but if its somehow possible, I would appreciate it.


Videos about Voxelands @ https://www.youtube.com/user/Meldrian1986 [German]


#2 2016-05-04 06:43:13

Registered: 2013-10-05
Posts: 762

Re: Despawning mobs

Mobs die after an in-game week, or less for some. (Though this is an active week, they must have been reasonably near a player).
If there are mobs on a chunk, no new mobs will spawn on that chunk.

Support Voxelands on Patreon: https://www.patreon.com/voxelands


Board footer

Powered by FluxBB