For the complete documentation index, see llms.txt. This page is also available as Markdown.

renderer.drawCircle

drawCircle(center, radius, segments, color, width, depth): void

Draws a horizontal ring on the XZ plane, centered on the given position.

Parameters

center

Vec3

The center position in world coordinates.

radius

number

The radius in blocks.

segments

number

The number of segments (3-256; higher is smoother).

color

Color

The line color.

width

number

The line width in pixels (0.1-64).

depth

boolean

Whether the ring is hidden behind blocks.

Returns

void

Last updated