← Packet index

Packet 48

PlayerHotbarPacket

Sent from the server when the player uses pick block on actors or blocks, in addition to the player uses the clear, give, or replace item command or if the serverplayer uses _sendAdditionalLevelData().

Packet datagramWire order
HeaderID 48varuint
0Selected Slotvaruint32 · variable (up to 5 bytes)
1Container IDuint8 · 1 byte
2Should select slot?boolean · 1 byte

Serialized fields

3 top-level fields
  1. 0Selected SlotCompressionvaruint32
  2. 1Container IDEnum-as-Valueuint8
  3. 2Should select slot?boolean

Changelog

Stable releases

Changes between stable protocol releases.

No stable release changes are recorded for this packet.