@minecraft/server
    Preparing search index...

    Interface CustomCommandResultBeta

    Interface returned from custom command callback function.

    interface CustomCommandResult {
        message?: string;
        status: CustomCommandStatus;
    }
    Index

    Properties

    Properties

    message?: string

    Message displayed to chat after command execution.

    Command execution Success or Failure. Determines how the status message is displayed.