get

fun get(level: Int, zoneX: Int, zoneZ: Int): ShortArray?

Gets the array of indices at the provided zone coordinate (not to be confused with coord grids).

Return

a short array containing the indices of all the elements in the array. The array may contain 65535 values at the end, which should be ignored as they imply an open spot for future additions.

Parameters

level

the level at which the zone is

zoneX

the zone x coordinate, obtained via coordGrid.x shr 3

zoneZ

the zone z coordinate, obtained via coordGrid.z shr 3