Appearance
helix / CommandBlockFields
Interface: CommandBlockFields โ
Defined in: core/values/block-entities.generated.ts:201
Extends โ
Properties โ
auto? โ
optionalauto?:boolean
Defined in: core/values/block-entities.generated.ts:205
Whether it is automatically powered.
command? โ
optionalcommand?:string
Defined in: core/values/block-entities.generated.ts:178
The command to run.
Inherited from โ
BaseCommandBlockFields.command
components? โ
optionalcomponents?:NbtInput
Defined in: core/values/block-entities.generated.ts:25
Inherited from โ
conditionMet? โ
optionalconditionMet?: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? โ
optionalcustomName?:TextComponent
Defined in: core/values/block-entities.generated.ts:35
The custom name of this block.
Inherited from โ
lastExecution? โ
optionallastExecution?:number
Defined in: core/values/block-entities.generated.ts:188
Tick of the latest command execution.
Inherited from โ
BaseCommandBlockFields.lastExecution
lastOutput? โ
optionallastOutput?:TextComponent
Defined in: core/values/block-entities.generated.ts:182
Output of the last command.
Inherited from โ
BaseCommandBlockFields.lastOutput
powered? โ
optionalpowered?:boolean
Defined in: core/values/block-entities.generated.ts:203
Whether it is powered by redstone.
successCount? โ
optionalsuccessCount?:number
Defined in: core/values/block-entities.generated.ts:180
Success count of the last command.
Inherited from โ
BaseCommandBlockFields.successCount
trackOutput? โ
optionaltrackOutput?:boolean
Defined in: core/values/block-entities.generated.ts:184
Whether to record command output.
Inherited from โ
BaseCommandBlockFields.trackOutput
updateLastExecution? โ
optionalupdateLastExecution?:boolean
Defined in: core/values/block-entities.generated.ts:186
Whether to record the tick of the latest command execution.