net.minecraft.world.chunk.storage

## Interface IChunkLoader

- All Known Implementing Classes:
    AnvilChunkLoader

      public interface IChunkLoader

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `chunkTick()` Called every World.tick()
    `Chunk` | `loadChunk(World var1, int var2, int var3)` Loads the specified(XZ) chunk into the specified world.
    `void` | `saveChunk(World var1, Chunk var2)`
    `void` | `saveExtraChunkData(World var1, Chunk var2)` Save extra data associated with this Chunk not normally saved during autosave, only during chunk unload.
    `void` | `saveExtraData()` Save extra data not associated with any Chunk.

- - ### Method Detail

    - #### loadChunk

          Chunk loadChunk(World var1,
                        int var2,
                        int var3)
                          throws IOException

      Loads the specified(XZ) chunk into the specified world.
      Throws:
        `IOException`

    - #### saveChunk

          void saveChunk(World var1,
                       Chunk var2)
                         throws MinecraftException,
                                IOException

      Throws:
        `MinecraftException`
        `IOException`

    - #### saveExtraChunkData

          void saveExtraChunkData(World var1,
                                Chunk var2)

      Save extra data associated with this Chunk not normally saved during autosave, only during chunk unload. Currently unused.

    - #### chunkTick

          void chunkTick()

      Called every World.tick()

    - #### saveExtraData

          void saveExtraData()

      Save extra data not associated with any Chunk. Not saved during autosave, only during world unload. Currently unused.