Description
This is the component provided by the command block with the adapter.
must be activate in config file.
Component name: command_block
.
This is the component provided by the command block with the adapter.
must be activate in config file.
Component name: command_block
.
getCommand():string
Get the command currently set in this command block.
setCommand(value:string)
Set the specified command for the command block.
executeCommand():number
Execute the currently set command. This has a slight delay to allow the command block to properly update.