bettermodel
Toggle table of contents
3.1.0-SNAPSHOT-495
bettermodel-bukkit-api
Target filter
bettermodel-bukkit-api
Switch theme
Search in API
Skip to content
bettermodel
bettermodel-bukkit-api
/
kr.toxicity.model.api.bukkit.platform
/
BukkitLocation
Bukkit
Location
class
BukkitLocation
:
Record
,
PlatformLocation
Represents a Bukkit location wrapped as a
PlatformLocation
.
Since
2.0.0
Parameters
source
the source Bukkit location
Members
Constructors
Bukkit
Location
Link copied to clipboard
constructor
(
)
Functions
add
Link copied to clipboard
@
NotNull
open
fun
add
(
x
:
Double
,
y
:
Double
,
z
:
Double
)
:
@
NotNull
PlatformLocation
distance
Link copied to clipboard
open
fun
distance
(
other
:
@
NotNull
PlatformLocation
)
:
Double
distance
Squared
Link copied to clipboard
open
fun
distanceSquared
(
other
:
@
NotNull
PlatformLocation
)
:
Double
equals
Link copied to clipboard
abstract
fun
equals
(
p
:
Any
)
:
Boolean
hash
Code
Link copied to clipboard
abstract
fun
hashCode
(
)
:
Int
pitch
Link copied to clipboard
open
fun
pitch
(
)
:
Float
task
Link copied to clipboard
@
Nullable
open
fun
task
(
@
NotNull
runnable
:
@
NotNull
Runnable
)
:
@
Nullable
ModelTask
task
Later
Link copied to clipboard
@
Nullable
open
fun
taskLater
(
delay
:
Long
,
@
NotNull
runnable
:
@
NotNull
Runnable
)
:
@
Nullable
ModelTask
to
String
Link copied to clipboard
abstract
fun
toString
(
)
:
String
world
Link copied to clipboard
@
NotNull
open
fun
world
(
)
:
@
NotNull
PlatformWorld
x
Link copied to clipboard
open
fun
x
(
)
:
Double
y
Link copied to clipboard
open
fun
y
(
)
:
Double
yaw
Link copied to clipboard
open
fun
yaw
(
)
:
Float
z
Link copied to clipboard
open
fun
z
(
)
:
Double