@minecraft/server / CustomCommandResult
Interface: CustomCommandResult ​
Defined in: @minecraft/server/index.d.ts:22969
Interface returned from custom command callback function.
Properties ​
message? ​
optionalmessage?:string
Defined in: @minecraft/server/index.d.ts:22975
Remarks ​
Message displayed to chat after command execution.
status ​
status:
CustomCommandStatus
Defined in: @minecraft/server/index.d.ts:22982
Remarks ​
Command execution Success or Failure. Determines how the status message is displayed.