MCBE
OverviewPacketsCommandOutput
ID 0x4F · 79Server → ClientUI

CommandOutput

Result of a CommandRequest: success flag, output type (toast/chat/box/modal) and formatted message lines with parameters.

command-output.bin
struct CommandOutput {
  CommandOriginData                            OriginData;
  CommandOutput                                Output;
}

Structure

FieldTypeDescription
Origin DataCommandOriginData
OutputCommandOutput

Structure of CommandOriginData

FieldTypeDescription
Typestring
Uuiduuid.UUID
Request Idstring
Player Idint64 (LE)

Structure of CommandOutput

FieldTypeDescription
Typestring
Success Countuint32 (LE)
Messagesvaruint32 count + CommandOutputMessage[]Length-prefixed sequence.
Dataoptional byte + stringPresence flag on the wire; value omitted when absent.

Structure of CommandOutputMessage

FieldTypeDescription
Message Idstring
Successfulbool
Paramsvaruint32 count + string[]Length-prefixed sequence.

Notes

  • No special notes.