ServerPos3d
class ServerPos3d @JvmOverloads constructor(world: McServerWorld?, var x: Double, var y: Double, var z: Double, var yaw: Float = 0.0f, var pitch: Float = 0.0f)
Represents a mutable position in the world, similar to a "Location" in Bukkit.
This class defines a 3D position within the Minecraft world, including coordinates (x, y, z) and orientation (yaw and pitch).
Constructors
Properties
Functions
Link copied to clipboard
Calculates the squared distance between this position and another position.
Link copied to clipboard
Converts this server position to a simple 3D position (x, y, z) represented by Pos3d.