FakeWorldBorderBuilder

DSL builder for configuring a fake world border sent to a player.

Properties

Link copied to clipboard
abstract var centerX: Double

The X coordinate of the border center.

Link copied to clipboard
abstract var centerZ: Double

The Z coordinate of the border center.

Link copied to clipboard
abstract var lerpTime: Long

The transition duration in milliseconds.

Link copied to clipboard
abstract var oldSize: Double

The previous border diameter (used for lerp animation).

Link copied to clipboard
abstract var size: Double

The current border diameter in blocks.

Link copied to clipboard
abstract var warningBlocks: Int

The distance from the border at which the warning overlay appears.

Link copied to clipboard
abstract var warningTime: Int

The time in seconds before the border reaches the player that the warning appears.