跳转至

InventoryAction

文档版本:r/21_u4
协议版本:748

InventoryAction类型。该类型用于protocol.type.inventoryaction.description

结构



InventoryAction




28

InventoryAction




29

Source



28->29






45

Slot



28->45






47

From Item Descriptor



28->47






49

To Item Descriptor



28->49






44

InventorySource



29->44






46

unsigned varint



45->46






48

NetworkItemStackDescriptor



47->48






50

NetworkItemStackDescriptor



49->50




字段

InventoryAction
[source][slot][from_item_descriptor][to_item_descriptor]
Source:InventorySource
特殊类型。protocol.type.inventoryaction.source.description
Slot:unsigned varint
基本类型。protocol.type.inventoryaction.slot.description
From Item Descriptor:NetworkItemStackDescriptor
特殊类型。protocol.type.inventoryaction.from_item_descriptor.description
To Item Descriptor:NetworkItemStackDescriptor
特殊类型。protocol.type.inventoryaction.to_item_descriptor.description