跳转至

ItemStackResponsePacket

文档版本:r/20_u8
协议版本:671

ItemStackResponsePacket数据包,数字ID是148。该数据包用于protocol.packet.itemstackresponsepacket.description

结构

digraph "ItemStackResponsePacket" {
rankdir = LR
0
0 -> 1
1 -> 2
2 -> 3
1 -> 4
4 -> 5
5 -> 46

0 [label="ItemStackResponsePacket",comment="name: \"ItemStackResponsePacket\", typeName: \"\", id: 0, branchId: 148, recurseId: -1, attributes: 0, notes: \"\""];
1 [label="Responses",comment="name: \"Responses\", typeName: \"\", id: 1, branchId: 0, recurseId: -1, attributes: 8, notes: \"\""];
2 [label="Array Size",comment="name: \"Array Size\", typeName: \"\", id: 2, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
3 [label="unsigned varint",comment="name: \"unsigned varint\", typeName: \"\", id: 3, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
4 [label="example element",style=dotted,comment="name: \"example element\", typeName: \"\", id: 4, branchId: 0, recurseId: -1, attributes: 16, notes: \"\""];
5 [label="Response Info",comment="name: \"Response Info\", typeName: \"ItemStackResponseInfo\", id: 5, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
46 [label="ItemStackResponseInfo",comment="name: \"ItemStackResponseInfo\", typeName: \"\", id: 46, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
{ rank = max;3;46}

}

字段

ItemStackResponsePacket
[responses]
Responses
[array_size][[example_element]..]
数组大小:unsigned varint
基本类型。protocol.packet.itemstackresponsepacket.responses.array_size.description
示例元素
[response_info]
Response Info:ItemStackResponseInfo
特殊类型。protocol.packet.itemstackresponsepacket.responses.example_element.response_info.description