Appearance
spool / GrappleOptions
Interface: GrappleOptions
Defined in: plugins/grapple/config.ts:11
Author-facing knobs for Datapack.grapple. All optional - the bare dp.grapple() reproduces the original behaviour (anchor on any solid block, 50-block reach). The handle is cached per Datapack, so the options passed to the first dp.grapple(...) call win; later calls return that same handle.
Properties
anchorOn?
optionalanchorOn?:BlockValue
Defined in: plugins/grapple/config.ts:18
Restrict which blocks a web can anchor to (a block id, or a tag via Block.tag("logs")). The raycast still stops at the first solid block; if that block doesn't match, the grapple simply fizzles (no anchor, no tag) instead of latching. Default: anchor on anything the ray hits.
maxReach?
optionalmaxReach?:number
Defined in: plugins/grapple/config.ts:20
Maximum web reach in blocks (the raycast length). Default 50.