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
ChunkEvent.Load is fired when vanilla Minecraft attempts to load a Chunk into the world.
This event is fired during chunk loading in
Chunk.onChunkLoad().
Note: This event may be called before the underlying
This event is not
This event does not have a result.
This event is fired on the
This event is fired during chunk loading in
ClientChunkCache.replaceWithPacketData(int, int, ChunkBiomeContainer, FriendlyByteBuf, CompoundTag, BitSet)
, Chunk.onChunkLoad().
Note: This event may be called before the underlying
LevelChunk
is promoted to ChunkStatus.FULL
. You will cause chunk loading deadlocks if you don't delay your world interactions.This event is not
Cancelable
.This event does not have a result.
Event.HasResult
This event is fired on the
MinecraftForge.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.Save
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraftforge.event.world.ChunkEvent
getChunk
Methods inherited from class net.minecraftforge.event.world.WorldEvent
getWorld
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
-
Constructor Details
-
Load
-