- 致编者:请牢记我们的域名wiki.mcbe-dev.net!
- 致编者:欢迎加入本Wiki的官方交流QQ群或Discord服务器!
- 基岩版1.19.31现已发布!(了解更多)
- Inner Core现已支持Xbox模组联机!(了解更多)
- 如果您是第一次来到本Wiki,欢迎注册一个账户
- 点击顶部的“编辑”或“编辑源代码”按钮即可编辑当前页面
- 请知悉:在不登录时也可以编辑和新建页面,但是您当前的IP地址会记录在编辑历史中
数据包
来自Minecraft基岩版开发Wiki
数据包(Packet)是Minecraft中客户端和服务端通信时的必要手段。
消息[编辑]
键名 | 值 | 描述 |
---|---|---|
ID_CONNECTED_PING |
0 | |
ID_UNCONNECTED_PING |
1 | |
ID_UNCONNECTED_PING_OPEN_CONNECTIONS |
2 | |
ID_CONNECTED_PONG |
3 | |
ID_DETECT_LOST_CONNECTIONS |
4 | |
ID_OPEN_CONNECTION_REQUEST_1 |
5 | |
ID_OPEN_CONNECTION_REPLY_1 |
6 | |
ID_OPEN_CONNECTION_REQUEST_2 |
7 | |
ID_OPEN_CONNECTION_REPLY_2 |
8 | |
ID_CONNECTION_REQUEST |
9 | |
ID_REMOTE_SYSTEM_REQUIRES_PUBLIC_KEY |
10 | |
ID_OUR_SYSTEM_REQUIRES_SECURITY |
11 | |
ID_PUBLIC_KEY_MISMATCH |
12 | |
ID_OUT_OF_BAND_INTERNAL |
13 | |
ID_SND_RECEIPT_ACKED |
14 | |
ID_SND_RECEIPT_LOSS |
15 | |
ID_CONNECTION_REQUEST_ACCEPTED |
16 | |
ID_CONNECTION_ATTEMPT_FAILED |
17 | |
ID_ALREADY_CONNECTED |
18 | |
ID_NEW_INCOMING_CONNECTION |
19 | |
ID_NO_FREE_INCOMING_CONNECTIONS |
20 | |
ID_DISCONNECTION_NOTIFICATION |
21 | |
ID_CONNECTION_LOST |
22 | |
ID_CONNECTION_BANNED |
23 | |
ID_INVALID_PASSWORD |
24 | |
ID_INCOMPATIBLE_PROTOCOL_VERSION |
25 | |
ID_IP_RECENTLY_CONNECTED |
26 | |
ID_TIMESTAMP |
27 | |
ID_UNCONNECTED_PONG |
28 | |
ID_ADVERTISE_SYSTEM |
29 | |
ID_DOWNLOAD_PROGRESS |
30 | |
ID_REMOTE_DISCONNECTION_NOTIFICATION |
31 | |
ID_REMOTE_CONNECTION_LOST |
32 | |
ID_REMOTE_NEW_INCOMING_CONNECTION |
33 | |
ID_FILE_LIST_TRANSFER_HEADER |
34 | |
ID_FILE_LIST_TRANSFER_FILE |
35 | |
ID_FILE_LIST_REFERENCE_PUSH_ACK |
36 | |
ID_DDT_DOWNLOAD_REQUEST |
37 | |
ID_TRANSPORT_STRING |
38 | |
ID_REPLICA_MANAGER_CONSTRUCTION |
39 | |
ID_REPLICA_MANAGER_SCOPE_CHANGE |
40 | |
ID_REPLICA_MANAGER_SERIALIZE |
41 | |
ID_REPLICA_MANAGER_DOWNLOAD_STARTED |
42 | |
ID_REPLICA_MANAGER_DOWNLOAD_COMPLETE |
43 | |
ID_RAKVOICE_OPEN_CHANNEL_REQUEST |
44 | |
ID_RAKVOICE_OPEN_CHANNEL_REPLY |
45 | |
ID_RAKVOICE_CLOSE_CHANNEL |
46 | |
ID_RAKVOICE_DATA |
47 | |
ID_AUTOPATCHER_GET_CHANGELIST_SINCE_DATE |
48 | |
ID_AUTOPATCHER_CREATION_LIST |
49 | |
ID_AUTOPATCHER_DELETION_LIST |
50 | |
ID_AUTOPATCHER_GET_PATCH |
51 | |
ID_AUTOPATCHER_PATCH_LIST |
52 | |
ID_AUTOPATCHER_REPOSITORY_FATAL_ERROR |
53 | |
ID_AUTOPATCHER_CANNOT_DOWNLOAD_ORIGINAL_UNMODIFIED_FILES |
54 | |
ID_AUTOPATCHER_FINISHED_INTERNAL |
55 | |
ID_AUTOPATCHER_FINISHED |
56 | |
ID_AUTOPATCHER_RESTART_APPLICATION |
57 | |
ID_NAT_PUNCHTHROUGH_REQUEST |
58 | |
ID_NAT_CONNECT_AT_TIME |
59 | |
ID_NAT_GET_MOST_RECENT_PORT |
60 | |
ID_NAT_CLIENT_READY |
61 | |
ID_NAT_TARGET_NOT_CONNECTED |
62 | |
ID_NAT_TARGET_UNRESPONSIVE |
63 | |
ID_NAT_CONNECTION_TO_TARGET_LOST |
64 | |
ID_NAT_ALREADY_IN_PROGRESS |
65 | |
ID_NAT_PUNCHTHROUGH_FAILED |
66 | |
ID_NAT_PUNCHTHROUGH_SUCCEEDED |
67 | |
ID_READY_EVENT_SET |
68 | |
ID_READY_EVENT_UNSET |
69 | |
ID_READY_EVENT_ALL_SET |
70 | |
ID_READY_EVENT_QUERY |
71 | |
ID_LOBBY_GENERAL |
72 | |
ID_RPC_REMOTE_ERROR |
73 | |
ID_RPC_PLUGIN |
74 | |
ID_FILE_LIST_REFERENCE_PUSH |
75 | |
ID_READY_EVENT_FORCE_ALL_SET |
76 | |
ID_ROOMS_EXECUTE_FUNC |
77 | |
ID_ROOMS_LOGON_STATUS |
78 | |
ID_ROOMS_HANDLE_CHANGE |
79 | |
ID_LOBBY2_SEND_MESSAGE |
80 | |
ID_LOBBY2_SERVER_ERROR |
81 | |
ID_FCM2_NEW_HOST |
82 | |
ID_FCM2_REQUEST_FCMGUID |
83 | |
ID_FCM2_RESPOND_CONNECTION_COUNT |
84 | |
ID_FCM2_INFORM_FCMGUID |
85 | |
ID_FCM2_UPDATE_MIN_TOTAL_CONNECTION_COUNT |
86 | |
ID_FCM2_VERIFIED_JOIN_START |
87 | |
ID_FCM2_VERIFIED_JOIN_CAPABLE |
88 | |
ID_FCM2_VERIFIED_JOIN_FAILED |
89 | |
ID_FCM2_VERIFIED_JOIN_ACCEPTED |
90 | |
ID_FCM2_VERIFIED_JOIN_REJECTED |
91 | |
ID_UDP_PROXY_GENERAL |
92 | |
ID_SQLite3_EXEC |
93 | |
ID_SQLite3_UNKNOWN_DB |
94 | |
ID_SQLLITE_LOGGER |
95 | |
ID_NAT_TYPE_DETECTION_REQUEST |
96 | |
ID_NAT_TYPE_DETECTION_RESULT |
97 | |
ID_ROUTER_2_INTERNAL |
98 | |
ID_ROUTER_2_FORWARDING_NO_PATH |
99 | |
ID_ROUTER_2_FORWARDING_ESTABLISHED |
100 | |
ID_ROUTER_2_REROUTED |
101 | |
ID_TEAM_BALANCER_INTERNAL |
102 | |
ID_TEAM_BALANCER_REQUESTED_TEAM_FULL |
103 | |
ID_TEAM_BALANCER_REQUESTED_TEAM_LOCKED |
104 | |
ID_TEAM_BALANCER_TEAM_REQUESTED_CANCELLED |
105 | |
ID_TEAM_BALANCER_TEAM_ASSIGNED |
106 | |
ID_LIGHTSPEED_INTEGRATION |
107 | |
ID_XBOX_LOBBY |
108 | |
ID_TWO_WAY_AUTHENTICATION_INCOMING_CHALLENGE_SUCCESS |
109 | |
ID_TWO_WAY_AUTHENTICATION_OUTGOING_CHALLENGE_SUCCESS |
110 | |
ID_TWO_WAY_AUTHENTICATION_INCOMING_CHALLENGE_FAILURE |
111 | |
ID_TWO_WAY_AUTHENTICATION_OUTGOING_CHALLENGE_FAILURE |
112 | |
ID_TWO_WAY_AUTHENTICATION_OUTGOING_CHALLENGE_TIMEOUT |
113 | |
ID_TWO_WAY_AUTHENTICATION_NEGOTIATION |
114 | |
ID_CLOUD_POST_REQUEST |
115 | |
ID_CLOUD_RELEASE_REQUEST |
116 | |
ID_CLOUD_GET_REQUEST |
117 | |
ID_CLOUD_GET_RESPONSE |
118 | |
ID_CLOUD_UNSUBSCRIBE_REQUEST |
119 | |
ID_CLOUD_SERVER_TO_SERVER_COMMAND |
120 | |
ID_CLOUD_SUBSCRIPTION_NOTIFICATION |
121 | |
ID_LIB_VOICE |
122 | |
ID_RELAY_PLUGIN |
123 | |
ID_NAT_REQUEST_BOUND_ADDRESSES |
124 | |
ID_NAT_RESPOND_BOUND_ADDRESSES |
125 | |
ID_FCM2_UPDATE_USER_CONTEXT |
126 | |
ID_RESERVED_3 |
127 | |
ID_RESERVED_4 |
128 | |
ID_RESERVED_5 |
129 | |
ID_RESERVED_6 |
130 | |
ID_RESERVED_7 |
131 | |
ID_RESERVED_8 |
132 | |
ID_RESERVED_9 |
133 | |
ID_PONG_ADDRESS_INFO |
134 | |
ID_NAT_TRAVERSAL_PING |
135 | |
ID_NAT_TRAVERSAL_PONG |
136 | |
ID_REQUEST_WEBSOCKET_CONNECTION |
137 | |
ID_ACK_FAILED_WEBSOCKET_REQUEST |
138 | |
ID_AVAILABLE_5 |
139 | |
ID_AVAILABLE_6 |
140 | |
ID_AVAILABLE_7 |
141 |
类型[编辑]
键名 | 值 | 描述 |
---|---|---|
Login |
1 | 登录 |
PlayStatus |
2 | 游玩状态 |
ServerToClientHandshake |
3 | 服务端向客户端握手 |
ClientToServerHandshake |
4 | 客户端向服务端握手 |
Disconnect |
5 | 断开连接 |
ResourcePacksInfo |
6 | 资源包信息 |
ResourcePackStack |
7 | 资源包栈 |
ResourcePackClientResponse |
8 | 资源包客户端响应 |
Text |
9 | 文本 |
SetTime |
10 | 设置时间 |
StartGame |
11 | 启动游戏 |
AddPlayer |
12 | 添加玩家 |
AddActor |
13 | 添加活动对象 |
RemoveActor |
14 | 移除活动对象 |
AddItemActor |
15 | 添加物品活动对象 |
ServerPlayerPostMovePosition |
16 | 服务端玩家移动位置后 |
TakeItemActor |
17 | 拾取物品活动对象 |
MoveAbsoluteActor |
18 | 以绝对距离移动活动对象 |
MovePlayer |
19 | 移动玩家 |
PassengerJump |
20 | 乘客控制跳跃 |
UpdateBlock |
21 | 更新方块 |
AddPainting |
22 | 添加画 |
TickSync |
23 | 滴答同步 |
LevelSoundEventV1 |
24 | 旧版存档声音事件 |
LevelEvent |
25 | 存档事件 |
TileEvent |
26 | 滴答事件 |
ActorEvent |
27 | 活动对象事件 |
MobEffect |
28 | 生物效果 |
UpdateAttributes |
29 | 更新特性 |
InventoryTransaction |
30 | 物品栏交换 |
PlayerEquipment |
31 | 玩家装备 |
MobArmorEquipment |
32 | 生物盔甲装备 |
Interact |
33 | 交互 |
BlockPickRequest |
34 | 方块拾取请求 |
ActorPickRequest |
35 | 活动对象拾取请求 |
PlayerAction |
36 | 玩家操作 |
ActorFall_deprecated |
37 | 活动对象跌落,已弃用 |
HurtArmor |
38 | 盔甲受伤 |
SetActorData |
39 | 设置活动对象数据 |
SetActorMotion |
40 | 设置活动对象运动 |
SetActorLink |
41 | 设置活动对象链接,即骑乘关系 |
SetHealth |
42 | 设置生命 |
SetSpawnPosition |
43 | 设置出生点 |
Animate |
44 | 执行动画 |
Respawn |
45 | 重生 |
ContainerOpen |
46 | 容器打开 |
ContainerClose |
47 | 容器关闭 |
PlayerHotbar |
48 | 玩家快捷栏 |
InventoryContent |
49 | 物品栏内容 |
InventorySlot |
50 | 物品栏槽位 |
ContainerSetData |
51 | 容器设置数据 |
CraftingData |
52 | 合成数据 |
CraftingEvent_Deprecated |
53 | 合成事件,已弃用 |
GuiDataPickItem |
54 | GUI数据选取物品 |
AdventureSettings_Deprecated |
55 | 冒险设置,已弃用 |
BlockActorData |
56 | 方块活动对象数据 |
PlayerInput |
57 | 玩家输入 |
FullChunkData |
58 | 完整区块数据 |
SetCommandsEnabled |
59 | 设置命令启用状态 |
SetDifficulty |
60 | 设置难度 |
ChangeDimension |
61 | 变更维度 |
SetPlayerGameType |
62 | 设置玩家游戏类型 |
PlayerList |
63 | 玩家列表 |
SimpleEvent |
64 | 简单事件 |
Event |
65 | 事件 |
SpawnExperienceOrb |
66 | 生成经验球 |
MapData |
67 | 生物数据 |
MapInfoRequest |
68 | 地图信息请求 |
RequestChunkRadius |
69 | 请求区块半径 |
ChunkRadiusUpdated |
70 | 区块半径更新 |
ItemFrameDropItem_Deprecated |
71 | 物品展示框掉落物品,已弃用 |
GameRulesChanged |
72 | 游戏规则变更 |
Camera |
73 | 相机 |
BossEvent |
74 | Boss事件 |
ShowCredits |
75 | 显示鸣谢表 |
AvailableCommands |
76 | 可用命令 |
CommandRequest |
77 | 命令请求 |
CommandBlockUpdate |
78 | 命令方块更新 |
CommandOutput |
79 | 命令输出 |
UpdateTrade |
80 | 更新交易 |
UpdateEquip |
81 | 更新装备 |
ResourcePackDataInfo |
82 | 资源包数据信息 |
ResourcePackChunkData |
83 | 资源包区块信息 |
ResourcePackChunkRequest |
84 | 资源包区块请求 |
Transfer |
85 | 切服,即使一个玩家在不同服务器之间切换 |
PlaySound |
86 | 播放声音 |
StopSound |
87 | 停止声音 |
SetTitle |
88 | 设置标题 |
AddBehaviorTree |
89 | 添加行为树 |
StructureBlockUpdate |
90 | 结构方块更新 |
ShowStoreOffer |
91 | 显示商店供应 |
PurchaseReceipt |
92 | 购买回执 |
PlayerSkin |
93 | 玩家皮肤 |
SubclientLogin |
94 | 子客户端登录 |
AutomationClientConnect |
95 | 自动化客户端连接 |
SetLastHurtBy |
96 | 设置最后受伤来源 |
BookEdit |
97 | 编辑书 |
NPCRequest |
98 | NPC请求 |
PhotoTransfer |
99 | 照片传输 |
ShowModalForm |
100 | 显示模态表单 |
ModalFormResponse |
101 | 模态表单响应 |
ServerSettingsRequest |
102 | 服务器设置请求 |
ServerSettingsResponse |
103 | 服务器设置响应 |
ShowProfile |
104 | 显示档案 |
SetDefaultGameType |
105 | 设置默认游戏类型 |
RemoveObjective |
106 | 移除目标项 |
SetDisplayObjective |
107 | 设置显示目标项 |
SetScore |
108 | 设置分数 |
LabTable |
109 | 实验台 |
UpdateBlockSynced |
110 | 更新方块同步状态 |
MoveDeltaActor |
111 | 以变化量移动活动对象 |
SetScoreboardIdentity |
112 | 设置记分板 |
SetLocalPlayerAsInit |
113 | 设置本地玩家为已初始化 |
UpdateSoftEnum |
114 | 更新软枚举 |
Ping |
115 | ping请求 |
BlockPalette |
116 | 方块调色板 |
ScriptCustomEvent |
117 | 脚本自定义事件 |
SpawnParticleEffect |
118 | 显示粒子效果 |
AvailableActorIDList |
119 | 可用活动对象ID列表 |
LevelSoundEventV2 |
120 | 新版存档声音事件 |
NetworkChunkPublisherUpdate |
121 | 网络区块发布器更新 |
BiomeDefinitionList |
122 | 生物群系定义列表 |
LevelSoundEvent |
123 | 存档声音事件 |
LevelEventGeneric |
124 | 通用存档事件 |
LecternUpdate |
125 | 灯笼更新 |
VideoStreamConnect_DEPRECATED |
126 | 视频流连接,已弃用 |
AddEntity_DEPRECATED |
127 | 添加实体,已弃用 |
RemoveEntity_DEPRECATED |
128 | 移除实体,已弃用 |
ClientCacheStatus |
129 | 客户端缓存状态 |
OnScreenTextureAnimation |
130 | 屏幕上纹理动画 |
MapCreateLockedCopy |
131 | 地图创建已锁定副本 |
StructureTemplateDataExportRequest |
132 | 结构模板数据导出请求 |
StructureTemplateDataExportResponse |
133 | 结构模板数据导出响应 |
UNUSED_PLS_USE_ME |
134 | 空白数据包 |
ClientCacheBlobStatusPacket |
135 | 客户端缓存二进制大型对象状态 |
ClientCacheMissResponsePacket |
136 | 客户端缓存丢失响应 |
EducationSettingsPacket |
137 | 教育设置 |
Emote |
138 | 表情 |
MultiplayerSettingsPacket |
139 | 多人游戏设置 |
SettingsCommandPacket |
140 | 设置命令 |
AnvilDamage |
141 | 铁砧损坏 |
CompletedUsingItem |
142 | 完成使用物品 |
NetworkSettings |
143 | 网络设置 |
PlayerAuthInputPacket |
144 | 玩家认证输入 |
CreativeContent |
145 | 创造内容 |
PlayerEnchantOptions |
146 | 玩家附魔选项 |
ItemStackRequest |
147 | 物品堆栈请求 |
ItemStackResponse |
148 | 物品堆栈响应 |
PlayerArmorDamage |
149 | 玩家盔甲损坏 |
CodeBuilderPacket |
150 | 代码构建器 |
UpdatePlayerGameType |
151 | 更新玩家游戏类型 |
EmoteList |
152 | 表情列表 |
PositionTrackingDBServerBroadcast |
153 | 位置追踪DB服务端广播 |
PositionTrackingDBClientRequest |
154 | 位置追踪DB客户端请求 |
DebugInfoPacket |
155 | 调试信息 |
PacketViolationWarning |
156 | 数据包违禁警告 |
MotionPredictionHints |
157 | 运动预测提示 |
TriggerAnimation |
158 | 触发器动画 |
CameraShake |
159 | 相机抖动 |
PlayerFogSetting |
160 | 玩家迷雾设置 |
CorrectPlayerMovePredictionPacket |
161 | 纠正玩家移动预测 |
ItemComponentPacket |
162 | 物品组件 |
FilterTextPacket_DEPRECATED |
163 | 过滤器文本,已弃用 |
ClientBoundDebugRendererPacket |
164 | 客户端边界调试渲染器 |
SyncActorProperty |
165 | 同步活动对象属性 |
AddVolumeEntityPacket |
166 | 添加功能域实体 |
RemoveVolumeEntityPacket |
167 | 移除功能域实体 |
SimulationTypePacket |
168 | 模拟类型 |
NpcDialoguePacket |
169 | NPC对话 |
EduUriResourcePacket |
170 | 教育URI资源 |
CreatePhotoPacket |
171 | 创建照片 |
UpdateSubChunkBlocks |
172 | 更新子区块方块 |
PhotoInfoRequest_DEPRECATED |
173 | 照片信息请求,已弃用 |
SubChunkPacket |
174 | 子区块 |
SubChunkRequestPacket |
175 | 子区块请求 |
PlayerStartItemCooldown |
176 | 玩家开始物品冷却 |
ScriptMessagePacket |
177 | 脚本消息 |
CodeBuilderSourcePacket |
178 | 代码构建器源码 |
TickingAreasLoadStatus |
179 | 常加载区域加载 |
DimensionDataPacket |
180 | 维度数据 |
AgentAction |
181 | 智能体操作 |
ChangeMobProperty |
182 | 变更生物属性 |
LessonProgressPacket |
183 | 课程进度 |
RequestAbilityPacket |
184 | 请求能力 |
RequestPermissionsPacket |
185 | 请求权限 |
ToastRequest |
186 | 吐司 |
UpdateAbilitiesPacket |
187 | 更新能力 |
UpdateAdventureSettingsPacket |
188 | 更新冒险设置 |
DeathInfo |
189 | 死亡信息 |
EditorNetworkPacket |
190 | 编辑器网络 |
FeatureRegistryPacket |
191 | 地物注册器 |
ServerStats |
192 | 服务端状态 |
RequestNetworkSettings |
193 | 请求网络设置 |
GameTestRequestPacket |
194 | GameTest请求 |
GameTestResultsPacket |
195 | GameTest结果 |
PlayerClientInputPermissions |
196 | 玩家客户端输入权限 |
ClientCheatAbilityPacket_Deprecated |
197 | 客户端作弊能力,已弃用 |
CameraPresets |
198 | 相机预设 |
UnlockedRecipes |
199 | 解锁配方 |
CameraInstruction |
300 | 相机指令 |
CompressedBiomeDefinitionList |
301 | 压缩生物群系定义列表 |
TrimData |
302 | 纹饰数据 |
OpenSign |
303 | 打开告示牌 |
AgentAnimation |
304 | 智能体动画 |
RefreshEntitlementsPacket |
305 | 刷新权益 |
PlayerToggleCrafterSlotRequestPacket |
306 | 玩家切换合成器槽位请求 |
SetPlayerInventoryOptions |
307 | 设置玩家物品栏选项 |
SetHudPacket |
308 | 设置HUD |