SleepyTrousers / EnderIO-1.5-1.12

http://enderio.com/
The Unlicense
728 stars 355 forks source link

Powered Spawner (zombie) not following the rules? #1146

Closed tgstyle closed 8 years ago

tgstyle commented 9 years ago

No matter what I do I cannot get the Zombie spawner to stay in an area like I can with spider or skeleton. It will always spawn mobs outside it's range, WAY outside it's range. Even next to the player...

tgstyle commented 9 years ago

This is on an SMP server.

tterrag1098 commented 9 years ago

Vanilla spawns zombies nearby when another is hit by a player. I have a feeling this is what's happening.

tgstyle commented 9 years ago

What if vanilla spawn is disabled?

tgstyle commented 9 years ago

Also i'm using a killer joe, is there any way to prevent it?

tterrag1098 commented 9 years ago

Can it be? On Oct 22, 2014 6:26 PM, "tgstyle" notifications@github.com wrote:

What if vanilla spawn is disabled?

— Reply to this email directly or view it on GitHub https://github.com/CrazyPants/EnderIO/issues/1146#issuecomment-60165850.

tgstyle commented 9 years ago

Vanilla spawn can be disabled with a gamerule, I have not done it, I was just wondering.

tterrag1098 commented 9 years ago

That probably would fix it, I will have to see if it can be fixed in code. On Oct 22, 2014 6:29 PM, "tgstyle" notifications@github.com wrote:

Vanilla span can be disable with a gamerule, I have not done it I was just wondering.

— Reply to this email directly or view it on GitHub https://github.com/CrazyPants/EnderIO/issues/1146#issuecomment-60166224.

Piddu commented 9 years ago

A zombie if being attacked by an entity can call "reinforcements" in a 80 x 80 x 80 cube centered on him. Basically they make spawn others. Killer Joes or autonomus activators make zombies act with that behavior. MFR grinder doesn't make them call other zombies, but i think that the server still " calculates" those spawns..

I've noticed that this cause a lot of server troubles, when using powered spawners I've a mob farm with skeletons witches, blazes, and MFR spawner with withers. Everything runs smooth, but if i turn on just a single zombie spawner, the server start skipping ticks. Even if i turn off every other spawner. In particular even if the farm is already chunk loaded, the server skips ticks at higher rate if a player is in the farm chunk. Even if you stand flying above it 100+ blocks far, and the player is not in line of sight of zombies. I'am sure that this is not just FPS drop as someone would think at this point, since i've tested this by looking at the server console.

I suggest to make zombies spawned by PS, unable to call other zombies.

Maybe just add a new kind of zombie to EnderZOO, with same loot-table and aspect. Than let the player decide witch kind of zombie wants to spawn from the powered spawner gui