Class ServerChunkEvents

java.lang.Object
net.fabricmc.fabric.api.event.lifecycle.v1.ServerChunkEvents

public final class ServerChunkEvents
extends Object
  • Field Details

    • CHUNK_LOAD

      public static final Event<ServerChunkEvents.Load> CHUNK_LOAD
      Called when an chunk is loaded into a ServerWorld.

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

    • CHUNK_UNLOAD

      public static final Event<ServerChunkEvents.Unload> CHUNK_UNLOAD
      Called when an chunk is unloaded from a ServerWorld.

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