跳转至

LabTablePacket

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

LabTablePacket数据包,数字ID是109。该数据包用于protocol.packet.labtablepacket.description

结构

digraph "LabTablePacket" {
rankdir = LR
0
0 -> 1
1 -> 2
0 -> 3
3 -> 4
0 -> 5
5 -> 6

0 [label="LabTablePacket",comment="name: \"LabTablePacket\", typeName: \"\", id: 0, branchId: 109, recurseId: -1, attributes: 0, notes: \"\""];
1 [label="Type",comment="name: \"Type\", 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="Position",comment="name: \"Position\", typeName: \"BlockPos\", id: 3, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
4 [label="BlockPos",comment="name: \"BlockPos\", typeName: \"\", id: 4, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
5 [label="Reaction",comment="name: \"Reaction\", typeName: \"\", id: 5, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
6 [label="byte",comment="name: \"byte\", typeName: \"\", id: 6, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
{ rank = max;2;4;6}

}

字段

LabTablePacket
[type][position][reaction]
Type:byte
基本类型枚举。protocol.packet.labtablepacket.type.description枚举值如下:
描述
StartCombine 0 protocol.enum.startcombine
StartReaction 1 protocol.enum.startreaction
Reset 2 protocol.enum.reset
Position:BlockPos
特殊类型。protocol.packet.labtablepacket.position.description
Reaction:byte
基本类型枚举。protocol.packet.labtablepacket.reaction.description枚举值如下:
描述
None 0
IceBomb 1 protocol.enum.icebomb
Bleach 2 protocol.enum.bleach
ElephantToothpaste 3 protocol.enum.elephanttoothpaste
Fertilizer 4 protocol.enum.fertilizer
HeatBlock 5 protocol.enum.heatblock
MagnesiumSalts 6 protocol.enum.magnesiumsalts
MiscFire 7 protocol.enum.miscfire
MiscExplosion 8 protocol.enum.miscexplosion
MiscLava 9 protocol.enum.misclava
MiscMystical 10 protocol.enum.miscmystical
MiscSmoke 11 protocol.enum.miscsmoke
MiscLargeSmoke 12 protocol.enum.misclargesmoke