BlockKey

data class BlockKey(val world: String, val x: Int, val y: Int, val z: Int)

Immutable key identifying a block position within a world (by name). Used as the spatial index key in LocationStore; a plain data class so equality/hashing come for free and lookups are O(1).

Constructors

Link copied to clipboard
constructor(world: String, x: Int, y: Int, z: Int)

Properties

Link copied to clipboard
Link copied to clipboard
val x: Int
Link copied to clipboard
val y: Int
Link copied to clipboard
val z: Int