← Packet index

Packet 26

BlockEventPacket

Whenever a block event happens it is sent from the server to sync client and server, with arbitrarily encoded information in b0 and b1.

Packet datagramWire order
HeaderID 26varuint
0Block PositionBlockPos · variable
1Event Typevarint32 · variable (up to 5 bytes)
2Event Valuevarint32 · variable (up to 5 bytes)

Serialized fields

3 top-level fields
  1. 0Block PositionBlockPos
    1. 0XCompressionvarint32
    2. 1YCompressionvarint32
    3. 2ZCompressionvarint32
  2. 1Event TypeCompressionvarint32
  3. 2Event ValueCompressionvarint32

Changelog

Stable releases

Changes between stable protocol releases.

No stable release changes are recorded for this packet.