InventoryContentPacket¶
文档版本:r/21_u4
协议版本:748
InventoryContentPacket数据包,数字ID是49
。该数据包用于protocol.packet.inventorycontentpacket.description
结构¶
字段¶
- Inventory Id:unsigned varint
- 基本类型。protocol.packet.inventorycontentpacket.inventory_id.description
- 数组大小:unsigned varint
- 基本类型。protocol.packet.inventorycontentpacket.slots.array_size.description
- Item stack:NetworkItemStackDescriptor
- 特殊类型。protocol.packet.inventorycontentpacket.slots.example_element.item_stack.description
- Full Container Name:FullContainerName
- 特殊类型。protocol.packet.inventorycontentpacket.full_container_name.descriptionUsed to reference a specific container within a given screen container context.
- Storage Item:NetworkItemStackDescriptor
- 特殊类型。protocol.packet.inventorycontentpacket.storage_item.descriptionOptional storage item containing the contents to set. Only the item type is relevant, not any stack information.