Class ClientChunkEvents

java.lang.Object
net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientChunkEvents

@Environment(CLIENT)
public final class ClientChunkEvents
extends Object
  • Field Details

    • CHUNK_LOAD

      public static final Event<ClientChunkEvents.Load> CHUNK_LOAD
      Called when a chunk is loaded into a ClientWorld.

      When this event is called, the chunk is already in the world.

    • CHUNK_UNLOAD

      public static final Event<ClientChunkEvents.Unload> CHUNK_UNLOAD
      Called when a chunk is about to be unloaded from a ClientWorld.

      When this event is called, the chunk is still present in the world.