Package net.minecraftforge.event.world
Class WorldEvent.Load
- java.lang.Object
-
- net.minecraftforge.eventbus.api.Event
-
- net.minecraftforge.event.world.WorldEvent
-
- net.minecraftforge.event.world.WorldEvent.Load
-
- Enclosing class:
- WorldEvent
public static class WorldEvent.Load extends WorldEvent
WorldEvent.Load is fired when Minecraft loads a world.
This event is fired when a world is loaded inWorldClient#WorldClient(NetHandlerPlayClient, WorldSettings, int, EnumDifficulty, Profiler)
,MinecraftServer#loadAllWorlds(String, String, long, WorldType, String)
,IntegratedServer#loadAllWorlds(String, String, long, WorldType, String)
DimensionManager#initDimension(int)
, andForgeInternalHandler#onDimensionLoad(Load)
.
This event is notCancelable
.
This event does not have a result.Event.HasResult
This event is fired on theMinecraftForge#EVENT_BUS
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraftforge.event.world.WorldEvent
WorldEvent.CreateSpawnPosition, WorldEvent.Load, WorldEvent.PotentialSpawns, WorldEvent.Save, WorldEvent.Unload
-
-
Method Summary
-
Methods inherited from class net.minecraftforge.event.world.WorldEvent
getWorld
-
-
-
-
Constructor Detail
-
Load
public Load(IWorld world)
-
-