visualizeDistance

abstract fun visualizeDistance(radius: Int, hexColor: Int)

Visualizes a sphere distance if the client has enabled this feature.

Parameters

radius

The sphere radius.

hexColor

The hexadecimal color (e.g., 0x00a000).


open fun visualizeDistance(radius: Int)

Visualizes a sphere distance with the default color (0x00a000) if the client has enabled this feature.

Parameters

radius

The sphere radius.


abstract fun visualizeDistance(@NotNull position: @NotNull Pos3d, radius: Int, hexColor: Int)

Visualizes a sphere distance at a specific position if the client has enabled this feature.

Parameters

position

The position where the sphere should be visualized.

radius

The sphere radius.

hexColor

The hexadecimal color (e.g., 0x00a000).


open fun visualizeDistance(@NotNull position: @NotNull Pos3d, radius: Int)

Visualizes a sphere distance at a specific position with the default color (0x00a000) if the client has enabled this feature.

Parameters

position

The position where the sphere should be visualized.

radius

The sphere radius.