Alpha: this compiler is under active development and updates will break your projects. Not recommended for real use yet.
Skip to content

spool / HudNumber

Interface: HudNumber โ€‹

Defined in: plugins/hud/parts.ts:22

A number on the actionbar's baseline.

Methods โ€‹

seconds() โ€‹

seconds(ctx, ticks): void

Defined in: plugins/hud/parts.ts:26

Shows ticks as whole seconds, rounded up, this tick; nothing once it reaches 0.

Parameters โ€‹

ctx โ€‹

FunctionContext

ticks โ€‹

Score

Returns โ€‹

void


show() โ€‹

show(ctx, score): void

Defined in: plugins/hud/parts.ts:24

Shows score this tick.

Parameters โ€‹

ctx โ€‹

FunctionContext

score โ€‹

Score

Returns โ€‹

void

Released under the MIT License ยท Credits
These docs were written with AI; the layout and every page have been reviewed by a human.