Skip to content

helix / EntityCondition

Interface: EntityCondition

Defined in: core/values/display.ts:21

A pure entity condition: a selector plus whether it's tested with if or unless. Produced by display.exists / display.notExist and consumed by ctx.summonIf (and the entity_guard handler). Kept as plain data here so it stays a leaf value with no command imports.

Properties

mode

mode: "if" | "unless"

Defined in: core/values/display.ts:23


selector

selector: string

Defined in: core/values/display.ts:22

Released under the MIT License · Credits