Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Villager wastes a lot of time loading. #39

Open
reamianv opened this issue Jun 1, 2024 · 3 comments
Open

Villager wastes a lot of time loading. #39

reamianv opened this issue Jun 1, 2024 · 3 comments

Comments

@reamianv
Copy link

reamianv commented Jun 1, 2024

image

It would be more efficient and much faster to load only the chunks where there is a player and the chunks are loaded directly from the player, rather than loading the Villager data all at once from scratch. Also, I would like to use an async method of loading VIllager data, it's too slow. Also, killing a Villager doesn't clean up the Villager's data, so it's permanently loaded on the server.

@reamianv
Copy link
Author

reamianv commented Jun 1, 2024

20240601_091836

@reamianv
Copy link
Author

reamianv commented Sep 19, 2024

Loading entity data from all worlds...

This process is taking too long. This process alone took 90 ~ 110 seconds
Change it to only checking for entities in the chunk when it is loaded.

@aematsubara
Copy link
Owner

I'll try a different approach for loading villager data

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

No branches or pull requests

2 participants