Packet 78
CommandBlockUpdatePacket
Command Block Update
Sent when you close the command block screen on the client.
HeaderID 78varuint
0TargetoneOf<EntityCommandTarget, BlockCommandData> · variable
1Commandstring · variable
2Last Outputstring · variable
3Namestring · variable
4FilteredNamestring · variable
5Track Outputboolean · 1 byte
6Tick Delayint32 · 4 bytes
7Execute On First Tickboolean · 1 byte
Serialized fields
8 top-level fields0TargetThe command block target. The variant index encodes the legacy 'Is Block?' bool: 0 = entity (e.g. minecart command block), 1 = block.
oneOf<EntityCommandTarget, BlockCommandData>0EntityCommandTarget
EntityCommandTarget0Target Runtime IDActorRuntimeID
- 0Actor Runtime IDCompression
varuint64
- 1Command
string - 2Last Output
string - 3Name
string - 4FilteredName
string - 5Track Output
boolean - 6Tick Delay
int32 - 7Execute On First TickIf a delay is set on a repeating command block, should the command execute on first tick, or on first delay?
boolean
Changelog
Stable releases
Changes between stable protocol releases.
No stable release changes are recorded for this packet.
All builds
Changes between consecutive stable releases and preview builds.
No changes are recorded for this packet.