SimpleLocation3D

data class SimpleLocation3D(x: Double, y: Double, z: Double)

Constructors

SimpleLocation3D
Link copied to clipboard
fun SimpleLocation3D(x: Number, y: Number, z: Number)

Functions

component1
Link copied to clipboard
operator fun component1(): Double
component2
Link copied to clipboard
operator fun component2(): Double
component3
Link copied to clipboard
operator fun component3(): Double
copy
Link copied to clipboard
fun copy(x: Double, y: Double, z: Double): SimpleLocation3D
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

chunk
Link copied to clipboard
val chunk: SimpleChunkLocation
x
Link copied to clipboard
val x: Double
y
Link copied to clipboard
val y: Double
z
Link copied to clipboard
val z: Double

Extensions

toVector
Link copied to clipboard
fun SimpleLocation3D.toVector(): Vector
withWorld
Link copied to clipboard
fun SimpleLocation3D.withWorld(world: World): Location