unloadChunk

abstract fun unloadChunk(x: Int, z: Int)

Unloads the chunk at the specified x and z coordinates if there is a chunk loaded. If there is no chunk loaded at the coordinates, this function simply returns.

Like loadChunk, these coordinates are chunk coordinates.

Parameters

x

the X coordinate

z

the Z coordinate