PrismarineJS / mineflayer

Create Minecraft bots with a powerful, stable, and high level JavaScript API.
https://prismarinejs.github.io/mineflayer/
MIT License
5.14k stars 927 forks source link

Added `switchWorld` event #3454

Open SinanAkkoyun opened 2 months ago

SinanAkkoyun commented 2 months ago

This PR implements the switchWorld event, which only fires when the world is being switched (like overworld => end or lobby -> minigame) and not upon death