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

spool / CarryOptions

Interface: CarryOptions<K> โ€‹

Defined in: plugins/gui/types.ts:109

Options for Gui.carry.

Type Parameters โ€‹

K โ€‹

K extends string = string

Properties โ€‹

background? โ€‹

readonly optional background?: string

Defined in: plugins/gui/types.ts:121

The carried menu's background, if it differs from the barrel's.


edit? โ€‹

readonly optional edit?: CarryEdit<K>

Defined in: plugins/gui/types.ts:117

Edits the held item in place instead of crafting a new one; see CarryEdit.


slot? โ€‹

readonly optional slot?: "mainhand" | "offhand"

Defined in: plugins/gui/types.ts:111

Where item must be held (default mainhand); offhand lets the main hand keep its use.


sneak? โ€‹

readonly optional sneak?: boolean

Defined in: plugins/gui/types.ts:113

Opens only on a sneaking right-click, so item keeps its own use.


tag? โ€‹

readonly optional tag?: string

Defined in: plugins/gui/types.ts:115

Only players with this tag carry the GUI, so the caller can hold it back while item is passing through.


title? โ€‹

readonly optional title?: string | TellrawPart

Defined in: plugins/gui/types.ts:119

The carried menu's title, if it differs from the barrel's.

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