public class WorldEvent extends Event
Modifier and Type | Class and Description |
---|---|
static class |
WorldEvent.CreateSpawnPosition
Called by WorldServer when it attempts to create a spawnpoint for a dimension.
|
static class |
WorldEvent.Load
WorldEvent.Load is fired when Minecraft loads a world.
|
static class |
WorldEvent.PotentialSpawns
Called by WorldServer to gather a list of all possible entities that can spawn at the specified location.
|
static class |
WorldEvent.Save
WorldEvent.Save is fired when Minecraft saves a world.
|
static class |
WorldEvent.Unload
WorldEvent.Unload is fired when Minecraft unloads a world.
|
Event.HasResult, Event.Result
Constructor and Description |
---|
WorldEvent(World world) |
Modifier and Type | Method and Description |
---|---|
World |
getWorld() |
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup