CommandBlock: {
type: "compound";
value: {
Command: { type: "string"; value: string };
CustomName: { type: "string"; value: string };
ExecuteOnFirstTick: { type: "byte"; value: number };
LastExecution: { type: "long"; value: [high: number, low: number] };
LastOutput: { type: "string"; value: string };
LastOutputParams: {
type: "list";
value: { type: "string"; value: string[] };
};
SuccessCount: { type: "int"; value: number };
TickDelay: { type: "int"; value: number };
TrackOutput: { type: "byte"; value: number };
Version: { type: "int"; value: number };
};
}
Type declaration
type: "compound"
value: {
Command: { type: "string"; value: string };
CustomName: { type: "string"; value: string };
ExecuteOnFirstTick: { type: "byte"; value: number };
LastExecution: { type: "long"; value: [high: number, low: number] };
LastOutput: { type: "string"; value: string };
LastOutputParams: {
type: "list";
value: { type: "string"; value: string[] };
};
SuccessCount: { type: "int"; value: number };
TickDelay: { type: "int"; value: number };
TrackOutput: { type: "byte"; value: number };
Version: { type: "int"; value: number };
}
Command: { type: "string"; value: string }
CustomName: { type: "string"; value: string }
ExecuteOnFirstTick: { type: "byte"; value: number }
LastExecution: { type: "long"; value: [high: number, low: number] }
LastOutput: { type: "string"; value: string }
LastOutputParams: { type: "list"; value: { type: "string"; value: string[] } }
SuccessCount: { type: "int"; value: number }
TickDelay: { type: "int"; value: number }
TrackOutput: { type: "byte"; value: number }
Version: { type: "int"; value: number }
NBT structure of [command block](https://minecraft.wiki/w/command block) and [minecart with command block](https://minecraft.wiki/w/minecart with command block).