← Back to Index

ItemRegistryPacket (162)

Item data from the server. Contains component information.
This packet needs to be sent immediately after the StartGamePacket for primary clients.
Field Name Type Field Index Description
Item Data (Required) array<ItemData> 0

ItemData (Array Item)

Field Name Type Field Index Description
Item Name (Required) hashed_string 0
Item Id (Required) int16 1 Block id's < 256 (can be negative); Item id's >= 257
Is Component Based (Required) boolean 2
Item Version (Required) varint32 3
Enum Values:
Index Value
0 Legacy
1 DataDriven
2 None
Item Component Data (Required) 4158325036 4