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

helix / CommandBlockFields

Interface: CommandBlockFields โ€‹

Defined in: core/values/block-entities.generated.ts:201

Extends โ€‹

Properties โ€‹

auto? โ€‹

optional auto?: boolean

Defined in: core/values/block-entities.generated.ts:205

Whether it is automatically powered.


command? โ€‹

optional command?: string

Defined in: core/values/block-entities.generated.ts:178

The command to run.

Inherited from โ€‹

BaseCommandBlockFields.command


components? โ€‹

optional components?: NbtInput

Defined in: core/values/block-entities.generated.ts:25

Inherited from โ€‹

BlockEntityFields.components


conditionMet? โ€‹

optional conditionMet?: boolean

Defined in: core/values/block-entities.generated.ts:207

Whether the previous command block was successful when the command block was executed. This is always true for non-conditional command blocks.


customName? โ€‹

optional customName?: TextComponent

Defined in: core/values/block-entities.generated.ts:35

The custom name of this block.

Inherited from โ€‹

NameableFields.customName


lastExecution? โ€‹

optional lastExecution?: number

Defined in: core/values/block-entities.generated.ts:188

Tick of the latest command execution.

Inherited from โ€‹

BaseCommandBlockFields.lastExecution


lastOutput? โ€‹

optional lastOutput?: TextComponent

Defined in: core/values/block-entities.generated.ts:182

Output of the last command.

Inherited from โ€‹

BaseCommandBlockFields.lastOutput


powered? โ€‹

optional powered?: boolean

Defined in: core/values/block-entities.generated.ts:203

Whether it is powered by redstone.


successCount? โ€‹

optional successCount?: number

Defined in: core/values/block-entities.generated.ts:180

Success count of the last command.

Inherited from โ€‹

BaseCommandBlockFields.successCount


trackOutput? โ€‹

optional trackOutput?: boolean

Defined in: core/values/block-entities.generated.ts:184

Whether to record command output.

Inherited from โ€‹

BaseCommandBlockFields.trackOutput


updateLastExecution? โ€‹

optional updateLastExecution?: boolean

Defined in: core/values/block-entities.generated.ts:186

Whether to record the tick of the latest command execution.

Inherited from โ€‹

BaseCommandBlockFields.updateLastExecution

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