Interface IChunkLoader

All Known Implementing Classes:
AnvilChunkLoader

public interface IChunkLoader
  • Method Summary

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

    • 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.