跳转至

AnvilDamagePacket

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

AnvilDamagePacket数据包,数字ID是141。该数据包用于protocol.packet.anvildamagepacket.description

结构

digraph "AnvilDamagePacket" {
rankdir = LR
0
0 -> 1
1 -> 2
0 -> 3
3 -> 4

0 [label="AnvilDamagePacket",comment="name: \"AnvilDamagePacket\", typeName: \"\", id: 0, branchId: 141, recurseId: -1, attributes: 0, notes: \"\""];
1 [label="Damage Amount",comment="name: \"Damage Amount\", typeName: \"\", id: 1, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
2 [label="byte",comment="name: \"byte\", typeName: \"\", id: 2, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
3 [label="Block Position",comment="name: \"Block Position\", typeName: \"NetworkBlockPosition\", id: 3, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
4 [label="NetworkBlockPosition",comment="name: \"NetworkBlockPosition\", typeName: \"\", id: 4, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
{ rank = max;2;4}

}

字段

AnvilDamagePacket
[damage_amount][block_position]
Damage Amount:byte
基本类型。protocol.packet.anvildamagepacket.damage_amount.description
Block Position:NetworkBlockPosition
特殊类型。protocol.packet.anvildamagepacket.block_position.description