Class ChunkEvent.Load

java.lang.Object
net.minecraftforge.eventbus.api.Event
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
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.
  • Constructor Details