mojira.dev
MC-198101

Phantoms do not have a mob cap, causing performance issues

I made a world with friends to play minecraft 1.16.2 with. The new release!
We decided to make a world where it's always night using the commands:
/gamerule doDaylightCycle false & /time set midnight
But now phantoms never die and its lagging my game, why do phantoms not have a limit like other mobs?

This is a big issue, we no longer want to play the game since there are so many phantoms. I took photo, we have been playing for a week now. Using tunnels to go from base to base since it's too crazy going outside!

Please fix this!

Attachments

Comments 19

This is because Phantoms do not have a mobcap. That looks like a serious issue tho, Phantoms should have some type of way to limit there spawn without having to use the gamerule doInsomnia. They're one of the few mobs which can spawn with no restrictions, really ruining the gameplay and wasting players time. If there was a way to prevent them then it would be fine.

Also in a world where it's always night, sleeping should not be the fix to the problem. Sleeping is to skip night, sometimes you want night without phantoms. (Just tested this, Phantoms don't stop spawning when sleeping during night anyways, that's fine)

Your roof is also transparent, not helping the situation at all since it means they can spawn while you are in your house.

The players on the server don't want to disable the phantoms since we need phantoms to repair the few elytra's we have.

I don't want to remove my skyroof, that is a stupid problem.

Don't know if they follow the natural spawning algorithm but even at full mobcap/mobswitch on
phantoms can spawn 

If you quickly go in and out of a bed, it can reset your insomnia timer without changing the time of day outside.

This does not fix the issue where an endless amount of phantoms would spawn. Even having the phantoms despawn after a certain amount of time is a bad idea. Minecraft added mobcaps for this exact reason.

9 more comments

Still in 21w05a 😉

Sadly, it works even in a single-player creative mode. This is what is possible in a

/gamerule doDaylightCycle false & /time set midnight

world within just 7 hours of afk:

[media]

Affects 1.19.4 and 23w17a

Cody Malstro

gnembon

Community Consensus

Gameplay

Normal

Mob behaviour, Performance

1.16.2, 1.16.3, 1.16.4 Pre-release 1, 1.16.4, 20w46a, ..., 21w39a, 1.19 Pre-release 5, 1.19, 1.19.4, 23w17a

Retrieved