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

spool / GrappleOptions

Interface: GrappleOptions โ€‹

Defined in: plugins/grapple/state/config.ts:10

Options for Datapack.grapple. All optional. The handle is cached per pack, so options from the first call win.

Properties โ€‹

anchorOn? โ€‹

optional anchorOn?: Block

Defined in: plugins/grapple/state/config.ts:15

Blocks a web can anchor to (a block id or Block.tag(...)). Default: any block. The ray still stops at the first solid block; if it doesn't match, the grapple fizzles.


maxReach? โ€‹

optional maxReach?: number

Defined in: plugins/grapple/state/config.ts:17

Maximum web reach in blocks (the raycast length). Default 50.


releaseWhen? โ€‹

optional releaseWhen?: Condition

Defined in: plugins/grapple/state/config.ts:19

Releases a grappling player when this holds, checked as them in the drive loop so it costs no scan of its own.

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