Detect world change on 'respawn'? #3453
Labels
new feature
Stage1
just created by someone new to the project, we don't know yet if it deserves an implementation / a f
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!
The text was updated successfully, but these errors were encountered: