Skip to content

Conversation

@Nischhelm
Copy link
Contributor

created concurrentmodificationexceptions for me about 10 times per day on a server. it was missing one line that forge probably added after that foamfix patch was made (2017)

created concurrentmodificationexceptions for me about 10 times per day on a server. it was missing one line that forge probably added after that foamfix patch was made (2017)
@Nischhelm
Copy link
Contributor Author

testing this fix for the next few days on my server, will undraft if it works

@Nischhelm
Copy link
Contributor Author

still crashes, will have to modify further

checking with @debug revealed that it didnt apply the mixin at all. i guess with some mixin magic (mixin into worldserver instead of the patch class of foamfix?) it could be done but this should work too

will test on my server
@Nischhelm Nischhelm marked this pull request as ready for review August 3, 2025 17:56
@Nischhelm
Copy link
Contributor Author

i fat fingered that "ready for review" button, will first test for the next few days on server

@Nischhelm
Copy link
Contributor Author

still crashes, added logging now

"Actually now that i have a bit better knowledge of the spawning logic, skipping not fully loaded chunks might have been the better move after all. Vanilla varies its mob cap depending on how many of the expected eligiblechunks are actually eligible
So with low render it would just reduce mob cap automatically. With my old fix it would still fill up the loaded chunks with the full mobcap,  but with the usual speed "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant