Skip to content

pocketmine\event\world ​

Classes ​

NameKindSummary
ChunkEventclassChunk-related events
ChunkLoadEventclassCalled when a Chunk is loaded or newly created by the world generator
ChunkPopulateEventclassCalled when a Chunk is fully populated by the world generator
ChunkUnloadEventclassCalled when a Chunk is unloaded from memory
LightningStrikeEvent 5.46.0classCalled when a lightning bolt is about to strike (before it is spawned)
SpawnChangeEventclassAn event that is called when a world spawn changes
WeatherChangeEvent 5.46.0classCalled when the weather of a world is about to change (natural cycle, /weather, sleeping through the night or a plugin)
WorldDifficultyChangeEventclassCalled when a world's difficulty is changed
WorldDisplayNameChangeEventclassCalled when a world's display name is changed
WorldEventclass
WorldInitEventclassCalled when a new world is created/generated
WorldLoadEventclassCalled when a world is loaded or newly created/generated
WorldParticleEventclass
WorldSaveEventclassCalled when a world is saved
WorldSoundEventclassCalled when a sound is played in a world
WorldUnloadEventclassCalled when a world is unloaded from memory

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.