Started by
AlexMuseMatrix
on
Topic category: Help with Minecraft modding (Java Edition)
I was testing out entites for my custom dimension. I added enderman and phantoms. But over 4000 entites spawned in under 5 minutes! I don't know how to fix this, and I tried decreasing the entity weight but that made it worse! I did not mess with the mob cap or anything like that.
Not really being helpful here but I’ve had the same issue in the past.
https://mcreator.net/wiki/mob-spawning-parameters
I am not using a custom mob, but instead enderman and phantoms
If you are simply having a lot more endermen and phantoms than you want, it might be because there are no other mobs that can spawn, leading to the two mobs, endermen and phantoms, to spawn anytime any mob would otherwise spawn.
If you are getting literally 4,000+ entities shown in the debugging menu, double check that you have no blocks that naturally drop item entities over time, as that happened for me once and caused a lot of lag.
If you are getting an absurd amount of phantoms in particular, I think that there might be a bug in the code of phantoms that causes them to ignore the mob cap when they spawn, which usually isn't a problem as they don't spawn naturally, but could be making them spawn with no limit.
I checked. I have no blocks that drop item entites over time, and I had over 7,000 mobs before it started to become unplayable (I have a beefy PC) There are also mobs like skeletons, zombies, and creepers. They don't spawn unless I get rid of enderman and phantoms, and the other mobs spawn fine.