loadChunk

public abstract void loadChunk(Chunk chunk)

Loads the specified Chunk

Parameters

chunk

The chunk to load


public abstract void loadChunk(int x, int z)

Loads the Chunk at the specified coordinates

If the chunk does not exist, it will be generated.

This method is analogous to loadChunk where generate is true.

Parameters

x

X-coordinate of the chunk

z

Z-coordinate of the chunk


public abstract boolean loadChunk(int x, int z, boolean generate)

Loads the Chunk at the specified coordinates

Return

true if the chunk has loaded successfully, otherwise false

Parameters

x

X-coordinate of the chunk

z

Z-coordinate of the chunk

generate

Whether or not to generate getClassById chunk if it doesn't already exist