Skip to content

Fix isPositionClear force loading chunks exponentially#12

Open
RequiDev wants to merge 1 commit intoNyfaria:1.20.xfrom
RequiDev:patch-1
Open

Fix isPositionClear force loading chunks exponentially#12
RequiDev wants to merge 1 commit intoNyfaria:1.20.xfrom
RequiDev:patch-1

Conversation

@RequiDev
Copy link

@RequiDev RequiDev commented Sep 6, 2025

I'm not 100% sure about this line of code, but to me it very much seems like, it's checking non-loaded chunks for position checks, which forces those chunks to load (can be observed with spark having loaded 7000 chunks when just sitting at spawn in single-player with a bunch of spiders).

At least when testing, the spiders still move as they're supposed to and the previously observed lag is gone.

Other versions may also be affected.

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