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

helix / HoldingOptions

Interface: HoldingOptions โ€‹

Defined in: core/values/holding.ts:6

Options for holdingPredicate.

Properties โ€‹

exact? โ€‹

optional exact?: boolean

Defined in: core/values/holding.ts:16

Match the item's full components, not just its id.

Off by default so items sharing a base id share one predicate file. Turn on to tell apart items with the same id and different components.


slot? โ€‹

optional slot?: keyof EquipmentSpec

Defined in: core/values/holding.ts:8

Equipment slot to test (default mainhand - a player's selected item).

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