LocationHolder

data class LocationHolder(    var worldName: String = "world",     var x: Double = 0.0,     var y: Double = 0.0,     var z: Double = 0.0,     var yaw: Float = 0.0f,     var pitch: Float = 0.0f)

A Location Wrapper for Config Files

Parameters

worldName

the name of the world

x

the x coordinate

y

the y coordinate

z

the z coordinate

yaw

the yaw

pitch

the pitch

Constructors

Link copied to clipboard
fun LocationHolder(    worldName: String = "world",     x: Double = 0.0,     y: Double = 0.0,     z: Double = 0.0,     yaw: Float = 0.0f,     pitch: Float = 0.0f)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val location: Location

Get a Location from a location holder

Link copied to clipboard
var pitch: Float = 0.0f
Link copied to clipboard
val world: World

The world of this location

Link copied to clipboard
var worldName: String
Link copied to clipboard
var x: Double = 0.0
Link copied to clipboard
var y: Double = 0.0
Link copied to clipboard
var yaw: Float = 0.0f
Link copied to clipboard
var z: Double = 0.0