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

spool / MobOptions

Interface: MobOptions โ€‹

Defined in: plugins/mob/types.ts:6

Options for MobBuilder.build.

Properties โ€‹

tickEvery? โ€‹

optional tickEvery?: number

Defined in: plugins/mob/types.ts:8

How often, in ticks, the caller runs Mob.tick (default 2). Gesture timings are counted in these polls.


wakeRange? โ€‹

optional wakeRange?: number

Defined in: plugins/mob/types.ts:14

How near a player must be for the mob to run at all. Default 48, checked once a second.

Keep it above the mob's FOLLOW_RANGE so it wakes before it aggros.

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