跳转至

UpdateSubChunkBlocksPacket

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

UpdateSubChunkBlocksPacket数据包,数字ID是172。该数据包用于protocol.packet.updatesubchunkblockspacket.description

结构

digraph "UpdateSubChunkBlocksPacket" {
rankdir = LR
0
0 -> 1
1 -> 2
0 -> 3
3 -> 4
4 -> 5
3 -> 6
6 -> 7
7 -> 8
6 -> 9
9 -> 10
6 -> 11
11 -> 12
6 -> 13
13 -> 14
6 -> 15
15 -> 16
0 -> 17
17 -> 18
18 -> 19
17 -> 20
20 -> 21
21 -> 22
20 -> 23
23 -> 24
20 -> 25
25 -> 26
20 -> 27
27 -> 28
20 -> 29
29 -> 30

0 [label="UpdateSubChunkBlocksPacket",comment="name: \"UpdateSubChunkBlocksPacket\", typeName: \"\", id: 0, branchId: 172, recurseId: -1, attributes: 0, notes: \"\""];
1 [label="Sub Chunk Block Position",comment="name: \"Sub Chunk Block Position\", typeName: \"NetworkBlockPosition\", id: 1, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
2 [label="NetworkBlockPosition",comment="name: \"NetworkBlockPosition\", typeName: \"\", id: 2, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
3 [label="Blocks Changed - Standards",comment="name: \"Blocks Changed - Standards\", typeName: \"\", id: 3, branchId: 0, recurseId: -1, attributes: 8, notes: \"\""];
4 [label="Array Size",comment="name: \"Array Size\", typeName: \"\", id: 4, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
5 [label="unsigned varint",comment="name: \"unsigned varint\", typeName: \"\", id: 5, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
6 [label="example element",style=dotted,comment="name: \"example element\", typeName: \"\", id: 6, branchId: 0, recurseId: -1, attributes: 16, notes: \"\""];
7 [label="Pos",comment="name: \"Pos\", typeName: \"NetworkBlockPosition\", id: 7, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
8 [label="NetworkBlockPosition",comment="name: \"NetworkBlockPosition\", typeName: \"\", id: 8, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
9 [label="Runtime Id",comment="name: \"Runtime Id\", typeName: \"\", id: 9, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
10 [label="unsigned varint",comment="name: \"unsigned varint\", typeName: \"\", id: 10, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
11 [label="Update Flags",comment="name: \"Update Flags\", typeName: \"\", id: 11, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
12 [label="unsigned varint",comment="name: \"unsigned varint\", typeName: \"\", id: 12, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
13 [label="Sync Message - Entity Unique ID",comment="name: \"Sync Message - Entity Unique ID\", typeName: \"\", id: 13, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
14 [label="unsigned varint64",comment="name: \"unsigned varint64\", typeName: \"\", id: 14, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
15 [label="Sync Message - Message",comment="name: \"Sync Message - Message\", typeName: \"\", id: 15, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
16 [label="unsigned varint",comment="name: \"unsigned varint\", typeName: \"\", id: 16, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
17 [label="Blocks Changed - Extras",comment="name: \"Blocks Changed - Extras\", typeName: \"\", id: 17, branchId: 0, recurseId: -1, attributes: 8, notes: \"\""];
18 [label="Array Size",comment="name: \"Array Size\", typeName: \"\", id: 18, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
19 [label="unsigned varint",comment="name: \"unsigned varint\", typeName: \"\", id: 19, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
20 [label="example element",style=dotted,comment="name: \"example element\", typeName: \"\", id: 20, branchId: 0, recurseId: -1, attributes: 16, notes: \"\""];
21 [label="Pos",comment="name: \"Pos\", typeName: \"NetworkBlockPosition\", id: 21, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
22 [label="NetworkBlockPosition",comment="name: \"NetworkBlockPosition\", typeName: \"\", id: 22, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
23 [label="Runtime Id",comment="name: \"Runtime Id\", typeName: \"\", id: 23, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
24 [label="unsigned varint",comment="name: \"unsigned varint\", typeName: \"\", id: 24, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
25 [label="Update Flags",comment="name: \"Update Flags\", typeName: \"\", id: 25, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
26 [label="unsigned varint",comment="name: \"unsigned varint\", typeName: \"\", id: 26, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
27 [label="Sync Message - Entity Unique ID",comment="name: \"Sync Message - Entity Unique ID\", typeName: \"\", id: 27, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
28 [label="unsigned varint64",comment="name: \"unsigned varint64\", typeName: \"\", id: 28, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
29 [label="Sync Message - Message",comment="name: \"Sync Message - Message\", typeName: \"\", id: 29, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
30 [label="unsigned varint",comment="name: \"unsigned varint\", typeName: \"\", id: 30, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
{ rank = max;2;5;8;10;12;14;16;19;22;24;26;28;30}

}

字段

UpdateSubChunkBlocksPacket
[sub_chunk_block_position][blocks_changed_standards][blocks_changed_extras]
Sub Chunk Block Position:NetworkBlockPosition
特殊类型。protocol.packet.updatesubchunkblockspacket.sub_chunk_block_position.description
Blocks Changed - Standards
[array_size][[example_element]..]
数组大小:unsigned varint
基本类型。protocol.packet.updatesubchunkblockspacket.blocks_changed_standards.array_size.description
示例元素
[pos][runtime_id][update_flags][sync_message_entity_unique_id][sync_message_message]
Pos:NetworkBlockPosition
特殊类型。protocol.packet.updatesubchunkblockspacket.blocks_changed_standards.example_element.pos.description
Runtime Id:unsigned varint
基本类型。protocol.packet.updatesubchunkblockspacket.blocks_changed_standards.example_element.runtime_id.description
Update Flags:unsigned varint
基本类型。protocol.packet.updatesubchunkblockspacket.blocks_changed_standards.example_element.update_flags.description
Sync Message - Entity Unique ID:unsigned varint64
基本类型。protocol.packet.updatesubchunkblockspacket.blocks_changed_standards.example_element.sync_message_entity_unique_id.description
Sync Message - Message:unsigned varint
基本类型枚举。protocol.packet.updatesubchunkblockspacket.blocks_changed_standards.example_element.sync_message_message.description枚举值如下:
描述
NONE 0
CREATE 1 protocol.enum.create
DESTROY 2 protocol.enum.destroy
Blocks Changed - Extras
[array_size][[example_element]..]
数组大小:unsigned varint
基本类型。protocol.packet.updatesubchunkblockspacket.blocks_changed_extras.array_size.description
示例元素
[pos][runtime_id][update_flags][sync_message_entity_unique_id][sync_message_message]
Pos:NetworkBlockPosition
特殊类型。protocol.packet.updatesubchunkblockspacket.blocks_changed_extras.example_element.pos.description
Runtime Id:unsigned varint
基本类型。protocol.packet.updatesubchunkblockspacket.blocks_changed_extras.example_element.runtime_id.description
Update Flags:unsigned varint
基本类型。protocol.packet.updatesubchunkblockspacket.blocks_changed_extras.example_element.update_flags.description
Sync Message - Entity Unique ID:unsigned varint64
基本类型。protocol.packet.updatesubchunkblockspacket.blocks_changed_extras.example_element.sync_message_entity_unique_id.description
Sync Message - Message:unsigned varint
基本类型枚举。protocol.packet.updatesubchunkblockspacket.blocks_changed_extras.example_element.sync_message_message.description枚举值如下:
描述
NONE 0
CREATE 1 protocol.enum.create
DESTROY 2 protocol.enum.destroy