BukkitLocation

Represents a Bukkit location wrapped as a PlatformLocation.

Since

2.0.0

Parameters

source

the source Bukkit location

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
@NotNull
open fun add(x: Double, y: Double, z: Double): @NotNull PlatformLocation
Link copied to clipboard
open fun distance(other: @NotNull PlatformLocation): Double
Link copied to clipboard
open fun distanceSquared(other: @NotNull PlatformLocation): Double
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
open fun pitch(): Float
Link copied to clipboard
@Nullable
open fun task(@NotNull runnable: @NotNull Runnable): @Nullable ModelTask
Link copied to clipboard
@Nullable
open fun taskLater(delay: Long, @NotNull runnable: @NotNull Runnable): @Nullable ModelTask
Link copied to clipboard
abstract fun toString(): String
Link copied to clipboard
@NotNull
open fun world(): @NotNull PlatformWorld
Link copied to clipboard
open fun x(): Double
Link copied to clipboard
open fun y(): Double
Link copied to clipboard
open fun yaw(): Float
Link copied to clipboard
open fun z(): Double