MCBE
OverviewPacketsMobEquipment
ID 0x1F · 31Client → ServerInventory

MobEquipment

Held item sync per slot (hotbar selected slot + equipment window/slot).

mob-equipment.bin
struct MobEquipment {
  ActorRuntimeID                               RuntimeId;
  SerializedNetworkItemStackDescriptor         Item;
  uint8                                        Slot;
  uint8                                        SelectedSlot;
  ContainerID                                  ContainerId;
}

Structure

FieldTypeDescription
Runtime IdActorRuntimeID
ItemSerializedNetworkItemStackDescriptor
Slotuint8
Selected Slotuint8
Container IdContainerID

Structure of SerializedNetworkItemStackDescriptor

cerealizer<NetworkItemStackDescriptor>::SerializedData. ItemStackNetIdVariant's

FieldTypeDescription
Idint16 (LE)
Stack Sizeuint16 (LE)
Aux Valuevaruint32
Net Id Variantoptional byte + varint32Presence flag on the wire; value omitted when absent.
Block Runtime Idvaruint32
User Data Bufferbyte[]

Notes

  • No special notes.