IChunkLoader .java

net.minecraft.world.chunk.storage.IChunkLoader (interface): members: saveExtraChunkData, chunkTick, saveChunk, loadChunk, saveExtraData. imports: Chunk.

net.minecraft.world.chunk.storageinterface34 linescommon947 B

API Surface (0)

No public/protected methods detected (fields or constants only).

Code Graph: Dependencies (3)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

IChunkLoader.java34 lines · MCP 1.8.9 · verbatimOriginal ↗
1
package net.minecraft.world.chunk.storage;
2
3
import java.io.IOException;
4
import net.minecraft.world.MinecraftException;
5
import net.minecraft.world.World;
6
import net.minecraft.world.chunk.Chunk;
7
8
public interface IChunkLoader
9
{
10
    /**
11
     * Loads the specified(XZ) chunk into the specified world.
12
     */
13
    Chunk loadChunk(World worldIn, int x, int z) throws IOException;
14
15
    void saveChunk(World worldIn, Chunk chunkIn) throws MinecraftException, IOException;
16
17
    /**
18
     * Save extra data associated with this Chunk not normally saved during autosave, only during chunk unload.
19
     * Currently unused.
20
     */
21
    void saveExtraChunkData(World worldIn, Chunk chunkIn) throws IOException;
22
23
    /**
24
     * Called every World.tick()
25
     */
26
    void chunkTick();
27
28
    /**
29
     * Save extra data not associated with any Chunk.  Not saved during autosave, only during world unload.  Currently
30
     * unused.
31
     */
32
    void saveExtraData();
33
}
34

Deobfuscated MCP 1.8.9 source of IChunkLoader from Marcelektro/MavenMCP-1.8.9 (net/minecraft/world/chunk/storage/IChunkLoader.java), stored verbatim.