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

Detect world change on 'respawn'? #3453

Closed
SinanAkkoyun opened this issue Sep 4, 2024 · 1 comment
Closed

Detect world change on 'respawn'? #3453

SinanAkkoyun opened this issue Sep 4, 2024 · 1 comment
Labels
new feature Stage1 just created by someone new to the project, we don't know yet if it deserves an implementation / a f

Comments

@SinanAkkoyun
Copy link

Hello! I am currently working on refining prismarine-viewer. One thing that stood out is when a bot joins a server's minigame, it renders the new worlds chunks into the old world (still saw the lobby after the minigame loaded)

I now implemented a 'reloadWorld' functionality in the viewer and trigger it on respawn, however respawn triggers on a dimension change AND when the player spawns from death.

Therefore, I want to ask: Is it possible to detect a world change? (so that I only reload the world when a world change occurs)

Thank you very much for the awesome library and in advance!

@SinanAkkoyun SinanAkkoyun added new feature Stage1 just created by someone new to the project, we don't know yet if it deserves an implementation / a f labels Sep 4, 2024
@SinanAkkoyun
Copy link
Author

#3454

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature Stage1 just created by someone new to the project, we don't know yet if it deserves an implementation / a f
Projects
None yet
Development

No branches or pull requests

1 participant