Too many entites spawning in custom dimension

Started by AlexMuseMatrix on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 week ago
Joined Nov 2024
Points:
153

User statistics:

  • Modifications: 1
  • Forum topics: 17
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 77
Too many entites spawning in custom dimension

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.

Active 4 days ago
Joined Dec 2022
Points:
263

User statistics:

  • Modifications: 1
  • Forum topics: 5
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 11
Not really being helpful…
Wed, 01/08/2025 - 05:40

Not really being helpful here but I’ve had the same issue in the past.

Active 1 week ago
Joined Nov 2024
Points:
153

User statistics:

  • Modifications: 1
  • Forum topics: 17
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 77
I am not using a custom mob,…
Thu, 01/09/2025 - 18:07

I am not using a custom mob, but instead enderman and phantoms 

Active 6 hours ago
Joined Apr 2023
Points:
498

User statistics:

  • Modifications: 3
  • Forum topics: 19
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 395
If you are simply having a…
Thu, 01/09/2025 - 18:38

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.

Active 1 week ago
Joined Nov 2024
Points:
153

User statistics:

  • Modifications: 1
  • Forum topics: 17
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 77
I checked. I have no blocks…
Mon, 01/20/2025 - 20:12

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.