border

object border

World border object to get border parameters

Functions

Link copied to clipboard
fun getCenterX(): Double

Gets the border center x location.

Link copied to clipboard
fun getCenterZ(): Double

Gets the border center z location.

Link copied to clipboard
fun getSize(): Int

Gets the border size.

Link copied to clipboard
fun getTargetSize(): Double

Gets the border target size.

Link copied to clipboard
fun getTimeUntilTarget(): Long

Gets the border time until the target size is met.

Sources

Link copied to clipboard