Package net.minecraftforge.event.world
Class ChunkEvent.Load
- java.lang.Object
-
- net.minecraftforge.eventbus.api.Event
-
- net.minecraftforge.event.world.WorldEvent
-
- net.minecraftforge.event.world.ChunkEvent
-
- net.minecraftforge.event.world.ChunkEvent.Load
-
- Enclosing class:
- ChunkEvent
public static class ChunkEvent.Load extends ChunkEvent
ChunkEvent.Load is fired when vanilla Minecraft attempts to load a Chunk into the world.
This event is fired during chunk loading in
ChunkProviderClient#loadChunk(int, int)
,
Chunk.onChunkLoad().
Note: This event may be called before the underlyingChunk
is promoted toChunkStatus.FULL
. You will cause chunk loading deadlocks if you don't delay your world interactions.
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.ChunkEvent
ChunkEvent.Load, ChunkEvent.Unload
-
Nested classes/interfaces inherited from class net.minecraftforge.event.world.WorldEvent
WorldEvent.CreateSpawnPosition, WorldEvent.PotentialSpawns, WorldEvent.Save
-
-
Method Summary
-
Methods inherited from class net.minecraftforge.event.world.ChunkEvent
getChunk
-
Methods inherited from class net.minecraftforge.event.world.WorldEvent
getWorld
-
-
-
-
Constructor Detail
-
Load
public Load(IChunk chunk)
-
-