World events¶
This is the complete list of world events. See the event list for how to read the table.
| Event | When it happens | Can you cancel it? |
|---|---|---|
AsyncStructureGenerateEvent |
A structure is generated. This one runs in the background. | No |
AsyncStructureSpawnEvent |
A structure is about to spawn. This one runs in the background. | Yes |
ChunkLoadEvent |
A chunk loads | No |
ChunkPopulateEvent |
A new chunk gets its natural features, like trees and ores | No |
ChunkUnloadEvent |
A chunk unloads | No |
EntitiesLoadEvent |
The entities in a chunk load | No |
EntitiesUnloadEvent |
The entities in a chunk unload | No |
GenericGameEvent |
Something happens that Minecraft counts as a game event, like a vibration | Yes |
LootGenerateEvent |
Loot is generated for a container or a mob | Yes |
PortalCreateEvent |
A portal is created | Yes |
SpawnChangeEvent |
The world's spawn point changes | No |
StructureGrowEvent |
A tree or giant mushroom grows | Yes |
TimeSkipEvent |
Time skips ahead, like when everyone sleeps through the night | Yes |
WorldInitEvent |
A world is initialized | No |
WorldLoadEvent |
A world loads | No |
WorldSaveEvent |
A world saves | No |
WorldUnloadEvent |
A world unloads | Yes |