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

Spool - conveniences ​

spool is a set of opt-in plugins built on helix's public API. Nothing is on until you install it.

ts
import { installKit } from "spool";
import { holding } from "spool/plugins/holding";

installKit([holding]);

Install plugins ​

installKit([...]) adds each plugin's methods to helix's classes (e.g. dp.playerMotion). It installs dependencies first and each plugin once.

PluginAdds
holdingheld-item checks
entity_setdp.entitySet(name), a tagged group so you skip @e scans
clipcutscenes and keyframed animation
nativectx.native(): Paper plugin calls with a vanilla fallback
player_motionplayer impulses and velocity
raycastraycasting
grapplegrapple swing, on player_motion

Import each from spool/plugins/<name>.

Write a plugin ​

A plugin is { name, deps?, install() }. Use only helix's public exports; if you need something that isn't public, add it to helix first.

See also ​

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