LocationWrapper

A wrapper class of location.

Parameters

world

world

x

x coordinate

y

y coordinate

z

z coordinate

pitch

player's pitch

yaw

player's yaw

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
@NotNull
open fun deserialize(@NotNull data: @NotNull JsonObject): @NotNull LocationWrapper
Finds location from JSON.
@NotNull
open fun deserialize(@NotNull data: @NotNull YamlObject): @NotNull LocationWrapper
Finds location from YAML.
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
@NotNull
open fun serialize(): @NotNull Map<String, Any>
Serializes to map.
Link copied to clipboard
abstract fun toString(): String