Package-level declarations

Types

Link copied to clipboard
data class BlockPos(val world: World, val x: Int, val y: Int, val z: Int)
Link copied to clipboard
data class ChunkPos(val worldUUID: UUID, val x: Int, val z: Int)

A position of a chunk.

Properties

Link copied to clipboard
val Location.chunkPos: ChunkPos

The ChunkPos of the Chunk at this Location.

val Block.chunkPos: ChunkPos

The ChunkPos of the Block at this position.

Link copied to clipboard
val Chunk.pos: ChunkPos

The ChunkPos of this Chunk.

val Location.pos: BlockPos
val Block.pos: BlockPos

Functions

Link copied to clipboard
fun BlockPosition.toNovaPos(world: World): BlockPos