Appearance
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.
| Plugin | Adds |
|---|---|
holding | held-item checks |
entity_set | dp.entitySet(name), a tagged group so you skip @e scans |
clip | cutscenes and keyframed animation |
native | ctx.native(): Paper plugin calls with a vanilla fallback |
player_motion | player impulses and velocity |
raycast | raycasting |
grapple | grapple 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.